* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-color: #154360;
    --card-bg: #d0d3d4;
}

.header.navbar .navbar-brand img {
    margin-left: 20px;
    margin-top: 10px;
    height: auto;
    width: 20rem;
    vertical-align: middle;
    object-fit: contain;
}

.navbar-brand {
    padding: 0;
}


ul.page-sidebar-menu > li > a {
    color: red !important;
}

.header {
    background-color: gray !important;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px !important;
    /* border: 2px solid black !important; */
}


ul.page-sidebar-menu > li.active > a {
    background-color: #eee !important;
    color: red;
}

    ul.page-sidebar-menu > li.active > a i {
        color: #000;
    }

    ul.page-sidebar-menu > li.active > a .arrow:before, ul.page-sidebar-menu > li.active > a .arrow.open:before {
        color: #000 !important;
    }

/*body {
    background-color: #fff !important;
}*/

.page-sidebar-menu > li.active > a .selected {
    display: none;
}

/*.page-sidebar {
    display: inline-block;
    height: max-content;
    background-color: #fff;
    border-right: 2px solid #eee;*/
/* border: 2px solid black;  */
/*}*/

.boxes {
    /*    margin-left: 10px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* border: 2px solid black; */
}

.box {
    /* border-radius: 12px; */
    width: calc(100% / 4 - 10px);
    border-radius: 12px !important;
    border: 2px solid var(--text-color);
    overflow: hidden !important;
}

.boxes .box .details {
    position: relative !important;
    /* display: flex !important; */
    /* flex-direction: column !important; */
    white-space: nowrap;
    font-size: 18px;
    font-weight: 500;
    /* color: var(--text-color); */
    color: var(--text-color);
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.boxes .box .visual i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 20px !important;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color) !important;
    /* border: 2px solid black; */
}

.dashboard-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--card-bg) !important;
    /* transition; */
    overflow: hidden;
    /* border: 2px dotted black; */
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

    .dashboard-stat .visual {
        display: flex;
        align-items: center;
        justify-content: center;
        /* border: 2px solid black; */
        width: 40px !important;
        height: 40px !important;
        overflow: hidden;
        margin: 0 !important;
        padding: 0 !important;
        /* background-color: #f5f5f5;  */
    }

.details .number {
    /* border: 2px solid black; */
    width: 100%;
    text-align: center !important;
    color: var(--text-color) !important;
    line-height: 16px !important;
    font-size: 30px !important;
    font-weight: 500 !important;
}

.details .desc {
    color: var(--text-color) !important;
    text-align: center !important;
}

.dashboard-stat .more {
    display: none;
}



/*login page css styles*/
.panel {
    height: fit-content;
    /*    border: 2px solid black;*/
}

.slides-container {
    height: 100%;
    width: 100%;
}

    .slides-container img {
        width: 100%;
        height: 350px; /* Set a fixed height for the images */
        object-fit: cover; /* Ensures the image covers the area without distortion */
        vertical-align: middle;
    }

.mySlides {
    display: none;
    object-fit: contain;
}

.slideshow-container {
    /* max-width: 400px; */
    width: 100%;
    position: relative;
    margin: auto;
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    display: none;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fadeX {
    animation-name: fade;
    animation-duration: 1.5s;
}

.dot-container {
    /* position: absolute; */
    border: 2px solid black;
}

@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}




/*Main  Page styles*/


.main-pg .navbar {
    width: 100%;
    /* background-color: #333; */
    background-color: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.main-pg .navbar-logo {
    /* color: #fff; */
    font-size: 1.5rem;
    font-weight: 700;
    padding-left: 20px;
    text-transform: uppercase;
}

    .main-pg .navbar-logo img {
        width: 18rem;
        height: auto;
        vertical-align: middle;
    }

.main-pg .navbar-links {
    padding-right: 20px;
}

    .main-pg .navbar-links a {
        color: #fff;
        text-decoration: none;
        margin-left: 20px;
        font-size: 1.1rem;
        transition: color 0.3s;
    }

.navbar-links a:hover {
    color: #f0c14b;
}

.main-pg .container {
    margin-top: 60px; /* to avoid content overlap with the navbar */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.main-pg .card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 150px;
    height: 200px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    cursor: pointer;
    color: #333;
}

    .main-pg .card:hover {
        transform: translateY(-10px);
    }

.main-pg .card-icon {
    font-size: 4rem;
    margin-top: 40px;
    color: #3a6186;
}

.main-pg .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: #333;
}

.main-pg .card-description {
    font-size: 1rem;
    padding: 0 15px;
    color: #666;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    .main-pg .card {
        width: 200px;
        height: 250px;
    }

    .main-pg .card-icon {
        font-size: 3rem;
    }

    .main-pg .card-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .main-pg .container {
        flex-direction: column;
        align-items: center;
    }

    .main-pg .card {
        width: 80%;
        height: 200px;
    }

    .main-pg .card-title {
        font-size: 1rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .main-pg .navbar-links a {
        font-size: 0.9rem;
        margin-left: 10px;
    }
}


/*creds Page*/
.creds-pg .container {
    background-color: white;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.creds-pg .input-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.creds-pg label {
    font-weight: bold;
    margin-bottom: 5px;
}

.creds-pg input[type="text"], select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

    .creds-pg input[type="text"]:focus,
    select:focus {
        outline: none;
        border-color: #007bff;
    }

.creds-pg .multiselect label {
    font-size: 0.8rem;
}

.creds-pg .d-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .creds-pg .d-row .input-box {
        width: 100%;
        font-size: 0.8rem !important;
    }

.creds-pg .selected-options-container {
    display: flex;
    flex-direction: column;
    max-height: 100px;
    overflow-y: auto;
    padding: 5px;
}

.creds-pg .selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 5px;
}

.creds-pg .btn-i {
    border: none;
    background-color: transparent;
    font-size: 15px;
    cursor: pointer;
}

.creds-pg .access-additional-detail {
    margin-top: 15px;
}

/* Multiselect styles */
.creds-pg .multiselect-container {
    position: relative;
    width: 100%;
}

.creds-pg .multiselect-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

    .creds-pg .multiselect-header span {
        font-size: 14px;
        color: #333;
    }

.creds-pg .arrow {
    width: 8px;
    height: 8px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}

.creds-pg .options-container {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.creds-pg .option {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .creds-pg .option:hover {
        background-color: #f1f1f1;
    }

    .creds-pg .option input[type="checkbox"] {
        margin-right: 10px;
    }

.creds-pg .option-label {
    font-size: 14px;
}

/* Scrollbar styles */
.creds-pg .selected-options-container::-webkit-scrollbar {
    width: 6px;
}

.creds-pg .selected-options-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.creds-pg .selected-options-container::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

    .creds-pg .selected-options-container::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

@media screen and (max-width: 768px) {
    .creds-pg .d-row {
        flex-direction: column;
    }

    .creds-pg .container {
        width: 90%;
    }
}

.creds-pg .page-heading {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
    /* font-family: 'Arial', sans-serif; */
    letter-spacing: 1px;
}

/* Form Container Style */
.creds-pg .form-container {
    display: flex;
    flex-direction: column;
}

    /* Input Fields and Select Box */
    .creds-pg .form-container input,
    .creds-pg .form-container select {
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1rem;
        width: 100%;
    }

/* Button Style */
.creds-pg .save-btn {
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s;
}

    /* Button Hover Effect */
    .creds-pg .save-btn:hover {
        background-color: #45a049;
        transform: translateY(-2px);
    }

/* Notification Styling */
.creds-pg .notifications {
    margin-top: 20px;
    padding: 10px;
    font-size: 1rem;
    color: red;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .creds-pg .container {
        width: 90%;
        padding: 15px;
    }
}

.creds-pg .blk {
    /* border: 2px solid black; */
    margin-top: 10px;
    border-top: 2px dashed #eee;
    padding-top: 10px;
}

.creds-pg .nested-blk {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    overflow: hidden;
    overflow-x: auto;
    /* border: 2px solid black; */
}

.creds-pg #nested-blk {
    margin: 10px;
    border: 2px solid black;
}

.creds-pg .d-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.creds-pg .d-col {
    border-top: 1px dashed black;
    width: 100%;
    height: max-content;
    /* justify-content: center; */
    /* align-items:center; */
}

.creds-pg .x {
    background-color: transparent;
    height: fit-content;
    width: fit-content;
    padding: 5px;
    margin: auto 0;
    border: none;
    text-align: center;
}

.creds-pg .compact-btn {
    padding: 6px 12px; /* Less height with compact padding */
    font-size: 14px; /* Professional font size */
    border: 1px solid #007bff; /* Border color matching the button color */
    background-color: #007bff; /* Professional blue color */
    color: white; /* White text */
    border-radius: 4px; /* Slightly rounded corners for a modern look */
    cursor: pointer; /* Pointer cursor on hover */
    font-family: 'Arial', sans-serif; /* Clean font */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth hover transition */
}

    .creds-pg .compact-btn:hover {
        background-color: #0056b3; /* Darker shade of blue on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
    }

    .creds-pg .compact-btn:active {
        background-color: #004080; /* Even darker on click */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduced shadow when clicked */
    }
