﻿body {
    background: #f4f7fb;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.page-wrapper {
    padding: 25px;
}

.bg-header {
    background: linear-gradient(135deg, #0b1f55, #1d4ed8);
}

.main-title {
    background: linear-gradient(135deg, #0b1f55, #1d4ed8);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    margin-bottom: 18px;
}

.sub-title {
    background: #ffffff;
    color: #334155;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 22px;
    box-shadow: 0 5px 18px rgba(15,23,42,.08);
    border-left: 5px solid #2563eb;
}

.sub-title-ils {
    background: #b9dfe2;
    color: #0d5c63;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 22px;
    box-shadow: 0 5px 18px rgba(15,23,42,.08);
    border-left: 5px solid #0d5c63;
}

.sub-title-gls {
    background: #c3bddd;
    color: #51409b;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 22px;
    box-shadow: 0 5px 18px rgba(15,23,42,.08);
    border-left: 5px solid #51409b;
}

.sub-title-a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.sub-title-a:hover {
        color: #0f172a;
        text-decoration: none;
}

.scheme-title {
    margin: 30px 0 18px;
    padding: 12px 18px;
    background: linear-gradient(90deg, #e0f2fe, #ffffff);
    border-left: 6px solid #2563eb;
    color: #0f172a;
    font-size: 19px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.dashboard-link {
    text-decoration: none !important;
    color: inherit;
}

.count-box {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: 28px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .10);
    transition: all .35s ease;
    margin-bottom: 22px;
}

    .count-box:before {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        right: -35px;
        top: -35px;
        background: rgba(37, 99, 235, .10);
        border-radius: 50%;
    }

    .count-box:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 35px rgba(37, 99, 235, .20);
        border-color: #93c5fd;
    }

.count-value {
    font-size: 42px;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1;
    margin-bottom: 12px;
}

.count-label {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.box-received .count-value {
    color: #2563eb;
}

.box-rejected .count-value {
    color: #dc2626;
}

.box-recommended .count-value {
    color: #16a34a;
}

.box-rejected:before {
    background: rgba(220, 38, 38, .10);
}

.box-recommended:before {
    background: rgba(22, 163, 74, .10);
}

.table-card {
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15,23,42,.10);
    border: 1px solid #e5e7eb;
    overflow-x: auto;
}

.gv {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border:0px;
    font-size: 15px;
    margin-top:10px;
    margin-bottom: 10px;
    min-width: 950px;
}

.gv-header th,
.gv-headeritem {
    background: linear-gradient(135deg, #1d4ed8);
    color: #ffffff;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
}

    .gv-header th:first-child {
        border-top-left-radius: 12px;
    }

    .gv-header th:last-child {
        border-top-right-radius: 12px;
    }

.gv-row td {
    padding: 5px 10px;
    color: #334155;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    background: #ffffff;
}

.gv-row-alt td {
    background: #f8fbff;
}

.gv-row:hover td {
    background: #eef6ff;
    transition: .25s ease;
}

.gv-item-left {
    padding: 6px 6px 6px 6px;
    text-align: left;
}

.gv-item-right {
    padding: 6px 6px 6px 6px;
    text-align: right;
}

.gv-item-center {
    padding: 6px 6px 6px 6px;
    text-align: center;
}

.gv-col-hide {
    display: none;
}

.gv .btn-primary {
    background: linear-gradient(135deg, #2563eb, #0f52ba);
    border: none;
    border-radius: 20px;
    padding: 7px 14px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(37,99,235,.28);
    transition: .25s ease;
}

    .gv .btn-primary:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #0f52ba, #06164a);
        box-shadow: 0 10px 20px rgba(37,99,235,.35);
    }


/*=========================== GRIDVIEW ILS ===================================*/
.gv-ils {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0px;
    font-size: 15px;
    margin: 0;
    min-width: 950px;
}

.gv-ils-header th,
.gv-ils-headeritem {
    background: linear-gradient(135deg, #0d5c63);
    color: #ffffff;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
}

    .gv-ils-header th:first-child {
        border-top-left-radius: 12px;
    }

    .gv-ils-header th:last-child {
        border-top-right-radius: 12px;
    }

.gv-ils-row td {
    padding: 5px 10px;
    color: #334155;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    background: #ffffff;
}

.gv-ils-row-alt td {
    background: #aad1d4;
}

.gv-ils-row:hover td {
    background: #7cb8bd;
    transition: .25s ease;
}

.gv-ils-item-left {
    padding: 6px 6px 6px 6px;
    text-align: left;
}

.gv-ils-item-right {
    padding: 6px 6px 6px 6px;
    text-align: right;
}

.gv-ils-item-center {
    padding: 6px 6px 6px 6px;
    text-align: center;
}

.gv-ils-col-hide {
    display: none;
}

.gv-ils .btn-primary {
    background: linear-gradient(135deg, #0c5a60, #26777d);
    border: none;
    border-radius: 20px;
    padding: 7px 14px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(37,99,235,.28);
    transition: .25s ease;
}

    .gv-ils .btn-primary:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #26777d, #0c5a60);
        box-shadow: 0 10px 20px rgb(37, 235, 229, 0.35);
    }

/*=========================== GRIDVIEW GLS ===================================*/
.gv-gls {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0px;
    font-size: 15px;
    margin: 0;
    min-width: 950px;
}

.gv-gls-header th,
.gv-gls-headeritem {
    background: linear-gradient(135deg, #51409b);
    color: #ffffff;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
}

    .gv-gls-header th:first-child {
        border-top-left-radius: 12px;
    }

    .gv-gls-header th:last-child {
        border-top-right-radius: 12px;
    }

.gv-gls-row td {
    padding: 5px 10px;
    color: #334155;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    background: #ffffff;
}

.gv-gls-row-alt td {
    background: #c3bdde;
}

.gv-gls-row:hover td {
    background: #a095d0;
    transition: .25s ease;
}

.gv-gls-item-left {
    padding: 6px 6px 6px 6px;
    text-align: left;
}

.gv-gls-item-right {
    padding: 6px 6px 6px 6px;
    text-align: right;
}

.gv-gls-item-center {
    padding: 6px 6px 6px 6px;
    text-align: center;
}

.gv-gls-col-hide {
    display: none;
}

.gv-gls .btn-primary {
    background: linear-gradient(135deg, #483989, #51409b);
    border: none;
    border-radius: 20px;
    padding: 7px 14px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgb(101, 78, 196, 0.28);
    transition: .25s ease;
}

    .gv-gls .btn-primary:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #51409b, #483989);
        box-shadow: 0 10px 20px rgb(37, 235, 229, 0.35);
    }

.alert-danger {
    border-radius: 12px;
    font-weight: 600;
}

.loan-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15,23,42,.10);
    margin-bottom: 25px;
}

.loan-card-header {
    background: linear-gradient(135deg,#0b1f55,#2563eb);
    color: #fff;
    padding: 18px 25px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
}

.loan-info-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #edf2f7;
}

    .loan-info-row:last-child {
        border-bottom: none;
    }

.loan-label {
    width: 35%;
    background: #f8fafc;
    padding: 16px 20px;
    font-weight: 600;
    color: #334155;
    border-right: 1px solid #edf2f7;
}

.loan-value {
    width: 65%;
    padding: 16px 20px;
    color: #0f172a;
    font-weight: 500;
}

.amount-value {
    color: #16a34a;
    font-size: 17px;
    font-weight: 700;
}

.loan-highlight {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-block;
}

.tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15,23,42,.08);
    border: 1px solid #dbeafe;
}

/* Header */

.tbl-header {
    background: linear-gradient(135deg,#0b1f55,#2563eb);
    color: #ffffff;
}

.tbl-headeritem {
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    border: none;
    color: #ffffff;
}

/* Rows */

.tbl tr:not(.tbl-header):hover {
    background: #f8fbff;
    transition: all .25s ease;
}

.tbl-row {
    background: #ffffff;
    color: #334155;
    font-size: 14px;
}

/* Cell Styles */

.tbl-item-left {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    vertical-align: middle;
}

.tbl-item-right {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    vertical-align: middle;
    font-weight: 600;
}

.tbl-item-center {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    vertical-align: middle;
}

/* First Column Label Style */

.tbl tr td:first-child.tbl-item-left {
    background: #f8fafc;
    font-weight: 700;
    color: #334155;
    width: 35%;
}

/* Alternate Rows */

.tbl tr:nth-child(even):not(.tbl-header) {
    background: #fafcff;
}

/* Amount Highlight */

.tbl-amount {
    color: #16a34a;
    font-weight: 800;
    font-size: 15px;
}

/* Status Colors */

.tbl-success {
    color: #16a34a;
    font-weight: 700;
}

.tbl-danger {
    color: #dc2626;
    font-weight: 700;
}

.tbl-warning {
    color: #d97706;
    font-weight: 700;
}

/* Hidden Column */

.tbl-col-hide {
    display: none;
}

/* ===========   GRID SEARCH ================ */

.grid-search-panel {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.grid-search-box {
    position: relative;
}

.grid-search-input {
    height: 42px;
    padding-left: 42px !important;
    padding-right: 40px !important;
    border: 1px solid #cbd7e3;
    border-radius: 8px;
    font-size: 0.88rem;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

    .grid-search-input:focus {
        border-color: #2878c7;
        box-shadow: 0 0 0 0.15rem rgba(40, 120, 199, 0.12);
    }

.grid-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #607d9a;
    z-index: 5;
}

.grid-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #8a98a8;
    cursor: pointer;
    padding: 4px 7px;
    z-index: 5;
}

    .grid-search-clear:hover {
        color: #dc3545;
    }

.grid-search-result {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #52677d;
}

.grid-search-highlight {
    background-color: #fff3a3;
}


.shg-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15,23,42,.10);
    margin-bottom: 25px;
    overflow: hidden;
}

.shg-card-header {
    background: linear-gradient(135deg, #0b1f55, #2563eb);
    color: #ffffff;
    padding: 18px 24px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .4px;
}

.shg-section {
    padding: 22px;
}

.info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    height: 100%;
}

.info-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.section-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 25px 0 15px;
    border-left: 5px solid #2563eb;
    padding-left: 12px;
}

.dist-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15,23,42,.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.dist-header {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.dist-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #edf2f7;
    font-weight: 600;
}

    .dist-row:last-child {
        border-bottom: none;
    }

.dist-total {
    background: #f8fafc;
    color: #16a34a;
    font-weight: 800;
}

.dist-count {
    background: #e0f2fe;
    color: #0369a1;
    min-width: 44px;
    text-align: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
}

.loan-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15,23,42,.10);
    margin-bottom: 25px;
    margin-top: 25px;
}

.loan-card-header {
    background: linear-gradient(135deg, #0b1f55, #2563eb);
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .4px;
}

.loan-info-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #edf2f7;
}

    .loan-info-row:last-child {
        border-bottom: none;
    }

.loan-label {
    width: 35%;
    background: #f8fafc;
    padding: 16px 20px;
    font-weight: 700;
    color: #334155;
    border-right: 1px solid #edf2f7;
}

.loan-value {
    width: 65%;
    padding: 16px 20px;
    color: #0f172a;
    font-weight: 600;
}

.amount-highlight {
    color: #16a34a;
    font-size: 18px;
    font-weight: 800;
}

.shg-dashboard {
    padding: 24px;
    background: #f4f7fb;
    border-radius: 18px;
}


.metric-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 18px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15,23,42,.10);
    margin-top: 15px;
    margin-bottom: 15px;
    transition: .3s ease;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

    .metric-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(37,99,235,.20);
    }





.metric-value {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}

.metric-label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.card-success .metric-icon {
    background: #dcfce7;
    color: #16a34a;
}

.card-danger .metric-icon {
    background: #fee2e2;
    color: #dc2626;
}

.card-warning .metric-icon {
    background: #fef3c7;
    color: #d97706;
}

.card-amount .metric-value {
    color: #16a34a;
    font-size: 30px;
}

@media(max-width: 768px) {
    .page-wrapper {
        padding: 14px;
    }

    .count-value {
        font-size: 34px;
    }

    .main-title {
        font-size: 16px;
        padding: 8px;
    }

    .sub-title {
        font-size: 14px;
    }

    .loan-label,
    .loan-value {
        width: 100%;
        border-right: none;
    }

    .loan-label {
        border-bottom: 1px solid #edf2f7;
    }

    .dash-title {
        font-size: 19px;
    }

    .metric-value {
        font-size: 28px;
    }

    .tbl {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tbl-headeritem {
        font-size: 13px;
        padding: 12px;
    }

    .tbl-item-left,
    .tbl-item-right,
    .tbl-item-center {
        padding: 10px;
        font-size: 13px;
    }
}

/* ================= MODERN PROFESSIONAL LOADING OVERLAY ============================= */
.progress_modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 35%), radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.12), transparent 35%), rgba(244, 248, 252, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box;
    animation: progressOverlayIn 0.25s ease-out;
}
/* LOADER CARD */
.progress_center {
    position: relative;
    width: 340px;
    max-width: calc(100vw - 40px);
    padding: 32px 30px 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15), 0 8px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    animation: progressCardIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
    /* decorative top highlight */
    .progress_center::before {
        content: "";
        position: absolute;
        top: 0;
        left: 25%;
        width: 50%;
        height: 4px;
        border-radius: 0 0 6px 6px;
        background: linear-gradient(90deg, #2563eb, #0ea5e9, #06b6d4);
        box-shadow: 0 0 18px rgba(14, 165, 233, 0.45);
    }
    /* subtle background decoration */
    .progress_center::after {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        right: -75px;
        top: -75px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
        pointer-events: none;
    }

/* MAIN LOADER */

.loader {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
    border: none;
    padding: 0;
    transform: none;
    animation: none;
}
    /* outer ring */
    .loader::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 3px solid rgba(37, 99, 235, 0.10);
        border-top-color: #2563eb;
        border-right-color: #0ea5e9;
        animation: loaderRotate 1.15s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    }
    /* secondary orbital ring */
    .loader::after {
        content: "";
        position: absolute;
        inset: 11px;
        border-radius: 50%;
        border: 2px solid transparent;
        border-left-color: #06b6d4;
        border-bottom-color: rgba(37, 99, 235, 0.65);
        animation: loaderRotateReverse 1.6s linear infinite;
    }

/* CENTER CORE */

.loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.30), 0 0 0 8px rgba(37, 99, 235, 0.06);
    animation: loaderPulse 1.6s ease-in-out infinite;
}
/* white center icon */
.loader-core {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

/* ORBITING DOT */

.loader-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: orbitRotate 2.2s linear infinite;
}

    .loader-orbit::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 50%;
        width: 9px;
        height: 9px;
        margin-left: -4.5px;
        border-radius: 50%;
        background: #0ea5e9;
        box-shadow: 0 0 12px rgba(14, 165, 233, 0.85);
    }

/* TEXT */

.progress-title {
    margin: 0 0 7px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #0f2747;
}

.progress-message {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #64748b;
}

/* ANIMATED THREE DOTS */

.progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
}

    .progress-dots span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #2563eb;
        opacity: 0.25;
        animation: progressDot 1.4s ease-in-out infinite;
    }

        .progress-dots span:nth-child(2) {
            animation-delay: 0.18s;
        }

        .progress-dots span:nth-child(3) {
            animation-delay: 0.36s;
        }

/* OPTIONAL STATUS STRIP */

.progress-status {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 7px 12px;
    border-radius: 50px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.progress-status-icon {
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    animation: statusPulse 1.5s ease-in-out infinite;
}

/* ANIMATIONS */

@keyframes loaderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.07);
    }
}

@keyframes progressDot {
    0%, 80%, 100% {
        opacity: 0.22;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

@keyframes progressOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes progressCardIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* MOBILE RESPONSIVE */

@media (max-width: 576px) {
    .progress_center {
        width: 290px;
        padding: 28px 22px 24px;
        border-radius: 18px;
    }

    .loader {
        width: 82px;
        height: 82px;
        margin-bottom: 18px;
    }

    .loader-inner {
        width: 42px;
        height: 42px;
    }

    .progress-title {
        font-size: 16px;
    }

    .progress-message {
        font-size: 12px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .loader::before, .loader::after, .loader-inner, .loader-orbit, .progress-dots span, .progress-status-icon {
        animation-duration: 3s;
    }
}

/* DATA MODAL */

.data_modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.data_center {
    width: 70%;
    max-width: 1000px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.20);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .data_center {
        width: 94%;
    }
}
