﻿/* =========================================
   PAGE
========================================= */

.orders-page {
    padding: 30px;
}


/* =========================================
   HEADER
========================================= */

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

    .orders-header h1 {
        font-size: 25px;
        font-weight: 700;
        color: #071b63;
        margin-bottom: 10px;
    }

    .orders-header p {
        font-size: 15px;
        color: #61708d;
    }


/* FILTERS */

.orders-filters {
    display: flex;
    gap: 18px;
}

.filter-box {
    height: 45px;
    padding: 0 20px;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #071b63;
    cursor: pointer;
}

    .filter-box i:last-child {
        margin-left: 12px;
        font-size: 12px;
    }


/* =========================================
   STATS
========================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    padding: 28px;
    min-height: 200px;
}

.stat-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.stat-card h5 {
    font-size: 13px;
    font-weight: 700;
    color: #071b63;
    margin-bottom: 10px;
}

.stat-card h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
}

.stat-card p {
    font-size: 14px;
    color: #61708d;
    margin-bottom: 20px;
}

.progress-bar {
    height: 14px;
    background: #edf2f7;
    border-radius: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 30px;
}


/* COLORS */

.blue .stat-icon {
    background: #edf3ff;
    color: #2453ff;
}

.blue h2 {
    color: #2453ff;
}

.blue-fill {
    background: #2453ff;
}

.green .stat-icon {
    background: #eefaf3;
    color: #16a34a;
}

.green h2 {
    color: #16a34a;
}

.green-fill {
    background: #22c55e;
}

.purple .stat-icon {
    background: #f4f0ff;
    color: #7c3aed;
}

.purple h2 {
    color: #7c3aed;
}

.purple-fill {
    background: #7c3aed;
}

.cyan .stat-icon {
    background: #eefbff;
    color: #06b6d4;
}

.cyan h2 {
    color: #06b6d4;
}


/* =========================================
   TABLE
========================================= */

.orders-table-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    overflow: hidden;
}

.table-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
}

    .table-header h3 {
        font-size: 25px;
        font-weight: 700;
        color: #071b63;
    }

    .table-header a {
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        color: #2453ff;
    }


/* TABLE */

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

    .orders-table thead {
        background: #f8fbff;
    }

    .orders-table th {
        padding: 20px 30px;
        font-size: 12px;
        font-weight: 700;
        color: #61708d;
        text-align: left;
    }

    .orders-table td {
        padding: 20px 30px;
        border-top: 1px solid #edf2f7;
        font-size: 13px;
        color: #071b63;
    }

        .orders-table td a {
            color: #2453ff;
            font-weight: 600;
            text-decoration: none;
        }


/* STATUS */

.status {
    padding: 8px 5px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.processing {
    background: #e9f9ee;
    color: #16a34a;
}

.shipped {
    background: #edf3ff;
    color: #2453ff;
}

.completed {
    background: #f4f0ff;
    color: #2453ff;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1400px) {

    .stats-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

@media(max-width:991px) {

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .orders-filters {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media(max-width:768px) {

    .orders-page {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .orders-header h1 {
        font-size: 38px;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .orders-table {
        min-width: 900px;
    }
}
/* =========================================
   DASHBOARD LAYOUT
========================================= */

.dashboard-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
  
}

.dashboard-content {
    padding: 30px;
    background: #ffffff;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:991px) {

    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .orders-filters {
        width: 100%;
        flex-wrap: wrap;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    /* LAYOUT */

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        padding: 20px;
    }


    /* SIDEBAR */

    .account-sidebar {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }


    /* HEADER */

    .orders-header h1 {
        font-size: 38px;
    }

    .orders-header p {
        font-size: 16px;
    }


    /* FILTERS */

    .orders-filters {
        flex-direction: column;
        width: 100%;
    }

    .filter-box {
        width: 100%;
        justify-content: space-between;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: auto;
    }

        .stat-card h2 {
            font-size: 42px;
        }


    /* TABLE */

    .orders-table-card {
        overflow: hidden;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .orders-table {
        min-width: 850px;
    }

    .table-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

        .table-header h3 {
            font-size: 28px;
        }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 576px) {

    .orders-page {
        padding: 0;
    }

    .dashboard-content {
        padding: 15px;
    }

    .orders-header h1 {
        font-size: 32px;
    }

    .stat-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stat-card {
        padding: 22px;
    }

    .table-header h3 {
        font-size: 24px;
    }
}

/* =========================================
   MOBILE FIXES
========================================= */

@media (max-width: 991px) {

    body,
    html {
        overflow-x: hidden;
    }

    .dashboard-layout {
        display: block;
    }

    .dashboard-content {
        width: 100%;
        padding: 15px;
    }

    .orders-page {
        width: 100%;
    }


    /* HEADER */

    .orders-header {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 24px;
    }

        .orders-header h1 {
            font-size: 36px;
            line-height: 1.2;
        }

        .orders-header p {
            font-size: 16px;
        }


    /* FILTERS */

    .orders-filters {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .filter-box {
        width: 100%;
        height: 50px;
        justify-content: space-between;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stat-card {
        width: 100%;
        min-height: auto;
        padding: 22px;
    }

    .stat-top {
        align-items: center;
    }

    .stat-card h2 {
        font-size: 42px;
    }


    /* TABLE */

    .orders-table-card {
        width: 100%;
        overflow: hidden;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .orders-table {
        min-width: 700px;
    }


    /* REMOVE EXTRA SPACING */

    .table-header {
        padding: 20px;
    }

    .orders-table th,
    .orders-table td {
        padding: 18px 20px;
    }
}



/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 576px) {

    .dashboard-content {
        padding: 12px;
    }

    .orders-header h1 {
        font-size: 30px;
    }

    .table-header h3 {
        font-size: 24px;
    }

    .stat-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .stat-card h2 {
        font-size: 36px;
    }
}




/* =========================================
   PAGE LAYOUT
========================================= */

.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
}

.dashboard-content {
    padding: 20px;
}

.order-details-page {
    width: 100%;
}


/* =========================================
   HEADER
========================================= */

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.order-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

    .order-title-row h1 {
        font-size: 18px;
        font-weight: 700;
        color: #071b63;
    }

.status-badge {
    height: 28px;
    padding: 0 12px;
    border-radius: 30px;
    background: #eaf8ef;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}


/* META */

.order-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2453ff;
    font-size: 13px;
}

.order-meta p {
    font-size: 13px;
    color: #61708d;
}

.order-meta strong {
    color: #071b63;
}

.green {
    color: #16a34a;
    font-weight: 600;
}


/* =========================================
   FILTERS
========================================= */

.orders-filters {
    display: flex;
    gap: 18px;
}

.filter-box {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #e6edf5;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #071b63;
}


/* =========================================
   CARD
========================================= */

.details-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

    .details-card h3 {
        font-size: 15px;
        font-weight: 700;
        color: #071b63;
        margin-bottom: 8px;
    }


/* TABLE */

.details-table {
    width: 100%;
    border-collapse: collapse;
}

    .details-table thead {
        background: #f8fbff;
    }

    .details-table th {
        padding: 10px 14px;
        text-align: left;
        color: #61708d;
        font-size: 12px;
        font-weight: 700;
    }

    .details-table td {
        padding: 10px 14px;
        border-top: 1px solid #edf2f7;
        font-size: 13px;
        font-weight: 600;
        color: #071b63;
    }


/* PRODUCT */

.product-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .product-info img {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        object-fit: cover;
    }


/* TOTAL */

.total-row td {
    color: #16a34a;
    font-size: 15px;
    font-weight: 600;
}


/* PAYMENT */

.payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
}

.visa-box {
    padding: 8px 12px;
    border-radius: 8px;
    background: #edf3ff;
    color: #2453ff;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   ADDRESS GRID
========================================= */

.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.address-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    padding: 16px;
}


/* TITLE */

.address-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.address-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.green-bg {
    background: #eefaf3;
    color: #16a34a;
}

.address-title h4 {
    font-size: 15px;
    font-weight: 700;
    color: #071b63;
}


/* CONTENT */

.address-content p {
    font-size: 13px;
    line-height: 1.7;
    color: #071b63;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: #071b63;
}

    .contact-item i {
        color: #16a34a;
    }


/* =========================================
   FOOTER
========================================= */

.page-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .page-footer p {
        color: #61708d;
    }

    .page-footer div {
        display: flex;
        gap: 30px;
    }

    .page-footer a {
        text-decoration: none;
        color: #2453ff;
        font-weight: 500;
    }


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1200px) {

    .address-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:991px) {

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        padding: 20px;
    }

    .order-header {
        flex-direction: column;
        gap: 20px;
    }

    .orders-filters {
        width: 100%;
        flex-direction: column;
    }

    .filter-box {
        justify-content: space-between;
    }
}

@media(max-width:768px) {

    .order-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

        .order-title-row h1 {
            font-size: 16px;
        }

    .details-card h3 {
        font-size: 28px;
    }

    .total-row td {
        font-size: 28px;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .details-table {
        min-width: 700px;
    }

    .page-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

        .page-footer div {
            flex-wrap: wrap;
        }
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1200px) {

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .orders-filters {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .address-grid {
        grid-template-columns: 1fr;
    }
}



 /* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 991px) {

    html,
    body {
        overflow-x: hidden;
    }


    /* LAYOUT */

    .dashboard-layout {
        display: block;
    }

    .dashboard-content {
        width: 100%;
        padding: 18px;
    }

    .order-details-page {
        width: 100%;
    }


    /* HEADER */

    .order-header {
        margin-bottom: 25px;
    }

    .order-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

        .order-title-row h1 {
            font-size: 38px;
            line-height: 1.2;
        }

    .status-badge {
        height: 38px;
        font-size: 14px;
    }


    /* META */

    .order-meta {
        align-items: flex-start;
    }

        .order-meta p {
            font-size: 15px;
            line-height: 1.7;
        }


    /* FILTERS */

    .orders-filters {
        width: 100%;
        flex-direction: column;
    }

    .filter-box {
        width: 100%;
        justify-content: space-between;
        height: 50px;
        font-size: 15px;
    }


    /* CARD */

    .details-card {
        padding: 22px;
    }

        .details-card h3 {
            font-size: 14px;
        }


    /* TABLE */

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .details-table {
        min-width: 700px;
    }

        .details-table th {
            padding: 18px;
            font-size: 13px;
        }

        .details-table td {
            padding: 20px 18px;
            font-size: 16px;
        }


    /* PRODUCT */

    .product-info img {
        width: 54px;
        height: 54px;
    }


    /* TOTAL */

    .total-row td {
        font-size: 28px;
    }


    /* ADDRESS */

    .address-card {
        padding: 24px;
    }

    .address-title h4 {
        font-size: 24px;
    }

    .address-content p {
        font-size: 16px;
    }

    .contact-item {
        font-size: 16px;
    }


    /* FOOTER */

    .page-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

        .page-footer div {
            flex-wrap: wrap;
            gap: 18px;
        }
}



 /* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 576px) {

    .dashboard-content {
        padding: 14px;
    }

    .order-title-row h1 {
        font-size: 32px;
    }

    .details-card {
        padding: 18px;
    }

        .details-card h3 {
            font-size: 24px;
        }

    .meta-icon {
        width: 40px;
        height: 40px;
    }

    .address-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .address-title {
        gap: 12px;
    }

        .address-title h4 {
            font-size: 22px;
        }

    .total-row td {
        font-size: 24px;
    }
}


/* =========================================
   FILTERS
========================================= */

.orders-filters {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* SEARCH */

.search-box {
    position: relative;
    width: 275px;
}

    .search-box input {
        width: 100%;
        height: 38px;
        border: 1px solid #dce4f2;
        border-radius: 10px;
        padding: 0 14px 0 40px;
        font-size: 13px;
        outline: none;
        transition: .3s;
    }

        .search-box input:focus {
            border-color: #2453ff;
        }

    .search-box i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #7f8aa3;
    }


/* SELECT */

.filter-select {
    height: 38px;
    min-width: 130px;
    border: 1px solid #dce4f2;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: #071b63;
    background: #fff;
    outline: none;
    cursor: pointer;
}


/* PAGINATION (orders list) */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #edf2f7;
    background: #fff;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: inline-block;
    padding: 6px 10px;
    min-width: 36px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    color: #2453ff;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    transition: background .12s ease, color .12s ease;
}

.pagination .page-item:hover .page-link {
    background: rgba(36,83,255,0.08);
}

.pagination .page-item.active .page-link {
    background: #2453ff;
    color: #fff;
    border-color: #2453ff;
}

.pagination .page-item.disabled .page-link {
    color: #9aa6bf;
    pointer-events: none;
    background: transparent;
}

/* summary text on the left */
.pagination-summary {
    color: #61708d;
    font-size: 14px;
    min-width: 220px;
}

/* responsive: stack on small screens */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pagination {
        order: 2;
    }

    .pagination-summary {
        order: 1;
    }
}
.stats-grid-details {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-bottom: 30px;
}

/* Sidebar: active item - only change text/icon color */
.account-sidebar li.active,
.account-sidebar li.active a {
  /* keep layout unchanged; only change color */
  color: #0b5fff; /* adjust to your brand color if needed */
}
/* =========================================
   ADDRESS HEADER
========================================= */

.address-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #ffffff 0%, #f9fbff 55%, #eef3ff 100%);
    border-radius: 20px 20px 0 0;
    min-height: 100px;
    border-bottom: 1px solid #edf1f7;
    padding: 0;
}

/* =========================================
   INNER FLEX
========================================= */

.address-banner-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    padding: 20px 28px;
    z-index: 2;
}

/* =========================================
   LEFT CONTENT
========================================= */

.address-banner-left {
    position: relative;
    z-index: 3;
}

    .address-banner-left h1 {
        font-size: 32px;
        line-height: 1;
        font-weight: 800;
        color: #17306b;
        margin: 0 0 6px;
        letter-spacing: -0.5px;
    }

    .address-banner-left p {
        font-size: 13px;
        color: #667085;
        font-weight: 500;
        margin: 0;
    }

/* =========================================
   RIGHT AREA
========================================= */

.address-banner-right {
    position: relative;
    width: 420px;
    height: 170px;
    flex-shrink: 0;
}

/* =========================================
   BUILDINGS
========================================= */

.city-buildings {
    position: absolute;
    right: 95px;
    bottom: 18px;
    width: 250px;
    height: 90px;
    opacity: 0.18;
}

    .city-buildings::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(#b8c4e8, #b8c4e8) 0 38px / 32px 52px no-repeat, linear-gradient(#b8c4e8, #b8c4e8) 42px 12px / 42px 78px no-repeat, linear-gradient(#b8c4e8, #b8c4e8) 98px 28px / 32px 62px no-repeat, linear-gradient(#b8c4e8, #b8c4e8) 145px 18px / 38px 72px no-repeat, linear-gradient(#b8c4e8, #b8c4e8) 198px 24px / 34px 66px no-repeat;
    }

/* =========================================
   DASHED ROUTE
========================================= */

.route-line {
    position: absolute;
    top: 40px;
    right: 120px;
    width: 260px;
    height: 70px;
    border-top: 3px dashed #8faeff;
    border-radius: 50%;
    transform: rotate(4deg);
    opacity: 0.9;
}

/* =========================================
   SMALL PIN
========================================= */

.map-pin-small {
    position: absolute;
    top: 10px;
    right: 290px;
    width: 26px;
    height: 26px;
    background: #7da6ff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

    .map-pin-small::after {
        content: "";
        position: absolute;
        width: 9px;
        height: 9px;
        background: #fff;
        border-radius: 50%;
        top: 8px;
        left: 8px;
    }

/* =========================================
   LARGE PIN
========================================= */

.map-pin-large {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 82px;
    height: 82px;
    background: linear-gradient(180deg, #4d83ff 0%, #1d5dff 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 18px 35px rgba(29, 93, 255, 0.22);
}

    .map-pin-large::after {
        content: "";
        position: absolute;
        width: 34px;
        height: 34px;
        background: #fff;
        border-radius: 50%;
        top: 24px;
        left: 24px;
    }

/* =========================================
   TABS
========================================= */

.address-tabs {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    border-bottom: 1px solid #edf1f7;
    background: #fff;
}

.tab-btn {
    position: relative;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #6c7893;
    cursor: pointer;
}

    .tab-btn.active {
        color: #2d5cff;
    }

        .tab-btn.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 100%;
            height: 3px;
            background: #2d5cff;
            border-radius: 20px;
        }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .address-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .address-banner-right {
        width: 100%;
    }

    .address-banner-left h1 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {

    .address-header {
        min-height: auto;
    }

    .address-banner-content {
        padding: 28px 24px;
    }

    .address-banner-left h1 {
        font-size: 22px;
    }

    .address-banner-left p {
        font-size: 12px;
    }

    .address-banner-right {
        height: 120px;
    }

    .map-pin-large {
        width: 60px;
        height: 60px;
    }

        .map-pin-large::after {
            width: 24px;
            height: 24px;
            top: 18px;
            left: 18px;
        }

    .route-line {
        width: 170px;
        right: 70px;
    }

    .city-buildings {
        right: 60px;
        width: 170px;
    }

    .address-tabs {
        padding: 0 24px;
        gap: 24px;
        overflow-x: auto;
    }
}
/* =========================================
   MAIN CARD
========================================= */

.address-card-main {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e8edf5;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

/* =========================================
   TAB CONTENT
========================================= */

.tab-content {
    padding: 22px 24px 28px;
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* =========================================
   FORM GRID
========================================= */

.address-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
}

/* FULL WIDTH */

.form-group.full {
    grid-column: span 2;
}

/* =========================================
   LABELS
========================================= */

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #122b6a;
    margin-bottom: 6px;
}

    .form-group label span {
        color: #ff4d4f;
    }

/* =========================================
   INPUT WRAPPER
========================================= */

.input-wrap {
    position: relative;
}

    /* =========================================
   ICONS
========================================= */

    .input-wrap i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #667085;
        font-size: 16px;
        z-index: 2;
    }

    /* =========================================
   INPUTS
========================================= */

    .input-wrap input,
    .input-wrap select,
    .form-group > input {
        width: 100%;
        height: 42px;
        border: 1px solid #d7dfeb;
        border-radius: 10px;
        background: #fff;
        padding: 0 14px 0 40px;
        font-size: 13px;
        font-weight: 500;
        color: #122b6a;
        transition: all 0.25s ease;
        outline: none;
    }

/* INPUT WITHOUT ICON */

.form-group > input {
    padding-left: 14px;
}

    /* =========================================
   FOCUS
========================================= */

    .input-wrap input:focus,
    .input-wrap select:focus,
    .form-group > input:focus {
        border-color: #2d5cff;
        box-shadow: 0 0 0 4px rgba(45, 92, 255, 0.08);
    }

/* =========================================
   SELECT
========================================= */

.input-wrap select {
    appearance: none;
    cursor: pointer;
}

/* CUSTOM DROPDOWN */

.input-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
    font-size: 13px;
    pointer-events: none;
}

/* ONLY FOR SELECT */

.input-wrap:has(input)::after {
    display: none;
}

/* =========================================
   BUTTON
========================================= */

.save-address-btn {
    margin-top: 20px;
    border: none;
    background: linear-gradient(180deg, #3870ff 0%, #2158f5 100%);
    color: #fff;
    height: 40px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(33, 88, 245, 0.18);
}

    .save-address-btn:hover {
        transform: translateY(-2px);
    }

/* =========================================
   PLACEHOLDER
========================================= */

::placeholder {
    color: #98a2b3;
    font-weight: 400;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .address-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {

    .tab-content {
        padding: 24px;
    }

    .input-wrap input,
    .input-wrap select,
    .form-group > input {
        height: 40px;
        font-size: 13px;
    }

    .save-address-btn {
        width: 100%;
        justify-content: center;
    }
}
/* =========================================
   ADDRESS TOAST
========================================= */

.address-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 320px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

    /* SHOW */

    .address-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* SUCCESS */

    .address-toast.success {
        border-left: 5px solid #16a34a;
    }

    /* ERROR */

    .address-toast.error {
        border-left: 5px solid #dc2626;
    }

    /* ICON */

    .address-toast .toast-icon {
        font-size: 22px;
        margin-top: 2px;
    }

    .address-toast.success .toast-icon i {
        color: #16a34a;
    }

    .address-toast.error .toast-icon i {
        color: #dc2626;
    }

    /* CONTENT */

    .address-toast .toast-content h4 {
        margin: 0 0 4px;
        font-size: 16px;
        font-weight: 600;
        color: #111827;
    }

    .address-toast .toast-content p {
        margin: 0;
        font-size: 14px;
        color: #6b7280;
        line-height: 1.4;
    }

.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f5;
}

    .table-header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #0b1f44;
    }

.kits-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kits-search-wrapper {
    display: flex;
    align-items: center;
}

#kitsSearch {
    width: 300px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #d8dee9;
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: all 0.2s ease;
}

    #kitsSearch:focus {
        border-color: #2f54eb;
        box-shadow: 0 0 0 4px rgba(47,84,235,0.10);
    }

.kits-export-wrapper {
    display: flex;
    align-items: center;
}

.export-btn {
    height: 42px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: #2f54eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.2s ease;
}

    .export-btn:hover {
        background: #1d39c4;
    }

/* =========================================
   PAYMENT METHOD PAGE
========================================= */

.payment-method-page {
    width: 100%;
}

/* =========================================
   HEADER
========================================= */

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.page-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2f54eb;
}

.payment-header h1 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #0b1f44;
}

.payment-header p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* =========================================
   BUTTONS
========================================= */

.add-payment-btn,
.save-payment-btn {
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #2f54eb;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .add-payment-btn:hover,
    .save-payment-btn:hover {
        background: #1d39c4;
        transform: translateY(-1px);
    }

/* =========================================
   SAVED CARDS
========================================= */

.saved-cards-section {
    margin-bottom: 18px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

    .section-header h3 {
        margin: 0 0 3px;
        font-size: 15px;
        font-weight: 700;
        color: #0b1f44;
    }

    .section-header p {
        margin: 0;
        font-size: 12px;
        color: #6b7280;
    }

.saved-count {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(47,84,235,0.08);
    color: #2f54eb;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================
   CARD GRID
========================================= */

.saved-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.saved-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

    .saved-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    }

   

.active-card {
    border: 2px solid #2f54eb;
}

/* =========================================
   CARD TOP
========================================= */

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-brand {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

    .card-brand.visa {
        background: linear-gradient( 135deg, #2563eb, #1d4ed8);
    }

    .card-brand.mastercard {
        background: linear-gradient( 135deg, #f97316, #ea580c);
    }

.default-badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16,185,129,0.12);
    color: #059669;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================
   CARD DETAILS
========================================= */

.card-number {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0f172a;
    margin-bottom: 10px;
}

.card-holder {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 3px;
}

.card-bottom strong {
    font-size: 14px;
    color: #1e293b;
}

/* =========================================
   CARD ACTIONS
========================================= */

.card-actions {
    margin-top: auto;
}

.card-action-btn {
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .card-action-btn.danger {
        background: #fef2f2;
        color: #dc2626;
    }

        .card-action-btn.danger:hover {
            background: #fee2e2;
        }

        

/* =========================================
   FORM CARD
========================================= */

.payment-form-card {
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8edf5;
}

.payment-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.payment-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .payment-title i {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: rgba(47,84,235,0.08);
        color: #2f54eb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    .payment-title h3 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #0b1f44;
    }

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(16,185,129,0.12);
    color: #059669;
    font-size: 11px;
    font-weight: 600;
}

/* =========================================
   INFO BOX
========================================= */

.payment-info {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f5f7ff;
    color: #44516b;
    font-size: 14px;
}

/* =========================================
   FORM GRID
========================================= */

.payment-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 20px;
}

.payment-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.payment-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* =========================================
   FORM GROUP
========================================= */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 600;
        color: #334155;
    }

    .form-group input,
    .form-group select {
        height: 52px;
        padding: 0 16px;
        border: 1px solid #d8dee9;
        border-radius: 14px;
        background: #fff;
        font-size: 14px;
        outline: none;
        transition: all 0.2s ease;
    }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #2f54eb;
            box-shadow: 0 0 0 4px rgba(47,84,235,0.10);
        }

/* =========================================
   NOTE
========================================= */

.payment-note {
    margin: 6px 0 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

/* =========================================
   ACTIONS
========================================= */

.payment-actions {
    display: flex;
    justify-content: flex-end;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .payment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-form-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-grid-3,
    .payment-grid-2 {
        grid-template-columns: 1fr;
    }

    .payment-actions {
        justify-content: stretch;
    }

    .save-payment-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .saved-cards-grid {
        grid-template-columns: 1fr;
    }

    .card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-actions {
        flex-direction: column;
    }

    .payment-header h1 {
        font-size: 18px;
    }
}
.payment-method-page {

    width: 100%;
}

.dashboard-layout {

    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: start;
}

.dashboard-content {

    padding: 30px;
    width: 100%;
    min-width: 0;
}

.account-sidebar {

    height: fit-content;
    position: sticky;
    top: 20px;
}

.payment-header {

    margin-bottom: 34px;
}

.saved-cards-section {

    width: 100%;
}

.saved-cards-grid {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.saved-card {

    width: 100%;
}

@media(max-width:1200px) {

    .saved-cards-grid {

        grid-template-columns: 1fr;
    }
}

@media(max-width:991px) {

    .dashboard-layout {

        display: block;
    }

    .dashboard-content {

        padding: 18px;
    }

    .account-sidebar {

        position: relative;
        top: unset;
    }
}
.cart-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 340px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.12);
    z-index: 99999;
    transform: translateX(420px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

    .cart-toast.show {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .cart-toast.success {
        border-left: 5px solid #16a34a;
    }

    .cart-toast.error {
        border-left: 5px solid #dc2626;
    }

.toast-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(37,99,235,0.08);
}

    .toast-icon i {
        font-size: 22px;
    }

.cart-toast.success .toast-icon i {
    color: #16a34a;
}

.cart-toast.error .toast-icon i {
    color: #dc2626;
}

.toast-content h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.toast-content p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}



.account-details-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-header {
    margin-bottom: 4px;
}

.page-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1E88E5;
    text-transform: uppercase;
}

.account-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.2;
}

.account-header p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    max-width: 700px;
}

.account-form-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-section {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 18px;
}

    .account-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .section-title i {
        font-size: 15px;
        color: #1E88E5;
    }

    .section-title h3 {
        font-size: 15px;
        font-weight: 700;
        color: #111827;
        margin: 0;
    }

.account-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.account-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.full-width {
    width: 100%;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0;
}

.form-group input {
    width: 100%;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

    .form-group input::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

    .form-group input:focus {
        outline: none;
        border-color: #1E88E5;
        box-shadow: 0 0 0 3px rgba(30,136,229,0.10);
    }

.form-group small {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 0;
}

.password-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.password-input {
    position: relative;
}

    .password-input input {
        padding-right: 40px;
    }

    .password-input i {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 13px;
        cursor: pointer;
        transition: 0.3s ease;
    }

        .password-input i:hover {
            color: #1E88E5;
        }

.account-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.save-account-btn {
    height: 32px;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    background: #1E88E5;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .save-account-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(30,136,229,0.22);
    }

    .save-account-btn:active {
        transform: translateY(0);
    }

@media (max-width: 992px) {

    .account-form-card {
        padding: 18px;
    }

    .account-header h1 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .account-grid-2 {
        grid-template-columns: 1fr;
    }

    .account-form-card {
        padding: 16px;
        border-radius: 12px;
    }

    .account-header h1 {
        font-size: 18px;
    }

    .account-header p {
        font-size: 12px;
    }

    .section-title h3 {
        font-size: 14px;
    }

    .password-box {
        padding: 14px;
    }

    .form-group input {
        height: 38px;
        font-size: 13px;
    }

    .save-account-btn {
        width: 100%;
        height: 32px;
    }

    .account-actions {
        justify-content: stretch;
    }
}

@media (max-width: 480px) {

    .account-form-card {
        padding: 20px;
    }

    .account-header h1 {
        font-size: 24px;
    }

    .section-title {
        margin-bottom: 22px;
    }

        .section-title i {
            font-size: 18px;
        }

        .section-title h3 {
            font-size: 18px;
        }
}



.save-btn {
    position: relative;
    min-width: 190px;
    height: 54px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .save-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(37,99,235,0.25);
    }

/* LOADER */

.btn-loader {
    display: none;
    align-items: center;
    gap: 5px;
}

    .btn-loader span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        animation: bounce 0.6s infinite alternate;
    }

        .btn-loader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .btn-loader span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes bounce {

    from {
        transform: translateY(0);
        opacity: 0.5;
    }

    to {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.save-btn {
    position: relative;
    min-width: 220px;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* LOADER HIDDEN */

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    /* DOTS */

    .btn-loader span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        animation: loaderBounce 0.6s infinite alternate;
    }

        .btn-loader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .btn-loader span:nth-child(3) {
            animation-delay: 0.4s;
        }

/* ANIMATION */

@keyframes loaderBounce {

    from {
        transform: translateY(0);
        opacity: 0.5;
    }

    to {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* LOADING STATE */

.save-btn.loading {
    opacity: 0.95;
    pointer-events: none;
}

    .save-btn.loading .btn-text {
        display: none;
    }

    .save-btn.loading .btn-loader {
        display: flex;
    }


/* =========================================
   UPDATED PAYMENT FORM UI
========================================= */

.payment-grid-main {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 18px;
    align-items: end;
}

/* LABELS */

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.3px;
}

/* INPUTS + SELECTS */

.form-group input,
.form-group select {
    width: 100%;
    height: 54px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 16px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.25s ease;
    outline: none;
}

    /* FOCUS */

    .form-group input:focus,
    .form-group select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

/* CARD NUMBER */

#fullCardNumber {
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 600;
}

/* EXPIRY GRID */

.payment-grid-expiry {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.small-field {
    width: 105px;
}

    /* DROPDOWN STYLE */

    .small-field select {
        appearance: none;
        cursor: pointer;
        font-weight: 600;
        text-align: center;
        padding-right: 34px;
        background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
        background-position: calc(100% - 18px) 24px, calc(100% - 12px) 24px;
        background-size: 6px 6px;
        background-repeat: no-repeat;
    }

/* BUTTON */

.save-payment-btn {
    height: 54px;
    padding: 0 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

    .save-payment-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
    }

/* RESPONSIVE */

@media(max-width:991px) {

    .payment-grid-main {
        grid-template-columns: 1fr;
    }

    .payment-grid-expiry {
        width: 100%;
    }

    .small-field {
        flex: 1;
        width: auto;
    }

    .save-payment-btn {
        width: 100%;
    }
}

/*Css KIT*/
/* =========================================
   DATE PICKER (MODERN)
========================================= */

.kits-date-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .kits-date-wrapper i {
        position: absolute;
        left: 14px;
        color: #7f8aa3;
        font-size: 14px;
    }

#kitsDateFilter {
    width: 180px;
    height: 42px;
    padding: 0 14px 0 38px;
    border: 1px solid #d8dee9;
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: all 0.2s ease;
}

    #kitsDateFilter:focus {
        border-color: #2f54eb;
        box-shadow: 0 0 0 4px rgba(47,84,235,0.10);
    }

/* CLEAR BUTTON */

.clear-btn {
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d8dee9;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

    .clear-btn:hover {
        border-color: #2f54eb;
        color: #2f54eb;
    }

/* =========================================
   FLATPICKR OVERRIDE (MODERN LOOK)
========================================= */

.flatpickr-calendar {
    border-radius: 14px;
    border: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    font-family: inherit;
}

.flatpickr-day.selected {
    background: #2f54eb;
    border-color: #2f54eb;
}

.flatpickr-day:hover {
    background: rgba(47,84,235,0.12);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .kits-toolbar {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }

    #kitsSearch {
        width: 100%;
    }

    #kitsDateFilter {
        width: 100%;
    }

    .kits-date-wrapper {
        width: 100%;
    }

    .clear-btn {
        width: 100%;
    }

    .export-btn {
        width: 100%;
    }
}

.kits-date-wrapper {
    position: relative;
    min-width: 220px;
}

#kitsDateRange {
    width: 220px;
    height: 42px;
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    padding: 0 12px 0 38px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.kits-date-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.inRange {
    background: #3154f4 !important;
    border-color: #3154f4 !important;
}

.flatpickr-input[readonly] {
    background: #fff;
}

.table-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #edf2f7;
}

.pagination-btn {
    border: 1px solid #dbe3ef;
    background: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

    .pagination-btn:hover {
        background: #f8faff;
    }

    .pagination-btn:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

#pageInfo {
    font-weight: 600;
    color: #64748b;
}
/* ===========================
   PAGINATION
=========================== */

.table-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-top: 1px solid #edf2f7;
}

/* BUTTONS */

.pagination-btn {
    min-width: 110px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

    .pagination-btn:hover:not(:disabled) {
        background: #1d4ed8;
        transform: translateY(-1px);
    }

    .pagination-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .pagination-btn:disabled {
        background: #cbd5e1;
        color: #64748b;
        cursor: not-allowed;
        transform: none;
    }

/* PAGE TEXT */

#pageInfo {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    min-width: 110px;
    text-align: center;
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 768px) {

    .table-pagination {
        padding: 20px;
        gap: 12px;
    }

    .pagination-btn {
        min-width: 95px;
        padding: 10px 16px;
        font-size: 13px;
    }

    #pageInfo {
        font-size: 14px;
    }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 576px) {

    .table-pagination {
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px;
    }

    .pagination-btn {
        width: 100%;
        max-width: 180px;
    }

    #pageInfo {
        width: 100%;
        order: -1;
        margin-bottom: 6px;
    }
}

/* ===========================
   PAGINATION
=========================== */

.table-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #edf2f7;
    background: #fff;
    flex-wrap: wrap;
}

.page-link-btn {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .page-link-btn:disabled {
        color: #94a3b8;
        cursor: not-allowed;
    }

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #2563eb;
    background: transparent;
    transition: .2s;
}

    .page-number:hover {
        background: #eef4ff;
    }

    .page-number.active {
        background: #2563eb;
        color: #fff;
    }

.pagination-summary {
    margin-left: auto;
    color: #64748b;
    font-size: 15px;
}

/* MOBILE */

@media (max-width:768px) {

    .table-pagination {
        justify-content: center;
    }

    .pagination-summary {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 10px;
    }
}

.export-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.required {
    color: #dc3545;
    font-weight: 600;
    margin-left: 2px;
}

.text-danger {
    color: #dc3545;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}