/* Header Nav */

.tgbtn {
    display: none;
    background-color: white;
    color: white;
}

.logo img {
    width: 165px;
}

body a {
    text-decoration: none;
}

.header {
    width: 100% !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 55px;
    background-color: #11121a;
    box-shadow:
        rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
        rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.header button img {
    width: 43px;
}

/* #sidebar, .header {
  transition: background-color 0.3s ease;
} */

.flex {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.dropdown-header {
    margin-right: 10px;
}

.profile-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: black;
    display: flex;
    /* flex-direction: column; */
}

.profile-toggle span {
    font-size: 13px;
    line-height: 17px;
    color: white;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    margin-right: 10px;
}

.arr {
    width: 12px;
    margin-left: 30px;
}

.dropdown-menu {
    position: absolute;
    top: 55px;
    right: 0;
    width: 300px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    z-index: 1000;
    display: none;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
}

.section {
    padding: 10px;
    border-bottom: 1px solid gainsboro;
}

.color-palette {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.txt-pallete {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.color {
    width: 27px;
    height: 27px;
    border-radius: 2px;
    cursor: pointer;
}

.txt-color {
    width: 31px !important;
    height: 31px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.links a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.f-badge {
    background-color: #d50000;
    color: white;
    padding: 2px 5px;
    border-radius: 100%;
    font-size: 12px;
    margin-left: 20px;
}

.dis-none {
    display: none !important;
}

.p1 {
    margin-bottom: 0px !important;
}

.two-in-one {
    display: flex;
    gap: 40px;
    align-items: center;
}

.message-forum-wrap {
    display: flex;
    gap: 40px;
    padding: 2px;
}

.icon-container {
    position: relative;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -11px;
    right: -14px;
    background-color: #d50000;
    color: white;
    border-radius: 50%;
    padding: 0px 8px;
    font-size: 12px;
    font-weight: bold;
}

.custom-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-search-input {
    width: 0;
    opacity: 0;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    transition:
        width 0.4s ease,
        opacity 0.4s ease;
    position: absolute;
    right: 30px;
    background-color: white !important;
    /* space for icon */
}

.custom-search-wrapper.active .custom-search-input {
    width: 200px;
    opacity: 1;
    margin-right: 20px;
}

.custom-search-icon {
    font-size: 24px;
    cursor: pointer;
    color: white;
    position: relative;
    z-index: 2;
}

.divider {
    margin-left: 55px !important;
    position: relative;
    bottom: 20px;
    font-size: 13px;
    padding-bottom: 5px;
}

/* Header Nav Ends */

/* Scope all inside dropdown-menu to avoid clashes */
.dropdown-menu {
    background-color: white !important;
    border-radius: 10px !important;
    padding: 18px 20px !important;
    color: #e0e2ff !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    width: 280px !important;
}

/* Section spacing and subtle font improvements */
.dropdown-menu .section {
    margin-bottom: 22px !important;
}

.dropdown-menu .section h3 {
    margin-bottom: 6px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: black !important;
}

.dropdown-menu .section p,
.dropdown-menu .section p.p1 {
    margin: 0 !important;
    font-size: 18px !important;
    color: black !important;
    font-weight: 500;
    padding-bottom: 5px;
}

/* Color palette styling - small rounded squares */
.dropdown-menu .color-palette {
    margin-top: 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.dropdown-menu .color-palette .color {
    width: 31px !important;
    height: 31px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.dropdown-menu .color-palette .color:hover {
    color: #4a90e2 !important;
}

/* Links styling: block, padding, subtle hover */
.dropdown-menu .section.links a {
    margin-bottom: 10px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: black !important;
    font-weight: 600 !important;
    transition:
        background-color 0.3s ease,
        color 0.3s ease !important;
    position: relative !important;
}

.dropdown-menu .section.links a:hover {
    color: rgba(0, 0, 0, 0.548) !important;
}

/* Badge styling next to links */
.dropdown-menu .f-badge {
    background-color: #e94242 !important;
    color: black !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 12px !important;
    margin-left: 8px !important;
    position: relative !important;
    top: -1px !important;
}

/* Dashboard */
.dashboard-wrapper {
    width: 100%;
    padding-bottom: 30px;
    margin-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.mainHeading {
    font-size: 32px;
    font-weight: 600;
    padding-bottom: 20px;
}

.progress-activity-wrapper {
    /* display: flex; */
    /* border: 2px solid blue; */
    justify-content: space-between;
    gap: 30px;
    box-sizing: border-box;
}

.dash-learner-links {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.boxes-in-one-wrap {
    width: 100%;
    gap: 10px;
    border-radius: 8px;
    flex-wrap: wrap !important;
}

.breakdown-card {
    height: fit-content;
    border-radius: 20px;
    /* box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px; */
    padding: 30px 40px;
    text-align: center;
    background: #fff;
    box-shadow: 0px 1px 4px 0px rgba(130, 143, 163, 0.15);
    border-radius: 10px;
}

.breakdown-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: black;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    background: #f0f0f0;
    color: black;
    padding: 6px 12px;
    border-radius: 999px;
    border: 2px solid #d7d7d7;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.progress-bar {
    display: flex !important;
    height: 18px !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    background-color: #e0e0e0 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.bar-segment {
    height: 100%;
    transition: width 0.6s ease;
}

.unknown {
    background-color: #4f8ad4;
}

.on-target {
    background-color: #70bf73;
}

.overdue {
    background-color: #ffad33;
}

.at-risk {
    background-color: #f6695e;
}

@media (max-width: 500px) {
    .legend {
        align-items: center;
    }
}

.dflexcol {
    margin-top: 40px;
    border-radius: 20px;
    width: 100% !important;
    padding-bottom: 30px;
    padding-top: 30px;
    box-sizing: border-box !important;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); */
    /* box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px; */
    /* border: 1px solid gainsboro; */
}

.activity-feed {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
    border-radius: 20px;
    /* box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px; */
    /* padding: 1.2rem; */
}

.activity-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-left: 10px solid #11121a;
    border-top: 1.8px solid #11121a;
    border-bottom: 1.8px solid #11121a;
    border-right: 10px solid #11121a;
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 123, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 123, 255, 0.05);
    transition: width 0.3s ease;
    z-index: 0;
}

.activity-item:hover::before {
    width: 100%;
}

.activity-item:hover {
    background: #7c7c7c44408;
}

.activity-icon {
    background-color: #0080003d;
    color: green !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 1rem;
    flex-shrink: 0;
    z-index: 1;
    font-weight: 700;
}

.activity-text {
    flex: 1;
    z-index: 1;
}

.activity-title {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 3px;
    color: black;
}

.activity-time {
    font-size: 13px;
    color: #888;
}

.activity-feed button {
    background-color: #2196f3;
    font-family: "Josefin Sans", sans-serif;
    border: none;
    color: white;
    font-size: 15px;
    border-radius: 10px;
    padding: 0px 3px !important;
    cursor: pointer;
}

.mbot {
    margin-bottom: 0px;
    text-align: center;
}

@media (max-width: 500px) {
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 20px;
    }

    .activity-icon {
        margin-bottom: 0.5rem;
    }
}

.dash-link-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dark-card {
    width: 275px !important;
    border: 1.8px solid black;
    color: #fff;
    border-radius: 12px;
    display: flex;
    /* align-items: center; */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    gap: 1rem;
    padding: 1.5rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    border-left: 6px solid black;
    cursor: pointer;
    position: relative;
    margin-top: 30px;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.dark-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px 0px;
}

.tab-link {
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-link:hover {
    border-color: #111827;
    color: #111827;
}

.tab-link.active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}
.dark-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: absolute;
    bottom: 78px;
    right: 20px;
}

.dark-card-icon i {
    color: white !important;
}

.dark-card-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dark-card-count {
    font-size: 2.4rem;
    font-weight: 300;
    color: black;
}

.dark-card-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    margin-top: 15px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding-right: 40px;
    /* space for the icon */
}

.input-wrapper .toggle-password {
    position: absolute;
    top: 41%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

/* Dashboard Ends */

.form-wrapper {
    width: 100%;
}

.form-control {
    position: relative;
    margin: 20px 0;
    width: 50%;
}

.form-control input {
    border: 0;
    border-bottom: 2px solid #11121a;
    padding: 15px 0;
    display: block;
    font-size: 18px;
    width: 100%;
    transition: 0.1s ease-in;
    background-color: transparent !important;
}

.form-control input:focus,
.form-control input:valid {
    border-bottom-color: darksalmon;
    outline: none;
}

.form-control input:focus + label span,
.form-control input:valid + label span {
    color: darksalmon;
    transform: translateY(-30px);
}

.form-control label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(0, 0, 0, 0.514);
    font-size: 14px !important;
}

.form-control label span {
    display: inline-block;
    font-size: 18px;
    min-width: 5px;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

:root {
    --theme-color: black;
    /* fallback */
}

.form-control input:focus,
.form-control input:valid {
    border-bottom-color: var(--theme-color);
    outline: none;
}

.form-control input:focus + label span,
.form-control input:valid + label span {
    color: var(--theme-color);
    transform: translateY(-30px);
    font-weight: 600;
    font-size: 21px;
}

.tab-sec-wrapper {
    width: 100%;
    margin-top: 0;
}

.tab-container {
    width: 100%;
    position: relative;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    padding: 15px 10px;
}
@media (max-width: 991px) {
    .tab-container {
        padding-top: 0;
    }
    .tab-menu {
        display: none;
    }

    .mobile-menu-trigger {
        display: block;
    }

    .tab-content {
        padding: 16px;
    }
     .listing-top-tools,
    .task-top-tools,
    .qualification-top-tools,
    .report-top-tools,
    .resource-top-tools,
    .template-top-tools {
        justify-content: flex-start;
        margin-bottom: 18px;
    }
}
/* Desktop Tab Menu */
.tab-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 18px 28px;
    background: #fff;
}

.tab-menu li {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    border-right: 1px solid rgb(220, 220, 220);
}

.tab-menu li:last-child {
    border-right: none;
}

.tab-menu li:hover,
.tab-menu li.active {
    background-color: black;
    color: white;
    font-weight: bold;
    border-right: transparent;
}

/* Tab Content */
    



    .tab-content {
        display: none;
        padding: 12px 22px 22px;
        background: #fff;
    }

    .tab-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 .task-top-tools,.qualification-top-tools,.report-top-tools,.resource-top-tools,.template-top-tools, .listing-top-tools {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 42px;
    }

    
   


/* Mobile Dropdown Menu */

.mobile-menu-trigger {
    display: none;
    padding: 14px 18px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 1px solid #eef2f6;
    background: #fff;
}
  .mobile-tab-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 12px 18px;
        border-bottom: 1px solid #eef2f6;
        background: #fff;
    }

    .mobile-tab-menu.hidden {
        display: none;
    }

    .mobile-tab-menu.show {
        display: block;
    }

    .mobile-tab-menu .tab-link {
        display: block;
        width: 100%;
        margin-bottom: 8px;
        text-align: center;
    }
.mobile-tab-menu li {
    padding: 12px 16px;
    border-bottom: 1px solid #ccc;
    color: black;
    cursor: pointer;
}

.mobile-tab-menu li:hover {
    background-color: #e0e0e0;
    color: #000;
    font-weight: bold;
}

.mobile-tab-menu li:last-child {
    border-bottom: none;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .tab-menu {
        display: none !important;
    }

    .mobile-menu-trigger {
        display: block;
    }
}

.tab-menu {
    display: flex;
    list-style: none;
    padding: 0;
    color: black;
    margin: 0;
    background-color: rgba(220, 220, 220, 0.349);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    border-bottom: 3px solid var(--theme-color);
    /* changed */
}

.tab-menu li:hover,
.tab-menu li.active {
    background-color: var(--theme-color);
    /* changed */
    color: white;
    font-weight: bold;
    border-right: transparent;
}

table {
    border: 1px solid #000000;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    /* table-layout: fixed; */
}

table caption {
    font-size: 1.5em;
    margin: 0.5em 0 0.75em;
    color: black;
}

table tr {
    background-color: #f8f8f8;
    border: 1px solid #cfcfcf;
    padding: 0.35em;
}

table th,
table td {
    padding: 0.325em 15px;
    padding-top: 12px;
    padding-bottom: 12px;
    color: black;
    font-size: 15px;
}

table th {
    font-size: 0.85em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
}

@media screen and (max-width: 1100px) {
    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .tab-content {
        padding: 10px !important;
    }

    table tr {
        display: block;
        margin-bottom: 0.625em;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: 0.8em;
        text-align: right;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
    }
}

/* Diary section */
.diary-wrapper {
    width: 100%;
    /* border: 2px solid green; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.diary-left {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    /* border: 2px solid red; */
}

.diary-heading {
    background-color: black;
    color: white;
    height: fit-content;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 24px;
    font-size: 19px;
}

#calendar {
    min-width: 800px;
    /* Prevent it from collapsing on zoom */
    width: 100%;
}

.fc .fc-toolbar-title {
    color: black;
    font-size: 22px;
}

@media (max-width: 768px) {
    #calendar {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #calendar {
        font-size: 10px;
    }
}

.check-label-wrap {
    /* align-items: center; */
    text-align: start;
}

.check-label-wrap label {
    color: black;
    margin-left: 5px;
}

.dfhlex {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.custom-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.open-modal-btn {
    background-color: #000;
    color: white;
    width: 150px;
    padding: 10px 0px;
    border: none;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    font-family: "Josefin Sans", sans-serif;
}

.m-bold {
    font-weight: 600;
    font-size: 22px;
}

.form-control select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: transparent;
    color: #333;
    border-radius: 4px;
    outline: none;
    appearance: none;
    /* Removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    z-index: 1;
}

.form-control select:focus {
    border-color: #666;
    box-shadow: 0 0 3px rgba(100, 100, 100, 0.4);
}

.form-control select option {
    color: #333;
    background-color: #fff;
}

/* Optional: Add a down arrow using a pseudo element */
.form-control {
    position: relative;
}

.m-width {
    width: 100%;
}

.m-wrap-in-one {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mtop-m {
    margin-top: 20px;
}

.e {
    margin-bottom: 0px;
    padding: 0px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.m-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.m-btn-wrapper button {
    color: white;
    background-color: #000;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 15px 15px;
    border-radius: 5px;
}

/* Diary section Ends */

.opt-dropdown {
    position: relative;
    display: inline-block;
}

.opt-dropbtn {
    background-color: black;
    color: white;
    padding: 12px 18px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-family: "Josefin Sans", sans-serif;
}

.opt-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-radius: 4px;
    right: 1px;
    overflow: hidden;
}

.opt-dropdown-content a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    font-size: 14px;
}

.opt-dropdown-content a:hover {
    background-color: #f0f0f0;
}

.opt-show {
    display: block;
}

.profile-top-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

@media (max-width: 576px) {
    .profile-top-bar {
        align-items: stretch;
    }
}

.gcard-container {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    position: relative;
    transition: all 0.3s ease-in-out;
    border: 2px solid black;
}

.gcard-container {
    border: none;
    position: relative;
}

.gcard-logo-wrapper {
    text-align: center;
    margin-bottom: 18px;
}

.gcard-logo-wrapper img {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    object-fit: cover;
}

.gcard-contact-info {
    text-align: center;
    margin-bottom: 24px;
}

.gcard-contact-info p,
.gcard-contact-info a {
    color: #333 !important;
    font-size: 16px;
    margin: 5px 0;
    text-decoration: none;
    display: block;
}

.gcard-completion-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #7c7c7c;
    margin-bottom: 6px;
}

.gcard-completion-header span {
    color: #333 !important;
    font-size: 16px;
}

.gcard-progress-wrapper {
    margin-top: 12px;
}

.gcard-date-range {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

.gcard-date-range span {
    color: #333 !important;
    font-size: 15px;
}

.gcard-progress-bar {
    background-color: #e2e2e2;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.gcard-progress-fill {
    background: linear-gradient(to right, #28a745, #dc3545);
    width: 0%;
    height: 100%;
    transition: width 0.4s ease-in-out;
}

.gcard-info-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.uqb-container {
    background-color: #ffffff;
    padding: 12px;
    border-radius: 16px;
}

.uqb-question {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.uqb-progress-track {
    background-color: #e6e6e6;
    border-radius: 30px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.uqb-progress-fill {
    background-color: #2196f3;
    height: 100%;
    width: 65%;
    /* adjust this for your desired percentage */
    transition: width 0.4s ease;
    color: #fff;
    text-align: right;
    padding-right: 10px;
    line-height: 24px;
    font-weight: 500;
    border-radius: 30px 0 0 30px;
    box-sizing: border-box;
}

.caro {
    width: 100%;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cont-caro {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.caro-name {
    font-size: 32px;
    font-weight: 600;
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}

.caro-email {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0px !important;
}

.caro-number {
    font-size: 20px;
    font-weight: 500;
    margin-top: 0px !important;
}

.cont-caro img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 100px;
}

.accordion-container {
    width: 100%;
    /* margin: auto; */
    /* background-color: white; */
    /* padding: 1.5rem; */
    /* padding-left: 60px; */
    /* padding-right: 60px; */
    border-radius: 10px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    margin-top: 20px;
}

.accordion {
    background-color: white;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header img {
    width: 35px;
}

.accordion-header span img {
    margin-top: 10px;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.accordion-header .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    font-size: 0.95rem;
    color: #333;
}

.accordion-content ul {
    padding-left: 20px;
}

.accordion-content ul li {
    margin-bottom: 6px;
    list-style-type: disc !important;
    font-size: 18px;
    margin-left: 15px;
}

.acc-norm {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.accordion-content h4 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.accordion.open .accordion-content {
    display: block;
}

.accordion.open .arrow {
    transform: rotate(180deg);
}

.accordion-content p {
    font-size: 20px;
    color: black !important;
    text-shadow: unset !important;
}

.accordion-content p span {
    font-weight: 400 !important;
    padding-left: 4px;
}

.acc-head {
    margin-top: 25px;
    font-weight: 700 !important;
    padding-bottom: 5px;
}

.p36 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: black !important;
    text-shadow: unset !important;
}

.p24 {
    font-size: 24px !important;
    font-weight: 400 !important;
    color: black !important;
    text-shadow: unset !important;
    margin-top: 20px !important;
}

.grid-wrapper {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); */
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.card {
    border: 2px solid black;
    color: #000;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    border-left: 7px solid black;
    cursor: pointer;
    position: relative;
    margin-top: 30px;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

    /* Remove fixed width and let grid handle it */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
}

.mes-folder {
    background-color: black;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    position: relative;
}

/* Dropdown */
.custom-dropdown {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    margin-top: 5px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    right: 18px;
    margin-top: 40px;
}

.custom-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-dropdown-list li {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: black !important;
}

.custom-dropdown-list li:hover {
    background-color: #f0f0f0;
}

.hidden-dropdown {
    display: none;
}

/* Modal */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.hidden-modal {
    display: none;
}

.custom-modal-box {
    background-color: white;
    padding: 25px;
    width: 320px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.custom-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.custom-modal-title {
    margin-bottom: 15px;
    color: black !important;
}

.custom-folder-input {
    width: 100%;
    box-sizing: border-box;
}

.custom-create-btn {
    background-color: #11121a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.quill-wrapper {
        border: 1px solid #dbe3ec;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .quill-wrapper .ql-toolbar.ql-snow {
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        border: 0 !important;
        border-bottom: 1px solid #e5e7eb !important;
        background: #f8fafc !important;
        border-radius: 14px 14px 0 0 !important;
        padding: 10px 14px;
    }

    .quill-wrapper .ql-toolbar.ql-snow::after {
        display: none;
    }

    .quill-wrapper .ql-container.ql-snow {
        border: 0 !important;
        background: #fff !important;
        border-radius: 0 0 14px 14px !important;
        min-height: 250px;
    }

    .quill-wrapper .ql-editor {
        min-height: 250px;
        padding: 18px;
        font-size: 14px;
        line-height: 1.7;
        color: #111827;
    }
.pagination {
    display: inline-block;
    margin-top: 20px;
}

.pagination .page-link {
    color: black;
    float: left;
    text-decoration: none;
    border-radius: 100%;
}

.pagination a.active {
    background-color: #000000;
    color: white;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

/* Unique Modal background */
.assessment-popup {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Unique Modal content */
.assessment-box {
    background: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 70%;
    max-width: 800px;
    color: black;
}

.popup-close-btn {
    color: #000000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.assessment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.assessment-counter {
    display: flex;
    align-items: center;
    gap: 5px;
}

.assessment-value {
    min-width: 20px;
    text-align: center;
}

.assessment-btn {
    border: none;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.assessment-btn:hover {
    background: #0056b3;
}

/* Unique Modal Background */
.info-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    color: black !important;
}

/* Modal Content */
.info-modal-content {
    background: #fff;
    padding: 20px;
    width: 40%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    border: 2px solid black;
}

/* Close Button */
.info-close {
    position: absolute;
    top: 25px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Tabs */
.info-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}

.info-tabs button {
    flex: 1;
    padding: 10px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
}

.info-tabs button.active {
    background: #000000;
    color: white;
}

.info-tab-content {
    display: none;
}

.info-tab-content.active {
    display: block;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Info Icon */
.gcard-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
}

.info-tab-content div {
    border-bottom: 1px solid gainsboro;
    background-color: rgba(220, 220, 220, 0.438);
    padding: 15px;
}

/* new css  */
#sidebar ul {
    padding: 0;
}

#sidebar a:hover {
    padding-left: 20px;
    color: #fff !important;
}

#sidebar :is(a, button) {
    transition: 300ms all;
    padding: 10px;
    font-size: 15px;
    color: #7a8ea7 !important;
}

#sidebar.close a {
    padding: 15px !important;
}

#sidebar svg {
    fill: #7a8ea7;
    scale: 0.8;
}

#sidebar a:hover svg {
    fill: #fff;
}

.header {
    background: #fff !important;
    padding-right: 20px;
}

.profile-toggle span {
    color: #717171 !important;
    font-size: 12px;
}

.profile-toggle span strong {
}

img.arr {
    filter: brightness(0.5);
    margin-left: 10px;
    display: none;
}

.avatar {
    border-radius: 100%;
    object-position: top;
    border: 1px solid #7c7c7c4;
}

.icon-container i {
    color: #6c757d;
}

.dropdown a {
    color: #6c757d;
    font-size: 20px;
}

span.badge {
    font-size: 10px;
    border-radius: 100%;
}

.badge {
    font-size: 10px !important;
    border-radius: 100% !important;
}

.custom-search-input {
    font-size: 14px;
}

#customSearchBox i {
    color: #6c757d !important;
    font-size: 19px;
}

.two-in-one {
    gap: 30px;
}

.mainHeading {
    padding: 0;
    margin: 0;
    font-size: 23px;
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
}

.breakdown-title {
    font-size: 25px;
    margin: 0;
    font-weight: 700;
}

.dflexcol {
    margin: 0;
}

.legend-item {
    font-size: 11px;
    border: none;
    padding: 0;
    font-size: 17px;
    background: transparent !important;
    border: none !important;
    margin: 10px 0;
}

.legend {
    margin: 10px 20px 20px;
    display: block;
}

.legend-item-unnown {
    background: #7c7c7c44414;
    border: 1px solid #0000005c;
    color: #4f8ad4;
}

.legend-item-onTarget {
    background: #0080001f;
    color: #70bf73;
    border: 1px solid green;
}

.legend-item-overdue {
    background: #ffa5001c;
    color: #ffad33;
    border: 1px solid orange;
}

.legend-item-at-risk {
    background: #ff000017;
    color: #f6695e;
    border: 1px solid red;
}

.progress-bar {
    flex-direction: row !important;
    border-radius: 0 !important;
    gap: 10px;
    background: transparent !important;
    box-shadow: none !important;
    height: 30px !important;
}

.bar-segment {
    border-radius: 5px;
}

.dark-card-icon {
    width: 50px;
    height: 50px;
    background: #dee9f7 !important;
    top: 20px;
    right: 20px;
}

.dark-card-icon i {
    color: rgb(35, 109, 201) !important;
}

.dark-card-details {
    width: 100%;
    height: 100%;
}

.card.activity-item {
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    transition: 600ms all !important;
    box-shadow: 0px 1px 4px 0px rgba(130, 143, 163, 0.15);
    margin: 0;
    z-index: 1;
    gap: 0;
}

.dark-card-label {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.dark-card-count {
    margin: 20px 0;
    font-size: 30px;
    font-weight: 500;
    color: #000;
}

.grid-wrapper a {
    width: 32.4%;
}

.grid-wrapper {
    flex-wrap: wrap;
    display: flex;
    gap: 8px;
    margin: 20px 0 0;
}

.card.activity-item:hover {
    transform: translate(0);
    box-shadow: none;
}

.smalCont {
    font-size: 14px;
    color: #000000 !important;
    width: fit-content;
    border-radius: 50px;
    font-weight: 600;
}

.activity-item::before {
    display: none;
}

body {
    background: #f6f7fb !important;
}

.card.activity-item:hover {
    scale: 1.03;
    background: #fff !important;
}

.card.activity-item span:nth-child(1) {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #7c7c7c4);
    animation: animate1 2s linear infinite;
}

@keyframes animate1 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.card.activity-item span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #7c7c7c4);
    animation: animate2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate2 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.card.activity-item span:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, transparent, #7c7c7c4);
    animation: animate3 2s linear infinite;
}

@keyframes animate3 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.card.activity-item span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to top, transparent, #7c7c7c4);
    animation: animate4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate4 {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.card.activity-item span {
    opacity: 0;
    visibility: hidden;
}

.card.activity-item:hover span {
    opacity: 1;
    visibility: visible;
}

.dash-learner-links {
    width: 100%;
}

.boxes-in-one-wrap {
    /* display: flex; */
    margin: 20px 0 0;
}

.dflexcol {
    width: 100% !important;
}

.card.activity-item svg {
    position: absolute;
    height: 224px;
    z-index: -1;
    width: 100%;
    bottom: 0;
    z-index: -1;
}

.dark-card-icon:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    inset: 0;
    background: #93c0fc;
    z-index: -1;
    border-radius: 100%;
    animation: circle 3s linear infinite;
}

.dark-card-icon:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    inset: 0;
    background: #93c0fc;
    z-index: -1;
    border-radius: 100%;
    animation: circle 3s linear infinite;
    animation-delay: 1.5s;
}

@keyframes circle {
    100% {
        scale: 1.6;
        opacity: 0;
    }
}

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    background: #eee;
    /* fallback */
    opacity: 0.8;
}

/* Inner hole */
.progress-circle::after {
    content: "";
    position: absolute;
    inset: 50px;
    /* change thickness here */
    background: #fff;
    border-radius: 50%;
}

/* Colors (you can change these) */
.bar-segment.unknown {
    --seg-color: #236dc9;
}

.bar-segment.on-target {
    --seg-color: #4caf50;
}

.bar-segment.overdue {
    --seg-color: #ff9800;
}

.bar-segment.at-risk {
    --seg-color: #f44336;
}

.act-wrap-in-one {
    display: flex;
    flex-direction: row !important;
    width: 100% !important;
    gap: 20px !important;
    margin: 30px 0 0;
}

.breakdown-card {
    width: 60%;
}

.legendMain {
    display: flex;
    align-items: center;
    margin: 20px 0 0;
}

div#progressBar {
    display: none !important;
}

.activity-item {
    border: none !important;
    border-bottom: 1px solid #7c7c7c4 !important;
    border-radius: 0;
    padding: 17.5px 20px;
    transition: 0ms all;
}

.activity-feed {
    gap: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 1px 4px 0px rgba(130, 143, 163, 0.15);
    overflow: hidden;
    margin: 0 0 20px;
}

.activityHead {
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    color: #000;
}

.dflexcol {
    padding: 20px 0 0;
}

.topHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #7c7c7c4
}

.topHead button {
    padding: 5px 9px 0px !important;
    font-size: 12px;
    border-radius: 50px;
}

.activity-time {
    width: fit-content;
    color: red;
    font-size: 12px;
    border-radius: 50px;
    padding: 2px 10px;
    background: #ff000012;
}

.activity-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-item:nth-last-child(1) {
    border: none;
}

.black-color .activity-item {
    border: 1px solid #5d5d5d44 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.black-color .activity-time {
    background: #7c7c7c4;
    color: black;
}

.black-color .activity-icon {
    background: #7c7c7c4;
    color: #000 !important;
}

.black-color .card.activity-item {
    filter: grayscale(1);
}

.black-color .dark-card-icon {
    background: #000 !important;
}

.black-color .dark-card-icon i {
    color: #fff !important;
}

.black-color .header {
    background: #000 !important;
}

li.tab-link {
    padding: 10px;
    /* flex: 0 0 10%; */
    border-radius: 50px;
    border: 1px solid #7c7c7c4 !important;
    font-size: 15px !important;
}

.tab-menu {
    justify-content: space-between;
    background: transparent !important;
    margin: 0 0 20px;
    border: none !important;
    gap: 12px;
}

.prog {
    background: #ff000040;
    color: red !important;
    border: 1px solid red;
    border-radius: 50px !important;
    padding: 0 !important;
    width: 60px !important;
    font-size: 14px;
    margin: 0 !important;
}

.pageBot {
    justify-content: end !important;
}

.pageBot div {
    gap: 20px !important;
}

.pageBot p {
    margin: 0 !important;
    font-size: 13px !important;
}

.pageBot .pagination {
    gap: 10px !important;
}

.pageBot .pagination .page-link {
    border-radius: 100% !important;
    padding: 0;
    width: 30px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-bottom {
    background: #fff;
    border-radius: 20px !important;
    border: 1px solid #7c7c7c4;
}

.pagination-bottom td {
    padding: 5px 20px;
    border-radius: 20px !important;
    border: 1px solid #7c7c7c4;
}

table tbody tr:nth-child(odd) {
    background: #7c7c7c44412 !important;
}

table tbody tr {
    background: transparent !important;
}

table {
    border-radius: 15px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border: none !important;
    border: 1px solid #7c7c7c4448f !important;
}

.graphSide {
    width: 68%;
    min-width: 0;
}

.graph-container {
    width: 100%;
    min-height: 430px;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dbe3ef;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.graph-container h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.graph-container canvas {
    width: 100% !important;
    height: 340px !important;
}

.graphSide {
    width: 68%;
}

.profMain {
    width: 32%;
    height: fit-content;
    position: sticky;
    top: 10px;
}

.profTopmain {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 35%;
}

@media (max-width: 1100px) {
    .profTopmain {
        flex-direction: column;
    }

    .profMain,
    .graphSide {
        width: 100%;
    }

    .profMain {
        position: static;
    }
}
.profMain .gcard-container:before {
    position: absolute;
    width: 100%;
    height: 36%;
    background: #000;
    content: "";
    inset: 0;
}

.profile-picture-section {
    padding: 0 0 10px !important;
}

.gcard-info-icon {
    background: #7c7c7c;
}

.caro {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
}

.caro:before {
    position: absolute;
    width: 100%;
    height: 40%;
    content: "";
    background: #000;
    inset: 0;
    z-index: -1;
}

.caro > i {
    color: #7c7c7c4 !important;
    transition: 300ms all;
}

.caro > i:hover {
    color: #000 !important;
}

.mainHeading {
    margin: 0 0 20px;
}

.mainHeading span {
    font-size: 17px !important;
    color: #7c7c7c4448f;
}

.mainHeading br {
    display: none;
}

.bott {
    justify-content: end;
}

.bott li {
    width: fit-content !important;
    flex: 0;
    padding: 10px 20px;
}

.gcard-contact-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    gap: 10px;
}

.uqb-question a {
    color: #000 !important;
}

#calendar table :is(tr, thead) {
    background: transparent !important;
    border: none !important;
}

#calendar table {
    border: none !important;
    border-radius: 0 !important;
}

#calendar table td:nth-child(odd) {
    background: #a3a3a32e;
    cursor: pointer;
}

#calendar table td .fc-daygrid-day-top a {
    color: #000 !important;
}

#calendar table td {
    border: 1px solid #7b7b7b44;
}

.innerControl label {
    left: 10px;
    top: 50%;
    transform: translatey(-50%);
    pointer-events: none;
    font-size: 14px !important;
}

.innerControl input {
    padding: 10px;
    font-size: 14px;
    border: none;
}

.innerControl {
    border: 1px dashed #000 !important;
    padding: 0 !important;
}

.innerControl label span {
    font-size: 16px;
}

.tabsFlex .group-box.mainGrpBox {
    margin: 20px 0;
}

.tabsFlex .group-box.mainGrpBox h3 {
    margin: 0px 0 15px !important;
    font-size: 20px;
    padding-left: 10px;
    padding: 10px 20px;
    background: black;
    width: fit-content;
    border-radius: 50px;
    color: #fff;
    line-height: 18px;
}

.tabsFlex .group-box.mainGrpBox h3 small {
    font-size: 16px;
    color: #ffffffad;
}

table tbody tr:hover {
    background: #7c7c7c4 !important;
}

.innerrFormWrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mydangBtn {
    color: red !important;
    background: #ff000026 !important;
    border: 1px solid red !important;
    padding: 5px 20px !important;
    border-radius: 50px !important;
}

.myeditBtn {
    background: #0058ff2b !important;
    color: #0058ff !important;
    border: 1px solid #0058ff !important;
    padding: 5px 20px !important;
    border-radius: 50px !important;
}

.feildwrapper-user--alt {
    width: 100% !important;
}

.tableLeftNew {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tableLeftNew a {
    padding: 5px 15px;
    margin: 0;
    font-size: 14px;
    border-radius: 50px;
    background: #000;
    border-color: #000;
}

.tableLeftNew a:hover {
    background: transparent;
    color: #000;
    border-color: #000;
}

body.green-color #sidebar :is(a, button) {
    color: #fff !important;
    font-weight: 600;
}

body.green-color #sidebar svg {
    fill: #fff;
}

body.green-color #sidebar :is(a, button):hover {
    background: #085708;
    color: #fff !important;
}

body.green-color #sidebar :is(a, button):hover svg {
    fill: #fff !important;
}

body.green-color .header {
    background: #058f0b !important;
}

body.green-color #customSearchBox i {
    color: #fff !important;
}

body.green-color .message-forum-wrap i {
    color: #fff;
}

body.green-color .profile-toggle span {
    color: #fff !important;
}

body.green-color .tableLeftNew a {
    background: #4caf50;
    border-color: inherit;
}

body.green-color .tableLeftNew a:hover {
    background: transparent;
    color: green;
}

body.green-color .dark-card-icon {
    background: #6dcb71 !important;
}

body.green-color .dark-card-icon i {
    color: #0a6d0a !important;
}

body.green-color .dark-card-icon:before {
    background: green;
}

body.green-color .dark-card-icon:after {
    background: green;
}

body.green-color .card.activity-item svg {
    filter: hue-rotate(265deg);
}

#sidebar {
    background: #000 !important;
}

body.green-color #sidebar {
    background: rgb(76, 175, 80) !important;
}

body.blue-color #sidebar {
    background: #0074cc !important;
}

body.blue-color #sidebar :is(a, button) {
    color: #fff !important;
    font-weight: 600;
}

body.blue-color #sidebar :is(a, button) svg {
    fill: #fff;
}

body.blue-color #sidebar :is(a, button):hover {
    background: #01528f;
    color: #fff !important;
}

body.blue-color .header {
    background: #0067b5 !important;
}

body.blue-color #customSearchBox i {
    color: #fff !important;
}

body.blue-color .message-forum-wrap i {
    color: #fff;
}

body.blue-color .profile-toggle span {
    color: #fff !important;
}

body.blue-color .tableLeftNew a {
    background: #0074cc;
    border-color: inherit;
}

body.blue-color .tableLeftNew a:hover {
    background: transparent;
    color: #0074cc;
}

body.blue-color .activity-icon {
    background: aliceblue;
}

body.red-color #sidebar {
    background: #f44336 !important;
}

body.red-color #sidebar :is(a, button) {
    color: #fff !important;
}

body.red-color #sidebar svg {
    fill: #fff;
}

body.red-color #sidebar :is(a, button):hover {
    background: #c50000;
}

body.red-color .header {
    background: #a70b00 !important;
}

body.red-color .two-in-one i {
    color: #fff !important;
}

body.red-color #customSearchBox i {
    color: #fff !important;
}

body.red-color .profile-toggle span {
    color: #fff !important;
}

body.red-color .activity-icon {
    background: #f443363d;
}

body.red-color .tableLeftNew a {
    background: #f44336;
    border-color: inherit;
}

body.red-color .tableLeftNew a:hover {
    color: #f44336;
    background: transparent;
}

body.red-color .dark-card-icon i {
    color: rgb(244, 67, 54) !important;
}

body.red-color .dark-card-icon {
    background: rgb(252 210 207) !important;
}

body.red-color .dark-card-icon:before {
    background: rgb(244, 67, 54);
}

body.red-color .dark-card-icon:after {
    background: rgb(244, 67, 54);
}

body.red-color .card.activity-item svg {
    filter: hue-rotate(155deg);
}

body.pink-color #sidebar {
    background: #e91e63 !important;
}

body.pink-color #sidebar :is(a, button) {
    color: #fff !important;
}

body.pink-color #sidebar :is(a, button) svg {
    fill: #fff;
}

body.pink-color #sidebar :is(a, button):hover {
    background: #c70144;
}

body.pink-color .header {
    background: #c90044 !important;
}

body.pink-color #customSearchBox i {
    color: #fff !important;
}

body.pink-color .message-forum-wrap i {
    color: #fff;
}

body.pink-color .badge {
    background: #710014;
}

.pink-color .profile-toggle span {
    color: #fff !important;
}

.pink-color .tableLeftNew a {
    background: #e91e63;
    border-color: inherit;
}

.pink-color .tableLeftNew a:hover {
    background: transparent;
    color: #e91e63;
}

body.pink-color .dark-card-icon i {
    color: #e91e62 !important;
}

body.pink-color .dark-card-icon {
    background: #eba2bb !important;
}

body.pink-color .dark-card-icon:before {
    background: #e91e62 !important;
}

body.pink-color .dark-card-icon:after {
    background: #e91e62 !important;
}

body.pink-color .card.activity-item svg {
    filter: hue-rotate(105deg);
}

body.pink-color .activity-icon {
    background: pink;
    color: rgb(233, 30, 99) !important;
}

body.blue-color .activity-icon {
    color: rgb(0, 116, 204) !important;
}

body.blue-color .activity-feed button {
    background: rgb(0, 116, 204) !important;
}

.green-color .topHead button {
    background: #4caf50 !important;
}

body.red-color .activity-icon {
    color: rgb(244, 67, 54) !important;
}

body.red-color .topHead button {
    background: rgb(244, 67, 54) !important;
}

.restButton {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid;
    background: #000;
    color: #fff;
    transition: 300ms all;
    margin: 10px 0 0;
}

.restButton:hover {
    background: transparent;
    color: #000;
}

body.green-color .restButton {
    background: #4caf50;
}

body.green-color .restButton:hover {
    background: transparent;
    color: green;
}

body.blue-color .restButton {
    background: #0074cc;
}

body.blue-color .restButton:hover {
    background: transparent;
    color: #0074cc;
}

body.red-color .restButton {
    background: #f44336;
}

body.red-color .restButton:hover {
    background: transparent;
    color: #f44336;
}

body.pink-color .restButton {
    background: #e91e63;
}

body.pink-color .restButton:hover {
    background: transparent;
    color: #e91e63;
}

.logOutBtn {
    background: #ff00001f;
    color: red;
    padding: 5px 20px;
    border-radius: 50px;
    border: 1px solid red;
    font-size: 14px;
    transition: 300ms all;
}

.logOutBtn:hover {
    background: red;
    color: #fff;
}

body.black-text #sidebar :is(a, button) {
    color: #000 !important;
}

body.black-text #sidebar :is(a, button) svg {
    fill: #000 !important;
}

body.grey-text #sidebar :is(a, button) {
    color: #727272 !important;
}

body.grey-text #sidebar :is(a, button) svg {
    fill: #727272 !important;
}

body.white-text #sidebar :is(a, button) {
    color: #fff !important;
}

body.white-text #sidebar :is(a, button) svg {
    fill: #fff !important;
}

.newinputStyle .feildwrapper-user {
    width: 100% !important;
}

.feildwrapper-user--alt {
    flex-wrap: wrap;
}

.feildwrapper-user--alt > div {
    width: 45% !important;
}

.feildwrapper-user--alt :is(input, select, textarea) {
    width: 100% !important;
    padding: 10px;
    font-size: 14px !important;
    border: 1px dashed #7c7c7c;
    background: #fff !important;
    border-radius: 10px !important;
}

.feildwrapper-user--alt label {
    padding: 0 0 10px !important;
    font-size: 16px;
    font-weight: 500;
}

.feildwrapper-user--alt .select2-selection {
    width: 100% !important;
    min-height: 40px !important;
    border: 1px dashed #7c7c7c !important;
    border-radius: 10px !important;
    padding: 10px 0 !important;
}

.feildwrapper-user--alt
    .select2-container
    .select2-search--inline
    .select2-search__field {
    width: 100% !important;
    border-radius: 0;
    padding: 0px 10px;
    height: 22px;
    font-size: 14px;
    background: transparent !important;
    margin: 0;
}

.feildwrapper-user--alt span {
    width: 100% !important;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border: 1px dashed #7c7c7c;
}

.eight.headDiv {
    width: 100%;
}

.eight.headDiv h1 {
    width: 100% !important;
}

.bottomUnitMain {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    align-items: normal;
}

.bottomUnitMain div {
    width: 100%;
    gap: 0;
}

.botwrap {
    width: 48% !important;
}

.botbotwrap {
    width: 50% !important;
}

.botbotwrap {
    flex-direction: row !important;
    align-items: center;
}

.learnImainInput {
    display: flex;
    align-items: center;
    flex-direction: row !important;
    width: 100% !important;
    position: relative;
}

.learnImainInput input {
    width: 100%;
    border: 1px dashed #7c7c7c;
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    background: #fff !important;
}

.addinnerBtn {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translatey(-50%);
    width: 30px !important;
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px !important;
    color: #000 !important;
    border-color: #000 !important;
    border: 2px solid !important;
    font-size: 26px !important;
    padding-bottom: 4px;
    font-weight: 700 !important;
}

.botbotwrap input {
    padding: 10px;
    border-radius: 10px !important;
    border: 1px dashed #7c7c7c;
    font-size: 14px;
    background: #fff !important;
    width: 100%;
}

.botwrap label {
    font-size: 17px !important;
    padding: 0 0 5px;
    font-weight: 600;
}

.botbotwrap label {
    font-size: 17px !important;
    font-weight: 500;
    padding-bottom: 5px;
}

.botbotwrap .feildwrapper-user {
    margin: 0 !important;
}

.mainSelect {
    position: relative;
    width: 100%;
}

.addbtnTop {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translatey(-50%);
    width: fit-content !important;
}

.addbtnTop button {
    border: 2px solid #000;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #000;
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 3px;
    font-weight: 700;
    width: 35px;
    height: 35px;
}

.addBtn {
    width: fit-content !important;
}

.addBtn button {
    width: max-content;
    border-radius: 10px;
    font-size: 15px;
    padding: 13px 20px;
    border-color: #000 !important;
    color: #fff !important;
    background: #000 !important;
    height: auto;
}

.addBtn button:hover {
    background: transparent;
    color: #000;
}

.forBtns {
    width: 100% !important;
}

.forBtns {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row-reverse !important;
    gap: 15px;
}

.forBtnsDel {
    width: fit-content !important;
    display: block !important;
}

.forBtnsDel button {
    border: 1px solid #f90000 !important;
    border-radius: 10px;
    width: 45px;
    height: 45px;
    color: red !important;
    font-size: 15px !important;
    background: #ff000042 !important;
}

.forBtnsDel div {
    width: 100% !important;
}

.crtMainn > div:nth-child(3) {
    width: fit-content !important;
}

.crtMainn > div:nth-child(3) > button {
    width: max-content !important;
    border-radius: 10px;
    padding: 14px 20px;
    height: auto !important;
    background: #000;
    color: #fff;
    border-color: #000;
    font-size: 15px !important;
    font-weight: 500;
}

.crtMainn {
    gap: 10px !important;
}

.botbotwrap {
    display: block !important;
}

/* .radio-options {
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  width: 100% !important;
  gap: 10px;
} */
.radio-options {
    display: flex !important;
    flex-direction: row;
    width: 100% !important;
    gap: 7px;
    align-content: space-around;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.radio-options input {
    visibility: hidden;
    width: 0 !important;
    height: 0 !important;
}

.radio-options label {
    padding: 11px 25px !important;
    line-height: 16px;
    display: flex;
    align-items: center;
    border: 2px solid #7c7c7c4;
    border-radius: 10px;
    color: #7c7c7c4447d !important;
    cursor: pointer;
    position: relative;
}

.radio-options input:checked + label {
    border-color: #000;
    color: #000 !important;
}

.ico {
    position: absolute;
    top: -7px;
    right: -4px;
    width: fit-content !important;
    color: #000;
    opacity: 0;
    visibility: hidden;
}

.radio-options input:checked + label .ico {
    opacity: 1;
    visibility: visible;
    background: #fff;
    border-radius: 100%;
}

.delete-field-btn {
    border: 1px solid red !important;
    background: #ff00002e !important;
}

.feildwrapper-user.crtMainn {
    margin: 10px 0 0px !important;
}

.feildwrapper-user.crtMainn:nth-child(1) {
    margin: 0 !important;
}

.crtMainn div:nth-child(3) {
    flex-direction: row;
}

.delete-learning-btn {
    background: #ff000029 !important;
    border: 1px solid red !important;
}

.feildwrapper-user--crit {
    gap: 10px !important;
}

.feildwrapper-user--crit div:nth-child(2) {
    width: fit-content;
}

.delete-field-btn {
    width: auto !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 14px 13px;
    height: auto !important;
}

.feildwrapper-user--crit {
    width: 100% !important;
}
.headDiv {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between;
}

.headDiv h1 {
    margin: 0 !important;
}

.headDiv {
    padding: 20px 0 10px !important;
    border-top: 1px solid #7c7c7c4;
}
.delete-unit-btn {
    padding: 15px 20px;
    width: auto !important;
    height: auto !important;
}
.feildwrapper-user--crit label {
    margin: 10px 0 0;
}

.feildwrapper-user--crit:nth-child(1) label {
    margin: 0;
}
.feildwrapper-user.crtMainn > div:nth-child(3) {
    flex-direction: row-reverse;
}

/* Tablet */

/* Mobile */

/* ===== Header ===== */
.kt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kt-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.kt-sub {
    font-size: 13px;
    color: #8a8a8a;
    margin-top: 2px;
}

/* ===== Progress (QualsDirect-like) ===== */
.kt-progress-wrap {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 14px;
}

.kt-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.kt-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.kt-step:before {
    content: "";
    position: absolute;
    top: 18px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}

.kt-step:first-child:before {
    display: none;
}

.kt-step .dot {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cfd4da;
    color: #fff;
    z-index: 1;
}

.kt-step .lbl {
    font-size: 12px;
    color: #7b7b7b;
    text-align: center;
}

.kt-step.active .dot {
    background: #1976d2;
}

.kt-step.active .lbl {
    color: #111;
    font-weight: 600;
}

.kt-step.done:before {
    background: #1976d2;
}

.kt-step.done .dot {
    background: #1976d2;
}

.kt-step.disagree .dot {
    background: #9e9e9e;
}

/* returned/grey */

/* ===== Accordion Question List ===== */
.kt-accordion {
    margin-top: 14px;
}

.kt-q {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 12px;
}

.kt-q-head {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    background: #f6f7f9;
}

.kt-q-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.kt-q-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1d4ed8;
    font-size: 12px;
    flex: 0 0 auto;
}

.kt-q-text {
    min-width: 0;
}

.kt-q-title {
    font-weight: 800;
    font-size: 13px;
    margin: 0;
    line-height: 1.25;
}

.kt-q-meta {
    font-size: 12px;
    color: #7b7b7b;
    margin-top: 3px;
}

.kt-q-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex: 0 0 auto;
}

.kt-q-body {
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== Answer Boxes ===== */
.kt-box {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

/* .kt-subq {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px
  } */

.kt-subq-title {
    font-weight: 700;
    font-size: 13px;
    margin: 0 0 8px;
}

.kt-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.kt-actions .btn {
    border-radius: 10px;
}

.kt-upload a {
    font-size: 12px;
}

/* ===== Sticky Complete Button ===== */
.kt-footer {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-top: 14px;
    padding: 12px 0;
    background: linear-gradient(
        to top,
        rgba(245, 245, 245, 1),
        rgba(245, 245, 245, 0)
    );
    display: flex;
    justify-content: flex-end;
}

/* =====  Modal ===== */
.qd-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
.qd-modal.is-open {
    display: block;
}

.qd-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.qd-modal__dialog {
    position: relative;
    width: min(520px, calc(100% - 32px));
    margin: 10vh auto 0;
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: qdPop 0.14s ease-out;
}

@keyframes qdPop {
    from {
        transform: translateY(6px) scale(0.98);
        opacity: 0.85;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.qd-modal__close {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qd-modal__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    margin: 0 auto 10px;
    background: #e8f1ff;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.qd-modal__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}
.qd-modal__text {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

.qd-modal__actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.qd-btn {
    border-radius: 10px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    min-width: 110px;
}

.qd-btn--ghost {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.qd-btn--primary {
    background: #1976d2;
    border-color: #1976d2;
    color: #fff;
}
.qd-btn--primary:hover {
    filter: brightness(0.95);
}

/* top bar notification  */

#notifDropdown {
    /* padding: 0 !important; */
    /* width: 600px !important;
  border-radius: 10px !important;
  border: 1px solid #7c7c7c4 !important;
  background: #fff !important;
  overflow: hidden; */
}

/* training plan */

.tp-show-page {
    padding: 24px;
    background: #f3f4f6;
}

.tp-show-header {
    margin-bottom: 18px;
}

.tp-show-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1f2937;
    line-height: 1.2;
    text-transform: none;
}

.tp-show-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Progress Bar ===== */
.tp-progress-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tp-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tp-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tp-step::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #d1d5db;
    z-index: 0;
}

.tp-step:first-child::before {
    display: none;
}

.tp-step .dot {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cfd4da;
    color: #fff;
    z-index: 1;
    font-size: 16px;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.tp-step .dot i {
    font-size: 16px;
}

.tp-step .lbl {
    font-size: 13px;
    color: #7b7b7b;
    text-align: center;
    font-weight: 500;
    line-height: 1.35;
}

/* completed step */
.tp-step.done::before {
    background: #1976d2;
}

.tp-step.done .dot {
    background: #1976d2;
    border-color: #1976d2;
    color: #fff;
}

.tp-step.done .lbl {
    color: #111827;
    font-weight: 600;
}

/* current / pending step */
.tp-step.active:not(.done) .dot {
    background: #fff;
    color: #1976d2;
    border-color: #1976d2;
}

.tp-step.active:not(.done)::before {
    background: #1976d2;
}

.tp-step.active .lbl {
    color: #111827;
    font-weight: 600;
}

/* disagree / stopped */
.tp-step.disagree .dot {
    background: #9e9e9e;
    border-color: #9e9e9e;
    color: #fff;
}

/* ===== Layout ===== */
.tp-content-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.tp-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tp-card-body {
    padding: 20px;
}

.tp-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 14px;
}

.tp-block {
    margin-bottom: 16px;
}

.tp-block:last-child {
    margin-bottom: 0;
}

/* ===== Left Side Card ===== */
.tp-side-card {
    padding: 20px;
}

.tp-side-icon {
    font-size: 70px;
    text-align: center;
    color: #d1d5db;
    margin-bottom: 8px;
    line-height: 1;
}

.tp-side-heading {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.tp-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

.tp-meta {
    display: grid;
    gap: 14px;
}

.tp-meta-item strong {
    display: block;
    font-size: 14px;
    color: #374151;
    margin-bottom: 4px;
}

.tp-meta-item span,
.tp-meta-item div {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.tp-method-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-method-list div {
    color: #6b7280;
    font-size: 14px;
}

/* ===== Agreement Card ===== */

.tp-agreement-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tp-agreement-head {
    background: #1976d2;
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 15px;
}

.tp-agreement-body {
    padding: 20px;
}

.tp-form-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px 24px;
    align-items: start;
}
/* ===== Form ===== */
.tp-form-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    line-height: 44px;
}

.tp-form-label.textarea-label {
    line-height: 1.4;
    padding-top: 8px;
}

.tp-form-control {
    width: 100%;
    max-width: 280px;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    color: #374151;
    background: #fff;
}

.tp-form-control:focus,
.tp-form-textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.08);
}

.tp-form-textarea {
    width: 100%;
    min-height: 180px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    color: #374151;
    resize: vertical;
    background: #fff;
}

.tp-btn-row {
    text-align: right;
    margin-top: 16px;
}

.tp-btn-primary {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.tp-btn-primary:hover {
    background: #1565c0;
}

.tp-comment-box {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

/* ===== Details ===== */
.tp-detail-text {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

/* ===== Qualification / Units ===== */
.tp-qualification-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.tp-qualification-head {
    padding: 14px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700;
    color: #374151;
    font-size: 15px;
}

.tp-section-label {
    padding: 12px 16px 0;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
}

.tp-list {
    padding: 8px 16px 16px;
}

.tp-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.tp-list-item:last-child {
    border-bottom: none;
}

/* ===== Comments ===== */
.tp-comment-box {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

/* ===== eSignature ===== */
.tp-esign-table {
    width: 100%;
    border-collapse: collapse;
}

.tp-esign-table td {
    padding: 12px 10px;
    border-top: 1px solid #eef2f7;
    font-size: 14px;
    color: #4b5563;
    vertical-align: top;
}

.tp-esign-table tr:first-child td {
    border-top: none;
}

.tp-esign-table strong {
    color: #374151;
}

.tp-show-header--with-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.opt-dropdown {
    position: relative;
    display: inline-block;
}

.opt-dropbtn {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.opt-dropbtn:hover {
    background: #1565c0;
}

.opt-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 99;
    overflow: hidden;
}

.opt-dropdown-content a,
.opt-link-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    cursor: pointer;
}

.opt-dropdown-content a:last-child,
.opt-link-btn:last-child {
    border-bottom: none;
}

.opt-dropdown-content a:hover,
.opt-link-btn:hover {
    background: #f9fafb;
}

.opt-show {
    display: block;
}
.tp-qualification-head .qual-number {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.tp-qualification-head .qual-level {
    font-weight: 600;
    color: #555;
}

.tp-page {
    padding: 24px;
    background: #f3f4f6;
}
.tp-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.tp-main {
    flex: 1;
}
.tp-sidebar {
    width: 240px;
}
.tp-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}
.tp-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}
.tp-card {
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.tp-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin-bottom: 18px;
    align-items: start;
}
.tp-label {
    font-weight: 600;
    color: #7c7c7c;
    padding-top: 10px;
}
.tp-input input,
.tp-input textarea,
.tp-input select {
    width: 100%;
    height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 0 12px;
}
.tp-input textarea {
    height: 180px;
    padding: 12px;
}
.tp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tp-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.tp-btn {
    min-width: 130px;
    height: 40px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
.tp-cancel {
    background: #666;
    color: #fff;
}
.tp-next,
.tp-finish {
    background: rgb(0, 116, 204);
    color: #fff;
}
.tp-back {
    background: #666;
    color: #fff;
}
.sidebar-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 18px;
}
.sidebar-head {
    background: rgb(0, 116, 204);
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
}
.step-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-top: 1px solid #eee;
}
.step-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #bbb;
    margin-top: 6px;
}
.step-item.active .step-dot {
    background: #f59e0b;
}
.step-item.done .step-dot {
    background: rgb(0, 116, 204);
}
.hidden {
    display: none !important;
}
.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
}
.error {
    border: 1px solid red !important;
}
.error-msg {
    font-size: 12px;
    color: red;
    margin-top: 5px;
}
.method-grid span strong {
    font-weight: 700;
    color: #000;
}

.qualification-block {
    margin-bottom: 34px;
}
.qualification-heading {
    margin: 0 0 18px 0;
    font-size: 16px;
    color: #333;
    font-weight: 700;
}
.qualification-heading small {
    color: #777;
    font-size: 13px;
    font-weight: 600;
}
.unit-list {
    margin-left: 22px;
    border-left: 2px solid #e5e7eb;
    padding-left: 18px;
}
.unit-item {
    margin-bottom: 12px;
}
.unit-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.55;
}
.unit-label input {
    margin-top: 4px;
    width: auto;
    height: auto;
}
.unit-index {
    font-weight: 700;
    color: #333;
    min-width: 18px;
    display: inline-block;
}
.unit-text {
    color: #333;
}

/* for methods */
.cm-dv {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafc;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.cm-dv:hover {
    background: #eef3ff;
}

.checkwrapp {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 10px;
}

/* ------UMAR CSS */

#notifDropdown {
    width: 320px !important;
    max-width: calc(100vw - 20px);
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    background: #fff;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
}

#notifDropdown .dropdown-item.text-black {
    display: block;
    width: 100%;
    white-space: normal;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    margin: 0 0 10px 0;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #111827 !important;
    background: #fff;
    transition: all 0.2s ease;
}

#notifDropdown .dropdown-item.text-black:last-child {
    margin-bottom: 0;
}

#notifDropdown .dropdown-item.text-black:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

#notifDropdown .dropdown-item.text-black small,
#notifDropdown .dropdown-item.text-black .text-danger,
#notifDropdown .dropdown-item.text-black .time-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #ef4444 !important;
    font-weight: 500;
}

@media (max-width: 786px) {
    #notifDropdown {
        width: 280px !important;
        max-width: calc(100vw - 16px);
        right: 8px !important;
        left: auto !important;
    }

    #notifDropdown .dropdown-item.text-black {
        font-size: 12px;
        padding: 10px 12px;
        border-radius: 10px;
    }
}
small {
    color: red;
}

@media (max-width: 1500px) {
    .act-wrap-in-one {
        flex-direction: column-reverse !important;
    }
}

@media (max-width: 1180px) {
    .breakdown-card {
        width: 100%;
    }
}
@media (max-width: 999px) {
    .activity-text {
        display: block;
    }
    .dark-card-icon {
        height: 30px;
        width: 30px;
    }
}

a.dropdown-item.text-black {
    font-size: 12px;
}

/* qualification */

.qualification-table tbody td {
    padding: 18px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
    color: #334155;
    font-size: 14px;
}

.qualification-title-cell {
    min-width: 320px;
}

.qualification-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.6;
}

.qualification-number-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.qualification-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 300px;
}

.qualification-pill {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* =========================
   COMMON SHOW UI
========================= */

.show-page-shell {
    padding: 24px;
    background: #f4f7fb;
    min-height: calc(100vh - 80px);
}

.show-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.show-title-wrap {
    flex: 1 1 auto;
    min-width: 260px;
}

.show-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #16202f;
    line-height: 1.2;
}

.show-subtitle {
    margin: 8px 0 0;
    font-size: 14px;
    color: #667085;
}

.show-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.show-breadcrumb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.show-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.show-breadcrumb-link:hover {
    color: #101828;
    text-decoration: none;
}

.show-banner {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    border: 1px solid transparent;
}

.show-banner a {
    text-decoration: none;
    font-weight: 800;
}

.show-banner-warning {
    background: #fff8db;
    color: #8a6d00;
    border-color: #f1df92;
}

.show-banner-warning a {
    color: #735c00;
}

.show-banner-danger {
    background: #ffe8e8;
    color: #b30000;
    border-color: #f2bcbc;
}

.show-banner-danger a {
    color: #8f0000;
}

.show-layout {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.show-sidebar {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 260px;
}

.show-main {
    flex: 1 1 0;
    min-width: 320px;
}

.show-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 18px;
}

.show-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid #edf1f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.show-card-head h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #101828;
}

.show-card-body {
    padding: 20px;
}

.show-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.show-info-item {
    padding: 12px 14px;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    background: #f9fbfd;
}

.show-info-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.show-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
}

/* =========================
   OPTIONS DROPDOWN
========================= */

.opt-dropdown {
    position: relative;
}

.opt-dropbtn {
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opt-dropbtn:hover {
    background: #101828;
}

.opt-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 230px;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    z-index: 99;
    overflow: hidden;
    padding: 8px;
}

.opt-dropdown-content.opt-show {
    display: block;
}

.opt-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.opt-dropdown-content a:hover {
    background: #f8fafc;
    text-decoration: none;
}

/* =========================
   COMMON TABS
========================= */

.common-tabs-shell {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.common-tab-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px;
    gap: 10px;
    border-bottom: 1px solid #edf1f6;
    background: #f8fafc;
    flex-wrap: wrap;
}

.common-tab-link {
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px;
    transition: all 0.2s ease;
    flex: 1 1 0;
    text-align: center;
    background: transparent;
    border: none;
    list-style: none;
}

.common-tab-link:hover {
    background: #eef2f7;
    color: #111827;
}

.common-tab-link.active {
    background: #111827;
    color: #fff;
}

.common-tab-content {
    padding: 20px;
}

.common-tab-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.common-tab-toolbar .form-select,
.common-tab-toolbar .form-control {
    height: 50px;
    border-radius: 14px;
    border: 1px solid #dbe3ec;
    box-shadow: none;
    font-size: 14px;
}

.common-tab-toolbar .form-select:focus,
.common-tab-toolbar .form-control:focus {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

/* =========================
   TABLES
========================= */

.common-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.common-table thead {
    background: #f8fafc;
}

.common-table thead th {
    border-bottom: 1px solid #e6ebf2;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
}

.common-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-top: 1px solid #edf1f6;
    color: #344054;
    font-weight: 500;
    text-align: left;
}

.clickable-row {
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}

.clickable-row:hover {
    background-color: #f1f5f9 !important;
}

.clickable-row:active {
    transform: scale(0.995);
}

/* =========================
   TOGGLE
========================= */

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #d0d5dd;
    border-radius: 999px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

input:checked + .slider {
    background-color: #12b76a;
}

input:checked + .slider:before {
    transform: translateX(28px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .show-layout {
        flex-direction: column;
    }

    .show-sidebar,
    .show-main {
        max-width: 100% !important;
        flex-basis: 100% !important;
        width: 100%;
    }

    .show-page-shell {
        padding: 16px;
    }

    .show-title {
        font-size: 24px;
    }

    .show-card-head,
    .show-card-body,
    .common-tab-content {
        padding: 16px !important;
    }

    .common-tab-menu {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .common-tab-link {
        flex: 0 0 auto;
        min-width: 140px;
    }

    .common-tab-menu {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .common-tab-menu::-webkit-scrollbar {
        display: none;
    }

    .common-tab-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .common-tab-toolbar .form-select,
    .common-tab-toolbar .form-control {
        width: 100% !important;
    }
}

.rf-shell {
    padding: 24px;
    background: #f4f7fb;
    min-height: calc(100vh - 80px);
}
.rf-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.rf-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #16202f;
}
.rf-sub {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}
.rf-panel {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}
.rf-head {
    padding: 22px 24px;
    border-bottom: 1px solid #edf1f6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.rf-head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #101828;
}
.rf-head p {
    margin: 5px 0 0;
    color: #667085;
    font-size: 13px;
}
.rf-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eff4ff;
    color: #3538cd;
    font-size: 12px;
    font-weight: 700;
}
.rf-body {
    padding: 24px;
}
.rf-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 18px;
}
.rf-card h4 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #111827;
}
.rf-summary {
    margin: 0 0 18px;
    color: #667085;
    font-size: 14px;
}
.rf-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.rf-row + .rf-row {
    margin-top: 18px;
}
.rf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rf-field label,
.rf-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #344054;
}
.rf-field input,
.rf-field select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7dce5;
    border-radius: 14px;
    background: #fff;
    padding: 12px 14px;
    font-size: 14px;
    color: #101828;
}
.rf-field input:focus,
.rf-field select:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.rf-grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 18px;
}
.rf-box {
    border: 1px solid #d7dce5;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    min-height: 470px;
}
.rf-box-head {
    padding: 16px 18px;
    border-bottom: 1px solid #edf1f6;
    background: #fbfcfe;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.rf-box-head h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.rf-box-head p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #667085;
}
.rf-box-body {
    padding: 16px 18px;
    max-height: 390px;
    overflow: auto;
}

.rf-tool-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.rf-search {
    position: relative;
    flex: 1;
}
.rf-search input {
    width: 100%;
    height: 44px;
    border: 1px solid #d7dce5;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px 0 40px;
    font-size: 14px;
    color: #111827;
}
.rf-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
}
.rf-clear-btn {
    height: 44px;
    border: 1px solid #d0d5dd;
    background: #fff;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #344054;
    cursor: pointer;
}
.rf-clear-btn:hover {
    background: #f8fafc;
}

.rf-group-block {
    margin-bottom: 16px;
}
.rf-group-block:last-child {
    margin-bottom: 0;
}
.rf-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.rf-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
}

.rf-option-row,
.rf-selected-row,
.rf-filter-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 10px;
}
.rf-option-row:last-child,
.rf-selected-row:last-child,
.rf-filter-chip:last-child {
    margin-bottom: 0;
}
.rf-option-row label,
.rf-selected-row p,
.rf-filter-chip span {
    margin: 0;
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    line-height: 1.4;
}
.rf-option-row label {
    flex: 1;
    cursor: pointer;
}
.rf-selected-row {
    align-items: flex-start;
}
.rf-selected-row-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rf-selected-row p,
.rf-filter-chip span {
    flex: 1;
}
.rf-selected-row i {
    cursor: pointer;
    color: #dc2626;
    font-size: 15px;
    margin-top: 2px;
}
.rf-selected-row i:hover {
    color: #b91c1c;
}

.rf-selected-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 110px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.rf-checkbox-panel {
    border: 1px solid #e6edf5;
    border-radius: 16px;
    background: #fbfcfe;
    padding: 18px;
}
.rf-checkbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 18px;
}
.rf-check {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rf-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #111827;
}
.rf-check label {
    margin: 0;
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    cursor: pointer;
}
.rf-empty {
    text-align: center;
    padding: 36px 16px;
    color: #98a2b3;
    font-size: 14px;
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
    background: #fcfcfd;
}
.rf-hidden {
    display: none !important;
}
.rf-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.rf-btn {
    min-width: 150px;
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    background: #111827;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.rf-btn:hover {
    background: #000;
    color: #fff;
}
.rf-btn.light {
    background: #fff;
    color: #344054;
    border: 1px solid #d0d5dd;
}
.rf-type-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.rf-type-note span {
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #475467;
}

.rf-selected-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.rf-selected-meta span {
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    color: #475467;
}

@media (max-width: 991px) {
    .rf-grid-2,
    .rf-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rf-shell {
        padding: 16px;
    }
    .rf-body,
    .rf-head {
        padding: 18px;
    }
    .rf-title {
        font-size: 24px;
    }
    .rf-checkbox-list {
        grid-template-columns: 1fr;
    }
    .rf-actions {
        flex-direction: column;
    }
    .rf-btn {
        width: 100%;
    }
    .rf-box-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Selected Fields UI Fix */
#selectedFieldsWrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#selectedFieldsWrap .rf-selected-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 14px 48px 14px 16px;
    margin-bottom: 0;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    background: #f8fafc;
}

#selectedFieldsWrap .rf-selected-row-main {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#selectedFieldsWrap .rf-selected-group {
    margin-left: auto;
    min-width: auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

#selectedFieldsWrap .rf-selected-row p {
    margin: 0;
    flex: 1;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

#selectedFieldsWrap .rf-selected-row i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    color: #dc2626;
    font-size: 15px;
    cursor: pointer;
}

#selectedFieldsWrap .rf-selected-row i:hover {
    color: #b91c1c;
}

.rf-selected-row {
    cursor: grab;
}

.rf-selected-row.is-dragging {
    opacity: 0.45;
}

.rf-selected-row-main::before {
    content: "☰";
    font-size: 13px;
    color: #98a2b3;
    margin-right: 8px;
}

.rf-btn-cancel {
    background: #fff !important;
    color: #344054 !important;
    border: 1px solid #d0d5dd !important;
}

.rf-btn-cancel:hover {
    background: #f2f4f7 !important;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px 16px;
    border-top: 1px solid var(--dash-row-border);
    background: #fafafa;
}

.pagination-info {
    color: #344054;
    font-size: 14px;
    white-space: nowrap;
}

.pagination-links .pagination {
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pagination-links .page-item,
.pagination-links li {
    list-style: none;
}

.pagination-links .page-link,
.pagination-links li a,
.pagination-links li span {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px !important;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: var(--dash-text);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    text-decoration: none;
}

.pagination-links .page-item.active .page-link,
.pagination-links li.active span {
    background: #071126;
    border-color: #071126;
    color: #fff;
}

.pagination-links .page-item.disabled .page-link,
.pagination-links li.disabled span {
    color: #98a2b3;
    background: #fff;
}

.pagination-links .page-link:hover,
.pagination-links li a:hover {
    background: var(--dash-header-bg);
    border-color: #071126;
    color: #071126;
}

/* Prevent Swiper slides flashing or stacking before JavaScript initializes. */
.swiper:not(.swiper-initialized) {
    overflow: hidden;
}

.swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    width: 100%;
}

.swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
}

.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}
