@font-face {
    font-family: "Regular";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Regular.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Light";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Light.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Medium";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Medium.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Bold";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Bold.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

:root {
    --mtn-yellow: #ffcb05;
    --primary-color: #014d6d;
    --mtn-black: #111216;
    --mtn-black-soft: #15161b;
    --mtn-grey-bg: #f5f5f7;
    --mtn-grey-soft: #e5e7eb;
    --mtn-grey-muted: #9ca3af;
    --mtn-border-soft: #e2e4ea;
    --mtn-success: #16a34a;
    --mtn-danger: #dc2626;
    --mtn-warning: #f97316;
    --montserratRegular: "Regular";
    --montserratMedium: "Medium";
    --montserratLight: "Light";
    --montserratBold: "Bold";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--montserratRegular);
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.app-shell {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ================= sidebar ==================== */

.sidebar {
    width: 19%;
    background-color: var(--primary-color);
    color: #f9fafb;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar::-webkit-scrollbar-thumb {
    display: none;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 10px;
    padding: 12px;
    margin: 0.5rem 0.5rem 2rem 0.5rem;
    background-color: #ffffff26;
}

.sidebar-logo {
    display: flex;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    height: 100%;
    width: 100%;
}

.sidebar-brand-text {
    display: flex;
    gap: 3px;
}

.sidebar-brand-text span:first-child {
    color: var(--mtn-yellow);
}

.sidebar-brand-text span {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.05em;
    font-family: var(--montserratBold);
    color: rgba(249, 250, 251, 0.9);
}

.sidebar-section {
    margin-bottom: 1rem;
}

.sidebar-section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(153, 153, 153, 1);
    padding: 10px 10px 4px;
    font-family: var(--montserratBold);
}

.nav-list {
    list-style: none;
    margin-top: 4px;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 7px;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    color: rgba(229, 231, 235, 0.9);
    text-decoration: none;
    transition: all 0.18s ease-out;
    font-size: 16px;
}

.nav-link > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link i {
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.nav-link .badge {
    background-color: var(--primary-color);
    padding: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nav-link:hover {
    background: rgba(249, 250, 251, 0.04);
    transform: translateX(2px);
}

.nav-link.active {
    background-color: var(--mtn-yellow);
    color: var(--primary-color);
}

.nav-link.active svg * {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.nav-link.active > div span {
    font-family: var(--montserratBold);
}

.nav-link.active i {
    color: #111827;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px solid rgba(249, 250, 251, 0.06);
    font-size: 11px;
    color: rgba(156, 163, 175, 0.9);
}

.sidebar-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.sidebar-footer-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(249, 250, 251, 0.85);
}
.sidebar-footer-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #5eead4;
}
.sidebar-footer-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =============== Main area ================ */
.main {
    width: 81%;
    display: flex;
    flex-direction: column;
    /* overflow-y: scroll;
    height: 100vh; */
}

.main::-webkit-scrollbar {
    height: 8px;
    width: 5px;
}

.main::-webkit-scrollbar-thumb {
    background-color: var(--mtn-grey-muted);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    box-shadow: 10px 5px 30px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--montserratMedium);
    font-size: 28px;
}

.topbar-left span {
    font-family: var(--montserratMedium);
    font-size: 28px;
}

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

.topbar-right .image-section {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-right .image-section .image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
}

.topbar-right .image-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #000;
    border-radius: 50%;
}

.topbar-right .image-section .online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    border: 2px solid #f9fafb;
}

.topbar-right .name-section {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.2;
}

.topbar-right .name-section span:first-child {
    font-size: 20px;
    font-family: var(--montserratLight);
}

.topbar-right .name-section span:last-child {
    font-size: 13px;
    font-family: var(--montserratLight);
}

.mobile-menu {
    display: none;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 900;
}

@media screen and (max-width: 1024px) {
    .main {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .main {
        width: 100%;
    }

    .main::-webkit-scrollbar {
        display: none;
    }

    .main::-webkit-scrollbar-thumb {
        display: none;
    }

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

    .topbar {
        padding: 20px 10px !important;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        right: 0;
        z-index: 1000;
        background-color: #0b0b0f;
        color: white;
        box-shadow: none;
        border-bottom: none;
    }

    .topbar-right {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu img {
        height: 40px;
    }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-sidebar {
    display: none;
    cursor: pointer;
    font-size: 20px;
    color: white;
}

@media screen and (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -300px;
        width: 300px;
        padding: 1rem;
        z-index: 1100;
        transition: left 0.3s ease;
        display: flex; /* Ensure it's flex even if display:none was set */
    }

    .sidebar.sidebar-open {
        left: 0;
        display: flex;
    }

    .mobile-menu {
        display: block;
        cursor: pointer;
    }

    .close-sidebar {
        display: block;
    }

    .sidebar-brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

@media screen and (max-width: 350px) {
    .topbar-left {
        font-size: 20px;
    }

    .topbar-left span {
        font-size: 20px;
    }
}

.main-content {
    background-image: url("../../images/background.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow-y: scroll;
    padding: 20px;
}

.main-content::-webkit-scrollbar {
    height: 8px;
    width: 5px;
}

.main-content::-webkit-scrollbar-thumb {
    background-color: var(--mtn-grey-muted);
}

/* ==================== breadcrumb ==================== */
.page-header-container {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
}

.breadcrumb-home {
    color: #0d6e8b;
    font-weight: 600;
}

.separator {
    color: #999;
}

.breadcrumb-current {
    color: #666;
    font-weight: 500;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.1;
}

.page-header-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ===================== PARTNER ACCOUNT DASHBOARD ====================== */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-container .card {
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--mtn-grey-muted);
}

.card-container .card .top-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--mtn-grey-soft);
    margin-bottom: 1rem;
}

.card-container .card .top-card .left-content {
    display: flex;
    flex-direction: column;
}

.card-container .card .top-card .left-content h1 {
    font-size: 14px;
    color: var(--labelColor);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-container .card .top-card .left-content span {
    color: var(--textColor);
    font-size: 35px;
}

.card-container .card .top-card .right-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff5e5;
    padding: 0.7rem;
    border-radius: 10px;
}

.card-container .card a {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    text-decoration: none;
    color: var(--thickOrange);
}

.card-container .card a.except {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    text-decoration: none;
    color: var(--blackColor);
}

.card-container .card .bottom-card span {
    color: var(--blackColor);
    font-size: 35px;
}

/* ===================== TABLE SECTION ====================== */

.table-section-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--mtn-grey-soft);
    margin-top: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.select-rang {
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.select-rang .date-range {
    display: flex;
    gap: 1rem;
}

.select-rang .date-range input {
    padding: 0.75rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--mtn-grey-soft);
    background-color: #f9fafb;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.select-rang .date-range input:focus {
    border-color: var(--mtn-yellow);
    background-color: white;
}

.select-rang .apply-btn {
    padding: 0.75rem 2rem;
    border-radius: 20px;
    background-color: var(--mtn-yellow);
    font-size: 0.875rem;
    outline: none;
    border: none;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    gap: 3px;
}

.select-rang .apply-btn:hover {
    background-color: var(--mtn-yellow);
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-box svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 9999px;
    border: 1px solid var(--mtn-grey-soft);
    background-color: #f9fafb;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.search-box input:focus {
    border-color: var(--mtn-yellow);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    overflow: scroll;
    width: 100%;
}

.filter-actions::-webkit-scrollbar {
    display: none;
}

.filter-actions::-webkit-scrollbar-thumb {
    display: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background-color: var(--mtn-yellow);
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #111;
    max-width: 50%;
    flex-wrap: nowrap;
}

.filter-btn select {
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
}

.filter-btn:hover {
    background-color: #eab308;
}

.filter-btn b {
    font-family: var(--montserratBold);
}

.filter-btn.add-filter {
    background-color: var(--mtn-yellow);
}

/* Table Styles */
.responsive-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.responsive-table::-webkit-scrollbar {
    height: 6px;
}

.responsive-table::-webkit-scrollbar-thumb {
    background-color: var(--mtn-grey-soft);
    border-radius: 3px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px; /* Force scroll on small screens */
}

.data-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    font-family: var(--montserratBold);
    color: #4b5563;
    background-color: #f9fafb;
    border-bottom: 1px solid var(--mtn-grey-soft);
    white-space: nowrap;
}

.th-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.data-table td {
    padding: 1rem;
    font-size: 0.875rem;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    text-wrap: nowrap;
}

.customer-info {
    display: flex;
    flex-direction: column;
}

.customer-info .name {
    font-family: var(--montserratBold);
    font-size: 0.9375rem;
}

.customer-info .client {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.active {
    background-color: #ecfdf5;
    color: #059669;
}

.status-badge.active::before {
    background-color: #10b981;
}

.status-badge.pending {
    background-color: #fffaf0;
    color: #d97706;
}

.status-badge.pending::before {
    background-color: #f59e0b;
}

.status-badge.closed {
    background-color: #fef2f2;
    color: #dc2626;
}

.status-badge.closed::before {
    background-color: #ef4444;
}

.table-actions-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.table-actions-btn .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #111;
    flex-wrap: nowrap;
    outline: none;
    border: none;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.table-actions-btn .btn.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.table-actions-btn .btn.btn-trash {
    background-color: #ffecec;
    color: #b91c1c;
}

.table-actions-btn .btn.btn-edit {
    border: 1px solid #296caa;
    color: #296caa;
    background-color: transparent;
}

/* Footer & Pagination */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--mtn-grey-soft);
    flex-wrap: wrap;
    gap: 1rem;
}

.summary {
    font-size: 0.875rem;
    color: #004f70;
}

.summary b {
    font-family: var(--montserratBold);
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 0.5rem;
}

.dot.active {
    background-color: #10b981;
}
.dot.pending {
    background-color: #f59e0b;
}
.dot.closed {
    background-color: #ef4444;
}

.pagination {
    display: flex;
    gap: 0.4rem;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mtn-grey-soft);
    background: white;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #4b5563;
}

.page-btn:hover {
    border-color: var(--mtn-yellow);
    color: #111;
}

.page-btn.active {
    background-color: var(--mtn-yellow);
    border-color: var(--mtn-yellow);
    color: #111;
    font-weight: 600;
}

.page-btn.prev,
.page-btn.next {
    border-radius: 50%;
}

@media screen and (max-width: 768px) {
    .select-rang {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .select-rang .date-range {
        display: flex;
        gap: 1rem;
        width: 100%;
    }

    .select-rang .date-range input {
        padding: 0.75rem 1rem;
        border-radius: 20px;
        border: 1px solid var(--mtn-grey-soft);
        background-color: #f9fafb;
        font-size: 0.875rem;
        outline: none;
        transition: all 0.2s;
        width: 100%;
    }

    .select-rang .apply-btn {
        padding: 0.75rem 2rem;
        border-radius: 20px;
        background-color: var(--mtn-yellow);
        font-size: 0.875rem;
        outline: none;
        border: none;
        transition: all 0.2s;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        gap: 3px;
        width: 100%;
    }

    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: 100%;
    }

    .filter-actions {
        justify-content: flex-start;
    }

    .table-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================= Auth Pages ==================== */
.auth-page {
    background-image: url("../../images/auth-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--montserratRegular);
}

.auth-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-logo {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-logo .sidebar-brand-text span {
    font-size: 22px;
}

.auth-logo .sidebar-brand-text span:last-child {
    color: var(--primary-color);
}

.auth-logo img {
    height: 40px;
    object-fit: contain;
}

.auth-header h1 {
    font-family: var(--montserratBold);
    font-size: 1.75rem;
    color: #111;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.auth-tabs-container {
    text-align: left;
    margin-bottom: 24px;
}

.auth-tabs-container label {
    display: block;
    font-family: var(--montserratMedium);
    font-size: 0.875rem;
    color: #111;
    margin-bottom: 12px;
}

.auth-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.auth-tab {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    padding: 8px 0;
    font-family: var(--montserratMedium);
    font-size: 0.9rem;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-family: var(--montserratRegular);
    font-size: 1rem;
    color: #000;
    margin-bottom: 3px;
}

.auth-form .input-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--mtn-grey-soft);
    border-radius: 12px;
    padding: 12px;
}

.auth-form .input-with-icon svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.auth-form .input-with-icon input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background-color: transparent;
}

.auth-form .input-with-icon input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(1, 77, 109, 0.05);
}

.auth-form .toggle-password {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.auth-form .form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

.auth-form .forgot-link {
    font-size: 0.875rem;
    color: #ff0000;
    text-decoration: none;
    font-family: var(--montserratMedium);
}

.auth-form .btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--montserratBold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-form .btn-login:hover {
    background-color: #013d56;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 77, 109, 0.2);
}

.auth-form .btn-login:active {
    transform: translateY(0);
}

@media screen and (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}

.otp-fields {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.otp-input {
    width: 55px;
    height: 60px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    outline: none;
    transition: 0.3s ease;
}

.otp-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.resend-text {
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

.resend-text a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 480px) {
    .otp-input {
        width: 48px;
        height: 55px;
        font-size: 20px;
    }

    .otp-fields {
        gap: 8px;
    }
}

/* ================= View Request Submitted Page ==================== */
.view-request-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--mtn-grey-soft);
    overflow: hidden;
}

.view-request-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--mtn-grey-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-request-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.view-request-header i {
    color: #4b5563;
    font-size: 1rem;
}

.view-tabs-container {
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--mtn-grey-soft);
}

.view-tabs {
    display: flex;
    gap: 30px;
}

.view-tab {
    padding: 1rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    background: none;
    border: none;
    outline: none;
}

.view-tab.active {
    color: var(--primary-color);
}

.view-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.view-content {
    padding: 1.5rem;
}

.tab-pane {
    display: none;
}

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

/* Info Table Styles */
.info-table-container {
    width: 100%;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    text-align: left;
    background-color: #f9fafb;
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #374151;
    font-weight: 700;
    border-bottom: 1px solid #f3f4f6;
}

.info-table td {
    padding: 12px 15px;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table td:first-child {
    font-weight: 500;
    color: #111827;
    width: 35%;
}

/* Document List Styles */
.documents-header {
    background-color: #eef2ff;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.documents-header span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.tab-pane .documents-list {
    display: none;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    outline: none;
    background-color: var(--mtn-yellow);
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.document-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.doc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-icon img {
    max-width: 100%;
    height: auto;
}

.doc-details {
    display: flex;
    flex-direction: column;
}

.doc-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

.doc-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

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

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mtn-grey-soft);
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover {
    background-color: #f9fafb;
    border-color: var(--primary-color);
}

.btn-action.btn-view {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-action.btn-view:hover {
    background-color: #013d56;
}

.folder-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 1rem 0;
}

.folder-icon {
    margin-bottom: 10px;
}

/* Text styles */
.card h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.card p {
    font-size: 12px;
    color: #666;
}

.card span {
    font-size: 11px;
    color: #999;
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card */
.doc-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
    transition: 0.2s ease;
}

.doc-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Header */
.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.icon {
    width: 30px;
    height: 30px;
    background: #e5e5e5;
    border-radius: 6px;
}

.doc-header h3 {
    font-size: 14px;
    font-weight: 600;
}

/* Badge */
.badge {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.sales {
    background: #e6f0ff;
    color: #3b82f6;
}

.vetter {
    background: #e8f5e9;
    color: #22c55e;
}

.partner {
    background: #f1f1f1;
    color: #666;
}

/* Body */
.doc-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fafafa;
    padding: 12px;
    border-radius: 8px;
    gap: 10px;
}

.meta small {
    font-size: 10px;
    color: #999;
}

.meta p {
    font-size: 12px;
    font-weight: 500;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .doc-body {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .doc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .badge {
        align-self: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .info-table td {
        padding: 10px;
        font-size: 0.8rem;
    }

    .view-tabs {
        gap: 15px;
    }

    .document-actions {
        gap: 5px;
    }

    .btn-action {
        width: 32px;
        height: 32px;
    }
}

/* ================= View Details Modal ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--mtn-grey-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}

.modal-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header-title i {
    color: #4b5563;
    font-size: 1.1rem;
}

.modal-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-header-title.dashboard-title h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #949494;
    margin: 0;
}

.btn-close-modal {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-close-modal:hover {
    color: #4b5563;
}

.modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    background-color: #f3f4f6;
}

.info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

.info-title.except {
    margin-top: 2rem;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.field-group.except {
    margin: 1rem 0;
}

.field-group label {
    font-size: 0.85rem;
    text-transform: lowercase;
    font-weight: 700;
    color: #949494;
}

.field-group span {
    font-size: 1rem;
    color: #000;
}

.field-group input,
.field-group .select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: white;
    font-size: 0.95rem;
    color: #4b5563;
    outline: none;
}

.field-group textarea {
    height: 150px;
    outline: none;
    resize: none;
    padding: 1rem;
}

.field-group .select select {
    outline: none;
    border: none;
    background-color: transparent;
    width: 100%;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--mtn-grey-soft);
    background-color: #f3f4f6;
    display: flex;
    justify-content: flex-start;
}

.btn-download-docs {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--mtn-yellow);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download-docs:hover {
    background-color: #eab308;
}

@media screen and (max-width: 1024px) {
    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .fields-grid {
        grid-template-columns: 1fr;
    }

    .modal-container {
        max-height: 95vh;
        width: 100%;
        border-radius: 0;
    }

    .modal-overlay {
        padding: 0;
    }

    .modal-header,
    .modal-content,
    .modal-footer {
        padding: 1rem;
    }
}

/* ================= 10-Step Stepper ==================== */
.stepper-container {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-bottom: 1rem;
}

.stepper::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 90px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-active .step-circle {
    background-color: var(--mtn-yellow);
    color: #111827;
    box-shadow: 0 0 0 5px rgba(255, 203, 5, 0.2);
    transform: scale(1.1);
}

.step-completed .step-circle {
    background-color: #014d6d;
    color: white;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.step-active .step-label {
    color: #111827;
}

.step-completed .step-label {
    color: #014d6d;
}

/* Step Content Panes */
.step-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step-pane.active {
    display: block;
}

.step-pane-content {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #c2c2c2;
}

.step-pane-content.except {
    margin-bottom: 1rem;
}

.info-box {
    padding: 1rem;
    border-radius: 12px;
    background-color: #f0f3f7;
    margin-bottom: 1rem;
}

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

/* Instruction Bar */
.instruction-bar {
    background-color: #eef2ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.instruction-bar.danger {
    background-color: #fac8002b;
    border-left: 4px solid #c69e00;
}

.instruction-bar i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.instruction-bar.danger i {
    color: #c69e00;
}

.instruction-bar span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
}

.instruction-bar.danger span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c69e00;
}

/* Selection Cards (Step 1) */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.selection-card {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.selection-card:hover {
    border-color: var(--mtn-yellow);
    transform: translateY(-5px);
}

.selection-card.selected {
    background-color: var(--mtn-yellow);
    border-color: var(--mtn-yellow);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.selection-card .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.selection-card.selected .icon-circle {
    border-color: white;
    background-color: transparent;
}

.selection-card .icon-circle i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.selection-card.selected .icon-circle i {
    color: white;
}

.selection-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.selection-card.selected h3 {
    color: var(--primary-color);
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}

.btn-nav {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background-color: #e5e7eb;
    color: #4b5563;
}

.btn-prev:hover {
    background-color: #d1d5db;
}

.btn-next {
    background-color: var(--primary-color);
    color: white;
}

.btn-next:hover {
    background-color: #013d56;
}

/* Responsive Stepper */
@media screen and (max-width: 1200px) {
    .stepper {
        overflow-x: auto;
        padding-bottom: 2rem;
        gap: 1rem;
        justify-content: flex-start;
    }

    .stepper::before {
        display: none;
    }

    .step-item {
        min-width: 90px;
    }
}

@media screen and (max-width: 640px) {
    .selection-grid {
        grid-template-columns: 1fr;
    }

    .selection-card {
        padding: 2rem;
    }

    .stepper-container {
        padding: 1.5rem 1rem;
    }
}

.step-pane-content .form {
    display: flex;
    gap: 3rem;
}

.step-pane-content .form .left-form-container {
}

.step-pane-content .form .left-form-container label {
    font-size: 1rem;
    color: #111216;
    margin-bottom: 1rem;
}

.step-pane-content .required {
    color: red;
}

.step-pane-content .form .left-form-container .radio-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-pane-content .form .right-form-container {
    flex: 1;
}

.step-pane-content .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.step-pane-content .form-flex {
    display: flex;
    gap: 1rem;
}

.step-pane-content .form-flex .form-group {
    flex: 1;
}
date .step-pane-content .form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.step-pane-content .form-group input,
.step-pane-content .form-group .select,
.step-pane-content .form-group textarea {
    padding: 0.75rem;
    border: 1px solid #545f71;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: transparent;
}

.step-pane-content .form-group select {
    border: none;
    outline: none;
    background-color: transparent;
    width: 100%;
}

.step-pane-content .form-group input:focus,
.step-pane-content .form-group .select:focus,
.step-pane-content .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.1);
}

.toggle-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #ffffff;
    border-radius: 8px;
}

.toggle-option {
    position: relative;
    border: 1.5px solid #2d6ea3;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #2d6ea3;
    background: #f7f9fc;
    transition: 0.3s ease;
    user-select: none;
}

.toggle-option input {
    display: none;
}

.radio-circle {
    position: absolute;
    left: 16px;
    width: 22px;
    height: 22px;
    border: 2px solid #2d6ea3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.radio-circle::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: 0.3s ease;
}

.toggle-option.active {
    background: #346d99;
    color: white;
}

.toggle-option.active .radio-circle {
    border-color: white;
    background: transparent;
}

.toggle-option.active .radio-circle::after {
    background: white;
}

/* ================= Step 9: Document Upload ==================== */

.upload-docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.upload-doc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s ease;
}

.upload-doc-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.upload-doc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.upload-doc-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

.upload-doc-card-title i {
    font-size: 1rem;
    color: #6b7280;
}

.upload-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.upload-badge.required {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.upload-badge.optional {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.upload-drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background-color: #fafafa;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
    text-align: center;
    min-height: 130px;
}

.upload-drop-zone:hover,
.upload-drop-zone.drag-over {
    border-color: var(--primary-color);
    background-color: #f0f7ff;
}

.upload-drop-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.upload-drop-zone:hover .upload-drop-icon,
.upload-drop-zone.drag-over .upload-drop-icon {
    background-color: #dbeafe;
    color: var(--primary-color);
}

.upload-drop-text {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.upload-browse-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.upload-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

.upload-progress-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    width: 100%;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.upload-file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.upload-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1rem;
    flex-shrink: 0;
}

.upload-file-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.upload-file-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-file-size {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-remove-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1;
    transition:
        color 0.2s,
        background 0.2s;
}

.upload-remove-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

.upload-progress-bar-track {
    width: 100%;
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.upload-progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background-color: #ffcb05;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(0, 0, 0, 0.12) 0px,
        rgba(0, 0, 0, 0.12) 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 24px 24px;
    animation: barStripeMove 0.7s linear infinite;
    transition: width 0.15s ease;
}

@keyframes barStripeMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 24px 0;
    }
}

.upload-progress-label {
    display: flex;
    justify-content: flex-end;
}

.upload-progress-label span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .upload-docs-grid {
        grid-template-columns: 1fr;
    }

    .upload-drop-zone {
        padding: 1.5rem 1rem;
        min-height: 110px;
    }

    .step-pane-content .form {
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }

    .step-pane-content .form-flex {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

@media screen and (max-width: 480px) {
    .upload-doc-card {
        padding: 0.75rem;
    }

    .upload-file-name,
    .upload-file-size {
        font-size: 0.72rem;
    }
}

/* ============================step 11=========================== */
.top-lines {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.top-line {
    background: #f0f2f5;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.top-line .label {
    color: #6b7280;
    font-weight: 500;
}

.top-line .value {
    color: #0b5fa5;
    font-weight: 700;
}

.section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.section-title {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
    font-size: 17px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f0f2f5;
    border-radius: 12px;
}

.info-item:nth-child(2n) {
    border-right: none;
}

.info-label {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 6px;
}

.info-value {
    font-size: 15px;
    font-weight: 700;
    color: #0b5fa5;
    word-break: break-word;
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
}

.doc-box {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.doc-box-header {
    background: #eef4ff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

.doc-list {
    padding: 12px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    gap: 12px;
}

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

.doc-left {
    display: flex;
    gap: 10px;
    flex: 1;
}

.doc-icon {
    font-size: 16px;
    margin-top: 2px;
}

.doc-icon.uploaded {
    color: #ef4444;
}

.doc-icon.missing {
    color: #2563eb;
}

.doc-content {
    flex: 1;
}

.doc-name {
    font-size: 13px;
    font-weight: 600;
}

.doc-meta {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.doc-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.confirm-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.confirm-box input {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        border-right: none !important;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .top-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .doc-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .doc-actions {
        margin-left: 26px;
    }
}
