.sidebar-dark .sidebar .sidebar-header {
    border-top-right-radius: 30px;
    background: #000435;
}

.sidebar-dark .sidebar .sidebar-body {
    border-bottom-right-radius: 30px;
    background: #000435;
}

.sidebar-dark .sidebar .sidebar-body .nav .nav-item:hover .nav-link .link-title,
.sidebar-dark
    .sidebar
    .sidebar-body
    .nav
    .nav-item.active
    .nav-link
    .link-title {
    color: #12b9ea;
    font-weight: 600;
    font-size: 16px;
}

.sidebar-dark .sidebar .sidebar-body .nav .nav-item:hover .nav-link svg,
.sidebar-dark .sidebar .sidebar-body .nav .nav-item.active .nav-link svg {
    fill: rgb(17 185 234 / 20%);
}

.sidebar .sidebar-body .nav .nav-item:hover .nav-link .link-icon,
.sidebar .sidebar-body .nav .nav-item.active .nav-link .link-icon {
    color: #12b9ea;
}

.sidebar .sidebar-body .nav .nav-item .nav-link .link-title {
    font-size: 16px;
    text-wrap: auto;
}

.sidebar-dark .sidebar .sidebar-body .nav .nav-item .nav-link {
    color: #fff;
    padding: 25px 0;
    border-bottom: 1px solid #ffffff4d;
    white-space: normal;
}
.sidebar .sidebar-body .nav {
    padding-right: 0;
    /* justify-content: space-between; */
    /* height: 100%; */
}

.sidebar .sidebar-body .nav .nav-item .nav-link .link-arrow {
    margin-right: 20px;
}

.overflow-hidden {
    overflow: auto !important;
}

.sidebar .sidebar-body .nav .nav-item .nav-link .link-arrow {
    transform: rotate(-90deg);
}
.sidebar-dark .sidebar .sidebar-body .nav .nav-item:last-child .nav-link {
    border: none;
}

.sidebar .sidebar-body .nav .nav-item {
    /* display: contents; */
    /* list-style: none; */
}

.page-wrapper .navbar {
    position: unset;
    width: 96%;
    margin: auto;
}

.main-wrapper .page-wrapper .page-content {
    margin-top: 0;
}

.before-nav {
    background: #ffffff;
    width: 96%;
    margin: 25px auto 25px auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 0 15px;
    height: 90px;
    box-shadow: 3px 0 10px 0 rgba(183, 192, 206, 0.2);
}

.welcome-section {
    border-radius: 10px;
    background: #01508e;
    height: 190px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("/assets/images/lms-imgs/wc-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    margin-bottom: 25px;
}

.welcome-section h2 {
    text-align: center;
}

a.admin-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-toptabs-inner {
    background: #ffffff;
    padding: 25px 20px;
    margin-bottom: 25px;
    box-shadow: 0 0 10px 0 rgba(183, 192, 206, 0.2);
}

.dash-toptabs-inner .dash-heading {
    margin-bottom: 20px;
}

.tab-img {
    text-align: right;
}

.row.tab-numbers {
    align-items: end;
}

#myCalendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

.calendar-day {
    border: 1px solid #eee;
    min-height: 80px;
    padding: 5px;
    position: relative;
}

.calendar-day .event {
    background: #007bff;
    color: white;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 3px;
    margin-top: 4px;
}

.calendar-header {
    font-weight: bold;
    text-align: center;
}

.notices-list.flex-grow-1.overflow-auto.mb-3 {
    height: 500px !important;
}

.sidebar-header {
    justify-content: right !important;
}
.sidebar
    .sidebar-body
    .nav
    .nav-item
    ul.nav.sub-menu
    li.nav-item
    a.nav-link::before {
    display: none;
}

li.nav-item.nav-category.nav-heading {
    font-size: 15px !important;
    margin-top: 45px !important;
}

.sidebar .sidebar-body .nav.sub-menu {
    flex-direction: column;
}

.login-left-side img {
    width: 100% !important;
}

.col-md-6.pe-md-0.login-left-side .auth-side-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 26px;
}

.col-md-6.ps-md-0.login-right-side .auth-form-wrapper.px-4.py-5 {
    background: radial-gradient(circle at center, #4d75a4 0%, #0a3261 98%);
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card.login-box-cont {
    min-height: 600px;
    border: 0;
}

.col-md-6.pe-md-0.login-left-side {
    height: 600px;
}

.col-md-6.ps-md-0.login-right-side {
    height: 600px !important;
}
.col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample
    label {
    color: #fff;
}

.col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample {
    width: 85%;
}
.col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample
    .login-btn {
    width: 100%;
}
.col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample
    h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.page-content.d-flex.align-items-center.justify-content-center.login-bg {
    position: relative;
    background-image: url(/assets/images/lms-imgs/login-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

.page-content.login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: -1;
}
h5.text-muted.fw-normal.mb-4.signup-text {
    position: absolute;
    top: 50px;
    left: 0;
    background: #11498c;
    color: #fff !important;
    padding: 10px;
}
button.btn.position-absolute.top-50.end-0.translate-middle-y.me-2.border-0.bg-transparent.p-0.eye-btn {
    top: 48px !important;
}
.login-box-cont
    .col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample
    input[type="email"],
.login-box-cont
    .col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample
    input[type="password"],
.login-box-cont
    .col-md-6.ps-md-0.login-right-side
    .auth-form-wrapper.px-4.py-5
    form.forms-sample
    input[type="text"] {
    background: #404f86;
    border: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
}
button.btn.position-absolute.top-50.end-0.translate-middle-y.me-2.border-0.bg-transparent.p-0.eye-btn
    i {
    color: #fff !important;
    font-size: 13px;
}
.welcome-section.register-page {
    margin: 24px;
}
.before-nav.register-page {
    box-shadow: 0 0 14px 12px rgba(183, 192, 206, 0.2);
}
.row.btn-con {
    justify-content: start;
    text-align: left;
}
.table td img.tumb-profile-img {
    object-fit: cover;
    object-position: top;
}
.befroe-table-heading.d-flex.justify-content-between {
    margin-bottom: 25px;
    padding: 0 7px;
}
span.traine-name {
    margin-left: 3px;
}
.before-content-heading .name-image img.tumb-profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-right: 10px;
}
.before-content-heading {
    margin-bottom: 25px;
    padding: 0 7px;
}
.before-content-heading .ctabtns {
    gap: 10px;
}
.card-heading .icon-size {
    font-size: 10px !important;
    width: 15px;
}
.bar-progress {
    margin-top: 15px;
}

.bar-progress p {
    margin-bottom: 5px;
}

.card.examp-card .card-body,
.timetale-card .card-body {
    min-height: 332.75px;
}
.chart-display {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
canvas#doughnutChart {
    height: 350px !important;
    width: 350px !important;
}

.attendacne-card .card-body,
.observation-card .card-body,
.feedback-card .card-body {
    min-height: 442px;
}
.feedback-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card.dash-link-box a {
    color: #000;
}

.card.dash-link-box a:hover {
    background: #3473a5;
    color: #fff;
}

.card.dash-link-box a:hover img {
    filter: brightness(10);
}
.col-3.memo-wrapper .card .card-body a {
    text-align: right;
    float: right;
    margin-top: 20px;
}

.col-3.memo-wrapper .card .card-body a svg {
    width: 17px;
}

div#fullcalendar.just-cale {
    height: 436px;
}

.card.trainee-list .card-body .list table.table tbody td {
    display: flex;
    align-items: center;
}

.card.trainee-list .card-body .list table.table tbody td .trainee-img {
    position: relative;
}

.card.trainee-list
    .card-body
    .list
    table.table
    tbody
    td
    .trainee-img
    .online-status {
    position: absolute;
    width: 10px;
    height: 10px;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

.card.trainee-list .card-body .list {
    height: 45em;
    overflow: auto;
    margin-top: 20px;
}
.page-wrapper.archive-dash {
    width: 100%;
    margin: 0 100px;
}

.batch-box {
    border: 1px solid #e1e1e1;
    height: 126px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 30px;
    color: #000;
}

.batch-box .b-image.text-center {
    position: absolute;
    top: -40px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #e1e1e1;
}
.batch-box .b-details.text-center {
    padding-top: 35px;
}

.toggle-content {
    display: none;
    transition: all 0.3s ease-in-out;
}
.toggle-content.show {
    display: block;
}

.eva-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.eva-btn a {
    width: 40%;
}

.tab-img i {
    font-size: 33px;
    line-height: 50px;
    color: #12b9ea;
}

.col-4.circile-w-border-wrap.d-flex.justify-content-center.align-items-center
    .circle-box {
    background: #12b9ea;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.col-4.circile-w-border-wrap.d-flex.justify-content-center.align-items-center
    .circle-box:before {
    content: "";
    width: 217px;
    height: 217px;
    position: absolute;
    border: 5px solid #276bba;
    border-radius: 50%;
}

.col-4.circile-w-border-wrap.d-flex.justify-content-center.align-items-center
    .circle-box:after {
    content: "";
    width: 230px;
    height: 230px;
    position: absolute;
    border-radius: 50%;
    border: 3px dashed #12b9ea;
}
.row.justify-content-center.circile-box-container {
    width: 1000px;
    margin: auto;
    margin-bottom: 85px;
    margin-top: 85px;
}
.memo-wrapper .card-body p {
    padding-top: 15px;
}
.col-4.circile-w-border-wrap.d-flex.justify-content-center.align-items-center
    .circle-box
    .circile-box-content
    h4 {
    border-bottom: 2px solid;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 14px;
}

.peer-rating {
    background-color: white;
    border: 2px solid #00aaff;
    padding: 20px;
    border-radius: 10px;
}
.criteria {
    margin-top: 20px;
}
.button {
    margin: 10px 0;
    padding: 10px 20px;
    border: none;
    background-color: #00aaff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
.col-6.criteria-wrapper .row.rating-box table.table tbody tr td {
    padding: 0 13px;
    border-bottom: none;
}
.col-6.criteria-wrapper .row.rating-box table.table tbody tr td img {
    height: 100%;
    width: 51%;
}
.col-6.peer-rating-wrapper.stretch-card {
    flex-direction: column;
    width: 33%;
}

.row.rating-contrainer {
    justify-content: space-around;
}

.col-6.criteria-wrapper.stretch-card {
    flex-direction: column;
    width: 33%;
}
.row.rating-box {
    border: 1px solid #d1cccc;
    height: 100%;
    padding: 24px;
    margin-top: 20px;
}
.comment-box-con > * {
    width: 100%;
}

.comment-box-con {
    width: 85%;
    margin-top: 20px;
}

.comment-box-con textarea {
    border: none;
    border-bottom: 1px solid #d1cccc;
    margin-top: 20px;
}
.row.commnet-btns .col-2 a.btn.btn-primary {
    width: 100%;
}

.row.commnet-btns {
    width: 87%;
    margin-top: 20px;
}

a#profileDropdown img.wd-30.ht-30.rounded-circle {
    object-fit: cover;
    object-position: top;
}

.status-badge {
    display: inline-block;
    color: #000 !important;
    padding: 1px 6px;
    border-radius: 5px;
}

.badge-active {
    background: #79dfc1 !important;
}

.badge-inactive {
    background: #ea868f !important;
}

.badge-pending {
    background: #ffda6a !important;
}

.left-sec.d-flex.align-items-center {
    gap: 10px;
}

.left-sec.d-flex.align-items-center .icon i {
    background: red;
    padding: 13px;
    border-radius: 50%;
    font-size: 17px;
    color: #fff;
}

.attendance-bar {
    max-width: 100%;
    position: relative;
    height: 40px;
}

.attendance-track {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    margin-top: 14px;
}

.attendance-fill {
    position: absolute;
    height: 6px;
    background-color: #0d6efd;
    border-radius: 4px;
    z-index: 1;
}

.attendance-dot {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #999999;
    /* border: 3px solid #0d6efd; */
    z-index: 2;
}

.discipline-eval-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.discipline-eval-table th {
    background-color: #005b82;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.discipline-eval-table td {
    padding: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.discipline-eval-table tr td:first-child {
    text-align: left;
    background-color: #d3e4ec;
    font-weight: bold;
}

.discipline-eval-radio {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.discipline-eval-radio:checked::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #005b82;
    border-radius: 50%;
}

tr.light-color-row th {
    background: #d4e4ec !important;
    border-bottom: 2px solid #f0f0f0;
    border-top: 2px solid #f0f0f0;
    color: #000;
}

span.mem-count {
    background: #fff;
    color: #000;
    border-radius: 50%;
    padding: 5px;
}

.rating-circle input[type="radio"] {
    display: none;
}
.rating-circle label {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 33px;
    text-align: center;
    border-radius: 50%;
    margin: 2px;
    background: #f1f1f1;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.rating-circle input[type="radio"]:checked + label {
    background-color: #0dcaf0;
    color: #fff;
    font-weight: bold;
}

/* Custom styling for the synopsis popup */
.synopsis-popup-modal .modal-content {
    border: 2px solid #0dcaf0;
    box-shadow: 0 0 20px rgba(13, 202, 240, 0.3);
    border-radius: 10px;
}

.synopsis-popup-modal .modal-header {
    background-color: #e7f9fc;
}

.synopsis-popup-modal .modal-body {
    font-size: 15px;
    line-height: 1.6;
}
/* Customize modal width */
.custom-synopsis-width {
    max-width: 70%; /* or use: 1000px */
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #f44336; /* Red for inactive */
    border-radius: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.custom-switch input:checked + .slider {
    background-color: #4caf50; /* Green for active */
}

.custom-switch input:checked + .slider::before {
    transform: translateX(20px);
}

/* Make Select2 match Bootstrap 5 .form-select size */
.select2-container--default .select2-selection--single {
    height: 38px; /* match .form-select default */
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    padding-left: 0.75rem;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 8px;
}

.select2-container {
    width: 100% !important;
}

table.dataTable {
    border-collapse: collapse !important;
}

table.dataTable td {
    vertical-align: middle; /* or 'top' or 'bottom' */
}

.module-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 10px;
}

.module-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #002f5a;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 15px;
    text-align: center;
}

.module-circle::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 210px;
    height: 210px;
    border: 2px dashed #004080;
    border-radius: 50%;
    z-index: 1;
}

.module-circle::after {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    width: 195px;
    height: 195px;
    border: 3px solid #004080;
    border-radius: 50%;
    z-index: 1;
}

.module-inner h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.module-inner p {
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 576px) {
    .module-circle {
        width: 140px;
        height: 140px;
    }

    .module-circle::before {
        width: 160px;
        height: 160px;
        top: -10px;
        left: -10px;
    }

    .module-inner h5 {
        font-size: 0.9rem;
    }

    .module-inner p {
        font-size: 0.75rem;
    }
}

.module-hover-wrapper {
    position: relative;
}

.module-actions {
    position: absolute;
    top: 0px;
    left: 15px;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.module-hover-wrapper:hover .module-actions {
    opacity: 1;
}

.file-icon-wrapper {
    background: #f9f9f9;
    transition: box-shadow 0.3s ease;
    min-height: 150px;
}

.file-icon-wrapper:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.file-name {
    word-wrap: break-word;
}

.file-desc {
    font-size: 12px;
}

svg.icon-lg {
    width: 27px;
    height: 27px;
}

.rating-circle input[type="radio"] {
    display: none;
}

.rating-circle label {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 33px;
    text-align: center;
    border-radius: 50%;
    margin: 2px;
    background: #f1f1f1;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.rating-circle input[type="radio"]:checked + label {
    background-color: #0dcaf0;
    color: #fff;
    font-weight: bold;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 120px;
    animation: fadeLogo 1.8s ease-in-out infinite;
}

@keyframes fadeLogo {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

body.loaded .loader-wrapper {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Default gray background */
.custom-switch .slider {
    background-color: #ccc;
    transition: 0.4s;
}

/* Active → green */
.custom-switch input:checked + .slider {
    background-color: #28a745; /* Green */
}

/* Inactive → red */
.custom-switch .slider-inactive {
    background-color: #dc3545 !important; /* Bootstrap red */
}

/* Last active principal → gray */
.custom-switch .slider-disabled {
    background-color: #6c757d !important; /* Bootstrap gray */
    cursor: not-allowed;
    opacity: 0.7;
}

/* PDF From View */
#review-section h5 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}
#review-section table {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #000;
}
#review-section th,
#review-section td {
    border: 1px solid #000;
    padding: 6px 10px;
    font-size: 14px;
}
#review-section th {
    background: #f8f8f8;
}

/* Force autofilled input to match theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #212529 inset !important; /* dark bg */
    -webkit-text-fill-color: #fff !important; /* white text */
    caret-color: #fff !important; /* white caret */
}

/* Always keep eye icon white */
button.eye-btn i {
    color: #fff !important;
    font-size: 13px;
}
