/* --- CSS ASSET FOR SKST CHITS BRANCH DASHBOARD --- */

/* ===========================================================
    MODULE 1 : CHITS SCHEMES LISTING CSS - LINE NUMBER [1175]
   ===========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
    font-family: 'Inter', sans-serif !important;
}

/* 1. Reset and Core Variables */
:root {
    --primary-magenta: #C80679;
    --background-gray: #F7F8FC;
    --card-white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #1A1A1A;
    --border-light: #ececec;
    --border-color: #D0D0D0;
    --blue-icon-bg: #E3F2FD;
    --blue-icon-fg: #1E88E5;
    --green-icon-bg: #E8F5E9;
    --green-icon-fg: #43A047;
    --dark-blue-icon-bg: #E8EAF6;
    --dark-blue-icon-fg: #3949AB;
    --yellow-icon-bg: #FFF8E1;
    --yellow-icon-fg: #FFB300;
    --red-alert-bg: #F8E7E9;
    --red-alert-fg: #D32F2F;
    --sidebar-width: 250px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-main);
    background-color: #F5F5F5 !important;
    overflow-x: hidden;
}

/* 2. Layout Structure */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* 3. Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--card-white);
    border-right: 1px solid #D0D0D0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(0);
    transition: transform 0.3s ease;
    padding: 20px 0px;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0 24px;
    margin-bottom: 12px;
}

.logo-divider {
    height: 0.1px;
    background-color: #D0D0D0 !important;
    width: 100% !important;
}

.logo-icon {
    height: 28px;
    width: 28px;
    margin-right: 10px;
    border-radius: 4px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    color: #000;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav li {
    width: 100%;
    list-style: none;
    position: relative;
}

.sidebar nav .section-title {
    font-size: 11px;
    /* font-weight: 700; */
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 15px 24px 5px 24px;
    text-transform: uppercase;
}

.sidebar nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background-color: transparent;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 10px;
}

.sidebar nav li a svg path {
    stroke: #1A1A1A;
    transition: stroke 0.2s ease;
}

.sidebar nav li:hover>a {
    color: var(--primary-magenta);
    background-color: #FFF0F6;
}

.sidebar nav li.active>a {
    background-color: var(--primary-magenta);
    color: #fff !important;
    border-radius: 10px;
}

.sidebar nav li.active>a svg path {
    stroke: #FFFFFF;
}

/* Dropdown Support */
.sidebar-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sidebar-dropdown .dropdown-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-dropdown .chevron {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.sidebar-dropdown.open .chevron {
    transform: rotate(180deg);
}

.sidebar-dropdown.open>a {
    color: var(--primary-magenta);
    background-color: transparent;
}

.sidebar-dropdown .dropdown-menu {
    display: none;
    list-style: none;
    padding: 5px 0 5px 44px;
    position: relative;
}

.sidebar-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background-color: #E2E2E2;
}

.sidebar-dropdown.open .dropdown-menu {
    display: block;
}

.sidebar-dropdown .dropdown-menu li {
    margin-bottom: 4px;
}

.sidebar-dropdown .dropdown-menu li a {
    padding: 10px 16px;
    margin: 0 10px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border-radius: 10px;
}

.sidebar-dropdown .dropdown-menu li.active > a {
    background-color: var(--primary-magenta);
    color: #FFFFFF !important;
}

.sidebar-dropdown .dropdown-menu li:hover > a:not(.active) {
    background-color: #FFF0F6;
    color: var(--primary-magenta);
}

.sidebar nav .badge-item {
    position: relative;
}

.sidebar nav .badge-item a {
    display: flex;
    align-items: center;
    padding-right: 40px; /* Space for absolute badge if outside */
}

.sidebar nav .badge {
    background-color: #d81b60;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.sidebar nav li.active .badge {
    background-color: #fff !important;
    color: var(--primary-magenta) !important;
}

.sidebar nav li:hover:not(.active) .badge {
    background-color: var(--primary-magenta);
    color: #fff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 999;
}

.overlay.show {
    display: block;
}


/* 4. Main Content Adjustment */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
    width: calc(100% - var(--sidebar-width));
}

.top-header {
    width: 100% !important;
    background-color: var(--card-white);
    padding: 12px 24px;
    border-bottom: 1px solid #D0D0D0 !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;

    position: sticky;
    top: 0;
    z-index: 900;
}

.mobile-menu-toggle {
    display: none;
    font-size: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 500px;
    min-width: 200px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #BBB;
}

.search-bar input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    background-color: #F8F8F8;
}

input::placeholder {
    color: #919191 !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.location-selector {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #E2E2E2;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    white-space: nowrap;
}

.location-selector svg {
    margin-right: 6px;
}

.caret {
    margin-left: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.notification-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #E2E2E2;
    border-radius: 50%;
    cursor: pointer;
    background-color: white;
}

@media (max-width: 768px) {
    .risk-title {
        font-size: 4vw;
    }
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: #ff00b7;
    border-radius: 50%;
    border: 2px solid white;
}

.user-profile .user-avatar {
    width: 36px;
    height: 36px;
    background-color: #1565C0;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
}

/* 5. View Port (Inside Main Content) */
.view-port {
    padding: 24px;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 600;
}

.page-title p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 2px;
    font-weight: 400;
}

.view-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.date-picker-btn {
    padding: 8px 12px;
    background-color: var(--card-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.export-btn {
    padding: 8px 16px;
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.export-btn:hover {
    background-color: #FFF0F6;
}

/* 6. Key Metrics Grid */
.key-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background-color: var(--card-white);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.metric-card.alert {
    background-color: var(--red-alert-bg);
    border-color: #EF9A9A;
}

.metric-card.alert h3,
.metric-card.alert .metric-value {
    color: #B71C1C;
}

.metric-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metric-card h3 {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.card-icon.blue {
    background-color: #F5F5F5;
    color: var(--blue-icon-fg);
}

.card-icon.green {
    background-color: #EBFFE1;
    color: var(--green-icon-fg);
}

.card-icon.dark-blue {
    background-color: #E8F4FD;
    color: var(--dark-blue-icon-fg);
}

.card-icon.yellow {
    background-color: #FFF8E1;
    color: var(--yellow-icon-fg);
}

.card-icon.red {
    background-color: #FDECEA;
    color: #D81B60;
}

.metric-value {
    font-size: 32px;
    font-weight: 600;
}

/* 7. Alerts Panel */
.alerts-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.alert-item {
    background-color: var(--card-white);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
}

.alert-item svg {
    flex-shrink: 0;
}

.alert-item.overdue {
    border-left: 3px solid #C62828;
}

.alert-item.auctions {
    border-left: 3px solid #F59E0B;
}

.alert-item.kyc {
    border-left: 3px solid #1565C0;
}

.alert-item.payouts {
    border-left: 3px solid #16A34A;
}

.alert-content1,
.alert-content2,
.alert-content3,
.alert-content4 {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.alert-item h4 {
    font-size: 13px;
    font-weight: 600;
}

.alert-item p {
    font-size: 10px;
    color: var(--text-muted);
    margin: 4px 0 8px 0;
    line-height: 1.3;
}

.alert-content1 a {
    font-size: 12px;
    color: #C62828;
    text-decoration: none;
    font-weight: 500;
}

.alert-content2 a {
    font-size: 12px;
    color: #F59E0B;
    text-decoration: none;
    font-weight: 500;
}

.alert-content3 a {
    font-size: 12px;
    color: #1565C0;
    text-decoration: none;
    font-weight: 500;
}

.alert-content4 a {
    font-size: 12px;
    color: #16A34A;
    text-decoration: none;
    font-weight: 500;
}

/* 8. Quick Actions */
.quick-actions {
    background-color: var(--card-white);
    padding: 16px;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.quick-actions h2 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 16px;
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.action-buttons button {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    background-color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.action-buttons button:hover {
    border-color: #C0C0C0;
    background-color: #F9F9F9;
}

.action-buttons button.primary-action {
    background-color: var(--primary-magenta);
    color: white;
    border: none;
}

.action-buttons button.primary-action:hover {
    background-color: #9A005B;
}

/* 9. Layout Rows (70/30) and Panels */
.row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.panel {
    background-color: var(--card-white);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.panel-70 {
    flex: 1 1 calc(70% - 16px);
    min-width: 300px;
}

.panel-30 {
    flex: 1 1 calc(30% - 16px);
    min-width: 250px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.panel-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.panel-link {
    font-size: 12px;
    color: var(--primary-magenta);
    text-decoration: none;
    font-weight: 500;
}

/* Specifics for Collections Overview */
.flex-panel {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.collection-stats,
.collection-chart {
    flex: 1;
    min-width: 200px;
}

.label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.primary-value {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.progress-bar-container {
    margin-top: 15px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #555;
    margin-bottom: 4px;
}

.progress-bar {
    height: 6px;
    background-color: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-magenta);
    border-radius: 3px;
}

.progress-status {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-top: 4px;
}

.progress-status .pct {
    color: #555;
}

.progress-status .pending {
    color: var(--text-muted);
}

.chart-title {
    margin-bottom: 10px;
}

.chart-container {
    height: 120px;
    position: relative;
    width: 100%;
}

/* Specifics for Auction Snapshot */
.upcoming-auctions {
    border-radius: 8px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.upcoming-auctions svg {
    flex-shrink: 0;
}

.upcoming-auctions .title {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.upcoming-auctions .count {
    font-size: 12px;
    /* font-weight: 400; */
    color: var(--text-muted);
}

.result-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 0px !important;
}

.result-card {
    background-color: #E8F5E9;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #C8E6C9;
}

.result-card .result-header h4 {
    font-size: 13px;
    font-weight: 600;
}

.result-card .result-header .date {
    font-size: 12px;
    color: #6B6B6B;
    margin-top: 5px;
    margin-bottom: 10px;
}

.result-metrics {
    display: flex;
    justify-content: space-between;
}

.result-card .lbl {
    font-size: 10px;
    color: #555;
}

.result-card .val {
    font-size: 16px;
    font-weight: 700;
}

.result-card .winners-count {
    color: #43A047;
}

/* 10. Tables and General UI Elements */
.table-container {
    overflow-x: auto;
    margin-top: 15px;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 500px;
}

.data-table thead th {
    text-align: left;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 14px 10px 14px 0;
    border-bottom: 2px solid #E2E2E2;
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Chit Table Specifics */
.chit-table .warning-text {
    color: #FFA000;
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 20px !important;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.status-badge.green {
    background-color: #10ab3c;
    color: #fff;
}

.status-badge.yellow {
    background-color: #F59E0B;
    color: #000;
}

.status-badge.gray {
    background-color: #F5F5F5;
    color: #757575;
}

.status-badge.purple {
    background-color: #C80679;
    color: #fff;
}

/* Prize Disbursement User List */
.user-list {
    list-style: none;
}

.user-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid #E2E2E2;
    flex-wrap: wrap;
    gap: 10px;
}

.user-list li img {
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 100px;
}

.user-info .name {
    font-weight: 600;
    font-size: 13px;
}

.user-info .amount {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
    margin-top: 2px;
}

.view-all-btn {
    width: 100%;
    padding: 10px;
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}

.view-all-btn:hover {
    background-color: #F5F5F5;
}

/* Mobile Responsive - Prize Disbursement List */
@media (max-width: 768px) {
    .user-list li {
        display: grid;
        grid-template-columns: 40px 1fr auto;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
        position: relative;
    }

    .user-list li img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        grid-row: 1 / 3;
        flex-shrink: 0;
    }

    .user-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .user-info .name {
        font-weight: 600;
        font-size: 13px;
        margin: 0;
        line-height: 1.2;
    }

    .user-info .amount {
        font-weight: 700;
        font-size: 13px;
        color: var(--text-main);
        margin: 0;
        line-height: 1.2;
    }

    .status-badge {
        grid-row: 1 / 3;
        grid-column: 3;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
        height: fit-content;
        justify-self: end;
        margin-left: auto;
    }
}

/* Defaulters Table Specifics */
.defaulters-panel .sub-header {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.defaulter-table .name {
    font-weight: 600;
}

.defaulter-table .id {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.defaulter-table .amount {
    color: #C62828;
    font-weight: 600;
}

.table-action-btn {
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 11px;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
}

.table-action-btn.border-red {
    border-color: #D32F2F;
    color: #D32F2F;
}

/* Recent Activity Timeline */
.activity-timeline {
    list-style: none;
    position: relative;
    margin-top: 10px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 10px;
    bottom: 20px;
    width: 1px;
    background-color: #E0E0E0;
    z-index: 1;
}

.activity-timeline li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    position: relative;
    z-index: 2;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 12px;
}

.activity-icon.green {
    background-color: var(--green-icon-bg);
    border: 1px solid #C8E6C9;
}

.activity-icon.blue {
    background-color: var(--blue-icon-bg);
    border: 1px solid #BBDEFB;
}

.activity-icon.yellow {
    background-color: var(--yellow-icon-bg);
    border: 1px solid #FFF9C4;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    font-size: 13px;
    font-weight: 600;
}

.activity-content .details {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 3px;
}

.activity-content .time {
    font-size: 11px;
    color: #AAA;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 11. Media Queries for Responsiveness */

/* Large Tablets & Desktop */
@media screen and (max-width: 1200px) {
    .key-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .alerts-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-70,
    .panel-30 {
        flex: 1 1 100%;
    }
}

/* Tablet (Hide Sidebar, Adjust Header) */
@media screen and (max-width: 992px) {
    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        width: 260px;
        transform: translateX(-100%);
        box-shadow: 10px 0 15px rgba(0, 0, 0, 0.05);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: #333;
    }

    .top-header {
        padding: 15px;
    }

    .search-bar {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 10px;
    }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
    .key-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-actions h2 {
        margin-bottom: 5px;
    }

    .action-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .action-buttons .primary-action {
        grid-column: span 2;
    }

    .view-header {
        flex-direction: column;
    }

    .view-actions {
        width: 100%;
    }

    .date-picker-btn {
        flex: 1;
        justify-content: center;
    }

    .export-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .key-metrics {
        grid-template-columns: 1fr;
    }

    .alerts-panel {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        display: flex;
        flex-direction: column;
    }

    .action-buttons button {
        width: 100%;
    }

    .header-right {
        gap: 10px;
    }

    .location-selector {
        font-size: 11px;
        padding: 6px 8px;
    }

    .page-title h1 {
        font-size: 20px;
    }

    .user-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .prize-disbursement .status-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* ======================
CHITS SCHEMES MODULE CSS
========================*/

.chits_sch_list_cssname-wrapper {
    padding: 20px;
}

.chits_sch_list_cssname-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chits_sch_list_cssname-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.chits_sch_list_cssname-header p {
    margin: 4px 0 0;
    color: #777;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.chits_sch_list_cssname-primary-btn {
    width: 165px;
    height: 40px;
    background: #d10072;
    color: #fff;
    border: none;
    gap: 12px;
    border-radius: 6px;
}

#normalTable tbody tr td {
    border-bottom: 1px solid #e0e0e0;
}

.chits_sch_list_cssname-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.chits_sch_list_cssname-card {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid;
}

.blue {
    border-color: #1565C0;
}

.orange {
    border-color: #F59E0B;
}

.green {
    border-color: #16A34A;
}

.red {
    border-color: #C62828;
}

.pink {
    border-color: #C80679;
}

.magenta {
    border-color: var(--primary-magenta);
}

.chits_sch_list_cssname-filters {
    background: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.chits_sch_list_cssname-left-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.chits_sch_list_cssname-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.chits_sch_list_cssname-search-container i {
    position: absolute;
    left: 12px;
    color: #999;
    font-size: 14px;
}

.chits_sch_list_cssname-search-container input {
    padding: 10px 15px 10px 38px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    background: #FAFAFA;
    font-size: 14px;
    color: #374151;
    width: 240px;
    transition: all 0.2s;
}

.chits_sch_list_cssname-search-container input:focus {
    outline: none;
    border-color: var(--primary-magenta);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 6, 121, 0.1);
}

.chits_sch_list_cssname-filters select {
    padding: 10px 15px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    min-width: 140px;
}

.chits_sch_list_cssname-reset-btn {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.chits_sch_list_cssname-reset-btn:hover {
    color: var(--primary-magenta);
}

.chits_sch_list_cssname-export-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.chits_sch_list_cssname-export-btn:hover {
    background: #FAFAFA;
    border-color: #D1D5DB;
}

.chits_sch_list_cssname-export-btn svg {
    flex-shrink: 0;
}

/* Mobile Responsive Filters */
@media (max-width: 768px) {
    .chits_sch_list_cssname-filters {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .chits_sch_list_cssname-filters input,
    .chits_sch_list_cssname-filters select {
        width: 100%;
    }

    .chits_sch_list_cssname-filters>div {
        width: 100% !important;
    }

    .chits_sch_list_cssname-filters>div input {
        width: 100% !important;
    }

    .chits_sch_list_cssname-filters .right {
        margin-left: 0;
        width: 100%;
    }
}

.chits_sch_list_cssname-filters input,
.chits_sch_list_cssname-filters select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.right {
    margin-left: auto;
}

.chits_sch_list_cssname-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.chits_sch_list_cssname-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.chits_sch_list_cssname-actions button svg {
    display: block;
}

/* Global Font Enforcement per user request */
*:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fa-solid):not(.fa-regular) {
    font-family: 'Inter', sans-serif !important;
}

@media (max-width: 768px) {

    /* Convert tables to stacked dropdown on mobile */
    .age-list-table-card,
    .chits_sch_list_cssname-table-card {
        overflow-x: hidden !important;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .age-list-table,
    .chits_sch_list_cssname-table {
        min-width: 0 !important;
    }

    .age-list-table thead,
    .chits_sch_list_cssname-table thead {
        display: block;
        border: none;
        background: transparent;
        margin-bottom: 12px;
        padding: 0;
    }

    .age-list-table thead tr,
    .chits_sch_list_cssname-table thead tr {
        display: block;
        background: transparent;
        border: none !important;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .age-list-table th,
    .chits_sch_list_cssname-table th {
        display: none;
    }

    .age-list-table th:first-child,
    .chits_sch_list_cssname-table th:first-child {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: #fff;
        border: 1px solid #D0D0D0;
        border-radius: 8px;
        box-shadow: none;
    }

    .age-list-table th:first-child::after,
    .chits_sch_list_cssname-table th:first-child::after {
        content: "Select All";
        font-weight: 500;
        font-size: 14px;
        color: #374151;
    }

    .age-list-table,
    .age-list-table tbody,
    .age-list-table tr,
    .age-list-table td,
    .chits_sch_list_cssname-table,
    .chits_sch_list_cssname-table tbody,
    .chits_sch_list_cssname-table tr,
    .chits_sch_list_cssname-table td {
        display: block;
        width: 100%;
    }

    .age-list-table tr,
    .chits_sch_list_cssname-table tr {
        margin-bottom: 16px;
        border: 1px solid #D0D0D0 !important;
        border-radius: 12px;
        padding: 22px;
        background-color: #fff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .age-list-table td,
    .chits_sch_list_cssname-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        font-size: 14px;
        border-bottom: 1px dashed #f3f4f6 !important;
        text-align: right;
    }

    .age-list-table td:last-child,
    .chits_sch_list_cssname-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0;
    }

    .age-list-table td::before,
    .chits_sch_list_cssname-table td::before {
        font-weight: 500;
        color: #6b7280;
        text-align: left;
        margin-right: 12px;
        flex-shrink: 0;
    }

    /* Column labels for Agents Table */
    /* .age-list-wrapper .age-list-table td:nth-child(2)::before {
        content: "Agent Name";
    }

    .age-list-wrapper .age-list-table td:nth-child(3)::before {
        content: "Contact";
    }

    .age-list-wrapper .age-list-table td:nth-child(4)::before {
        content: "Branch";
    }

    .age-list-wrapper .age-list-table td:nth-child(5)::before {
        content: "Commission";
    }

    .age-list-wrapper .age-list-table td:nth-child(6)::before {
        content: "Collections";
    }

    .age-list-wrapper .age-list-table td:nth-child(7)::before {
        content: "KYC Status";
    }

    .age-list-wrapper .age-list-table td:nth-child(8)::before {
        content: "Status";
    }

    .age-list-wrapper .age-list-table td:nth-child(9)::before {
        content: "Actions";
    }

    /* Column labels for Scheme List Table */
    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(2)::before {
        content: "Scheme Name";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(3)::before {
        content: "Members";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(4)::before {
        content: "Monthly Amount";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(5)::before {
        content: "Duration";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(6)::before {
        content: "Auction Status";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(7)::before {
        content: "Next Auction";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(8)::before {
        content: "Collection Status";
    }

    .chits_sch_list_cssname-wrapper .age-list-table td:nth-child(9)::before {
        content: "Actions";
    }

     .age-list-table td:first-child,
    .chits_sch_list_cssname-table td:first-child {
        justify-content: flex-start;
        border-bottom: 1px solid #f3f4f6 !important;
        padding-top: 0;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
}


/* ===========================================================
    MODULE: ADD SCHEME FORM WIZARD
   ===========================================================*/

.wizard-container-main {
    background: #FFF;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 0 30px 30px 30px;
    margin-bottom: 80px;
}

.wizard-header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin: 0 -30px 30px -30px;
    padding: 0 30px;
    border-bottom: 1px solid #EAEAEA;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.wizard-header-nav::-webkit-scrollbar {
    display: none;
}

.wizard-step {
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: border-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.wizard-step .step-circle {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #C0C0C0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.wizard-step .step-label {
    font-size: 14px;
    font-weight: 500;
    color: #999;
}

/* Completed State */
.wizard-step.completed .step-circle {
    background-color: var(--primary-magenta);
    border-color: var(--primary-magenta);
    color: #FFF;
}

.wizard-step.completed .step-label {
    color: #1A1A1A;
}

/* Active State */
.wizard-step.active {
    border-bottom: 4px solid var(--primary-magenta);
}

.wizard-step.active .step-circle {
    border-color: var(--primary-magenta);
    color: var(--primary-magenta);
    background-color: transparent;
}

.wizard-step.active .step-label {
    color: var(--primary-magenta);
    font-weight: 600;
}

/* Content */
.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #636363;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #D32F2F;
}

/* Default state (Placeholder visible) */
.form-select:invalid {
    color: #919191 !important;
}

/* Selected state (Valid option picked) */
.form-select:valid {
    color: #000 !important;
}

/* Standard styling from your snippet */
.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 14px;
    background: #F9F9F9;
    font-family: inherit;
    transition: border-color 0.3s;
}

/* Styling the options inside the dropdown list */
.form-select option {
    color: #000;
}

.form-select option:disabled {
    color: #919191 !important;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-magenta);
    background: #FFF;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Toggle Switch */
.toggle-switch-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid #E2E2E2;
}

.toggle-switch-wrapper:last-child {
    border-bottom: none;
}

.toggle-label {
    display: flex;
    flex-direction: column;
}

.toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
}

.toggle-desc {
    font-size: 12px;
    color: #1A1A1A;
    margin-top: 4px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;

}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5F5F5;
    border: 1px solid #E2E2E2 !important;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-magenta);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #E0E0E0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #FAFAFA;
    cursor: pointer;
    transition: background 0.3s;
}

.file-upload-area:hover {
    background: #E2E2E2;
}

.upload-icon {
    font-size: 24px;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 14px;
    color: #1A1A1A;
}

.upload-link {
    color: var(--primary-magenta);
    font-weight: 600;
    text-decoration: none;
}

.upload-hint {
    font-size: 12px;
    color: #A0A0A0;
    margin-top: 6px;
}

/* Rich Text Toolbar mock */
.rich-text-toolbar {
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #E0E0E0;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: #FAFAFA;
}

.rt-btn {
    background: none;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: #333;
}

.rich-text-editor {
    border-radius: 0 0 6px 6px;
    min-height: 100px;
    overflow-y: auto;
}

.rich-text-editor:empty:before {
    content: attr(data-placeholder);
    color: #A0A0A0;
    pointer-events: none;
    display: block;
}

/* Footer Actions */
.form-actions-footer {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    background: #FFF;
    border-top: 1px solid #E0E0E0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    margin-top: 20px !important;
}

.btn-cancel {
    background: #FFF;
    border: 1px solid #EAEAEA;
    padding: 10px 24px;
    border-radius: 6px;
    color: #1A1A1A;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel:hover {
    background: #F9F9F9;
}

.btn-previous {
    background: transparent;
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-previous:hover {
    background: #FFF0F6;
}

.btn-next {
    background: var(--primary-magenta);
    border: 1px solid var(--primary-magenta);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-next:hover {
    background: #9A005B;
    border-color: #9A005B;
}

/* Date picker wrapper */
.date-picker-wrapper {
    position: relative;
}

.date-picker-wrapper i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0A0A0;
    pointer-events: none;
}

.date-picker-wrapper input[type="date"] {
    position: relative;
    color: inherit;
    font-family: inherit;
}

.date-picker-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: transparent;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.date-picker-wrapper input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-header-nav {
        padding-bottom: 5px;
    }

    .form-actions-footer {
        left: 0;
    }

    .footer-status-center {
        display: none;
    }
}

.radio-group {
    display: flex;
    gap: 36px;
}

.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #3A3A3A;
    cursor: pointer;
}

.radio .circle {
    width: 24px;
    height: 24px;
    border: 1px solid #D0D0D0;
    border-radius: 50%;
    position: relative;
}

.radio.active .circle::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #C80679;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

/* Success Alert */
.alert {
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

/* Success Style */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

/* Error Style */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}


/* ================================== 
          LOGIN FORM STYLES
=====================================*/

/* Login Page Specific Styles */
body.login-body {
    background-color: var(--background-gray) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--card-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.login-logo img {
    height: 48px;
    width: 48px;
    border-radius: 4px;
}

.login-logo-text {
    display: none;
}

.login-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.form-input {
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #FBFBFB;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: #919191;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-magenta);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(200, 6, 121, 0.1);
}

.form-input:hover {
    border-color: #d0d0d0;
}

.checkbox-group {
    display: none;
}

.checkbox-input {
    display: none;
}

.checkbox-label {
    display: none;
}

.login-button {
    padding: 12px 16px;
    background-color: var(--primary-magenta);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    width: 100%;
}

.login-button:hover {
    background-color: #9A005B;
    box-shadow: 0 4px 12px rgba(200, 6, 121, 0.2);
}

.login-button:active {
    transform: translateY(1px);
}

.forgot-password {
    display: none;
}

.forgot-password a {
    font-size: 13px;
    color: var(--primary-magenta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password a:hover {
    color: #9A005B;
    text-decoration: underline;
}

.signup-section {
    display: none;
}

.signup-text {
    font-size: 13px;
    color: var(--text-muted);
}

.signup-link {
    color: var(--primary-magenta);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.signup-link:hover {
    color: #9A005B;
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.error-message {
    padding: 12px 12px;
    background-color: #F8E7E9;
    border: 1px solid #FFCDD2;
    border-radius: 6px;
    font-size: 13px;
    color: #D32F2F;
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.error-message.show {
    display: flex;
}

.success-message {
    padding: 12px 12px;
    background-color: #E8F5E9;
    border: 1px solid #C8E6C9;
    border-radius: 6px;
    font-size: 13px;
    color: #43A047;
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.success-message.show {
    display: flex;
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
    .login-container {
        padding: 28px 20px;
        max-width: 100%;
    }

    .login-title {
        font-size: 20px;
    }

    .login-form {
        gap: 16px;
    }

    .form-input {
        padding: 11px 12px;
        font-size: 16px;
    }

    .login-button {
        padding: 11px 14px;
        font-size: 14px;
    }
}

@media screen and (max-width: 360px) {
    .login-container {
        padding: 20px 16px;
    }

    .login-header {
        margin-bottom: 24px;
    }

    .login-title {
        font-size: 18px;
    }

    .login-subtitle {
        font-size: 13px;
    }
}

/* --- FIX FOR DROPDOWN CLIPPING --- */

.chits_sch_list_cssname-table-card {
    overflow: visible !important;
}

#skstTable,
#skstTable td {
    overflow: visible !important;
    font-weight: 400 !important;
    color: #1A1A1A;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
}

.custom-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 999999;
    background: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    overflow: hidden;
    margin-top: 5px;
}

.dropdown-item {
    padding: 10px 16px;
    font-family: sans-serif;
    font-size: 14px;
    color: #222;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.highlight {
    background-color: #fdf2f8;
}

.chits_sch_list_cssname-filters select {
    color: #919191;
    background-color: #fff;
    min-width: 120px;
}

.chits_sch_list_cssname-filters .reset-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
    cursor: pointer;
}

.chits_sch_list_cssname-filters .reset-filter:hover {
    color: var(--primary-magenta);
}

.subscriber-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subscriber-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E2E2E2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #555;
    flex-shrink: 0;
    overflow: hidden;
}

.subscriber-info {
    display: flex;
    flex-direction: column;
}

.subscriber-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.subscriber-id {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-pending {
    background-color: #fff8e1;
    color: #f57f17;
}

.status-defaulted {
    background-color: #ffebee;
    color: #c62828;
}

.status-closed {
    background-color: #f5f5f5;
    color: #757575;
}

.actions-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
}

.actions-btn:hover {
    color: #333;
}

.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.radio .circle {
    width: 18px;
    height: 18px;
    border: 2px solid #C0C0C0;
    border-radius: 50%;
}

.radio.active .circle {
    border-color: #C80679;
    background: #C80679;
}

.upload-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.upload-circle {
    width: 80px;
    height: 80px;
    border: 2px dashed #E0E0E0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
}


/* ==================
/* --- TASK TAB STYLES --- */
.view_chit-tasks-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.view_chit-stat-card,
.view_chit-task-stat-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    min-height: 89px;
    height: auto;
    position: relative;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.view_chit-stat-card::before,
.view_chit-task-stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    /* Let overflow: hidden handle the radius blending */
}

.view_chit-stat-card.red::before,
.view_chit-task-stat-card.red::before {
    background: #DC2626;
}

.view_chit-stat-card.blue::before,
.view_chit-task-stat-card.blue::before {
    background: #2563EB;
}

.view_chit-stat-card.green::before,
.view_chit-task-stat-card.green::before {
    background: #16A34A;
}

.view_chit-stat-card.yellow::before,
.view_chit-task-stat-card.yellow::before {
    background: #EAB308;
}

.view_chit-stat-card.orange::before,
.view_chit-task-stat-card.orange::before {
    background: #F59E0B;
}

.view_chit-stat-card.cyan::before,
.view_chit-task-stat-card.cyan::before {
    background: #0891B2;
}

.view_chit-stat-card.magenta::before,
.view_chit-task-stat-card.magenta::before {
    /* background: #C80679; */
}

.view_chit-task-stat-card.purple::before {
    background: #7C3AED;
}

.view_chit-stat-card p,
.view_chit-task-stat-card p {
    font-size: 12px;
    color: #6B6B6B;
    margin-bottom: 4px;
    font-weight: 500;
}

.view_chit-stat-card h2,
.view_chit-task-stat-card h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1A1A1A;
    margin-top: 6px;
    line-height: 1;
}

.view_chit-documents-placeholder {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #F3F4F6;
}

.view_chit-documents-placeholder p {
    color: #6B7280;
    margin-bottom: 20px;
    font-size: 14px;
}


.chits_sch_list_cssname-table-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 80px;
}

.chits_sch_list_cssname-table-title {
    padding: 12px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.chits_sch_list_cssname-table {
    width: 100%;
    border-collapse: collapse;
}

.chits_sch_list_cssname-table th,
.chits_sch_list_cssname-table td {
    text-align: left;
    vertical-align: middle;
}

.chits_sch_list_cssname-table th {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.chits_sch_list_cssname-table th:first-child,
.chits_sch_list_cssname-table td:first-child {
    width: 40px;
    text-align: center;
}

.chits_sch_list_cssname-table input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1);
    cursor: pointer;
}

.chits_sch_list_cssname-table {
    width: 100%;
    border-collapse: collapse;
}

.chits_sch_list_cssname-table th {
    background: #f8f9fb;
    font-weight: 500;
    padding: 12px;
    font-size: 16px;
}

.chits_sch_list_cssname-table td {
    padding: 12px;
    border-top: 1px solid #eee;
    font-weight: 400;
    font-size: 14px;
}

.pagination {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    font-family: sans-serif;
}

.pagination button {
    border: none;
    background: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.pagination button:hover {
    background: #f5f5f5;
}

.pagination .page {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
}

.pagination .page:hover {
    background: #f5f5f5;
}

.pagination .page.active {
    background: #d10072;
    color: #fff;
}

.pagination .divider {
    width: 1px;
    height: 24px;
    background: #ddd;
}

.pagination>* {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chits_sch_list_cssname-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.completed {
    /* background: #dcfce7;  */
    color: #16a34a;
}

.pending {
    background: #fee2e2;
    color: #dc2626;
}

.upcoming {
    background: #e0f2fe;
    color: #0284c7;
}

.view-btn {
    display: inline-flex;
    align-items: left;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.view-btn i {
    font-size: 12px;
}

.view-btn:hover {
    background: #f5f5f5;
}

.chits_sch_list_cssname-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px !important;
    font-size: 12px;
}

.chits_sch_list_cssname-pagination button {
    border: 1px solid #ddd;
    padding: 6px 10px;
    margin: 0 2px;
    border-radius: 6px;
    background: #fff;
}

.chits_sch_list_cssname-pagination .active {
    background: #d10072;
    color: #fff;
}

@media (max-width: 768px) {
    .chits_sch_list_cssname-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .chits_sch_list_cssname-table {
        min-width: 800px;
    }

    .chits_sch_list_cssname-table-card {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .chits_sch_list_cssname-primary-btn {
        width: 50px !important;
    }

    .chits_sch_list_cssname-primary-btn span {
        display: none;
    }

    .chits_sch_list_cssname-primary-btn i {
        font-weight: bold;
        font-size: 18px;
    }
}

/* =======SCHEME VIEW */
/* scheme-view prefix for new elements specific to this view */
.scheme-view-breadcrumb {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.scheme-view-breadcrumb span.active {
    color: var(--primary-magenta);
    font-weight: 500;
}

.scheme-view-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.scheme-view-header-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scheme-view-header-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.scheme-view-status-pill {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.scheme-view-status-pill.active {
    background-color: #EBFFE1 !important;
    color: #16A34A !important;
    border: 1px solid #16A34A !important;
    border-radius: 6px;
    font-size: 12px;
    padding: 2px 10px;
}

.scheme-view-header-actions {
    display: flex;
    gap: 12px;
}

.scheme-view-btn-outline {
    padding: 10px 20px;
    border: 1px solid #D0D0D0;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.scheme-view-btn-magenta-outline {
    padding: 10px 20px;
    border: 1px solid var(--primary-magenta);
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-magenta);
    cursor: pointer;
}

/* Stats Cards */
.scheme-view-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.scheme-view-stat-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scheme-view-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.scheme-view-stat-info p {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.scheme-view-stat-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.scheme-view-stat-info h2 span {
    font-size: 18px;
    color: #999;
    font-weight: 500;
}

.scheme-view-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.scheme-view-stat-icon.pink {
    background: #FAE6F2;
    color: #C80679;
}

.scheme-view-stat-icon.orange {
    background: #FFF8E1;
    color: #F59E0B;
}

.scheme-view-stat-icon.green {
    background: #EBFFE1;
    color: #16A34A;
}

.scheme-view-stat-icon.blue {
    background: #E8F4FD;
    color: #1565C0;
}

/* Main Layout Grid */
.scheme-view-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* Section Cards */
.scheme-view-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 24px;
    margin-bottom: 24px;
}

.scheme-view-card-title {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Config Grid */
.scheme-view-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.scheme-view-config-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 14px 0;
    border-bottom: 2px solid #E2E2E2;
}

.scheme-view-config-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
}

.scheme-view-config-item .label {
    color: #1A1A1A;
}

.scheme-view-config-item .value {
    font-weight: 600;
    color: #333;
}

/* Members Table */
.scheme-view-table {
    width: 100%;
    border-collapse: collapse;
}

.scheme-view-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
    border-bottom: 1px solid #eee;
}

.scheme-view-table td {
    padding: 16px;
    border-bottom: 1px solid #f9f9f9;
    font-size: 14px;
}

.scheme-view-subscriber {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scheme-view-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F5;
}

.scheme-view-subscriber-info p {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.scheme-view-subscriber-info span {
    font-size: 12px;
    color: #999;
}

.scheme-view-status-badge {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.scheme-view-status-badge.active {
    background: #E8F5E9;
    color: #43A047;
}

.scheme-view-status-badge.pending {
    background: #FFF8E1;
    color: #FFB300;
}

.scheme-view-status-badge.defaulted {
    background: #FFEBEE;
    color: #D32F2F;
}

.scheme-view-status-badge.closed {
    background: #F5F5F5;
    color: #1A1A1A;
}

.scheme-view-card-title button {
    cursor: pointer;
    transition: opacity 0.2s;
}

.scheme-view-card-title button:hover {
    opacity: 0.9;
}

/* Aside Components */
.scheme-view-aside-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 24px;
}

.scheme-view-aside-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.scheme-view-schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
}

.scheme-view-schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.scheme-view-schedule-row .label {
    color: #4B5563;
}

.scheme-view-schedule-row .value {
    font-weight: 600;
    color: #1A1A1A;
}

.scheme-view-schedule-row .value.magenta {
    color: var(--primary-magenta);
}

/* Timeline */
.scheme-view-timeline {
    position: relative;
    padding-left: 30px;
}

.scheme-view-timeline::before {
    content: '';
    position: absolute;
    left: 7.5px;
    top: 8px;
    bottom: 25px;
    width: 1px;
    background-color: #E2E2E2;
}

.scheme-view-timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.scheme-view-timeline-point {
    position: absolute;
    left: -30px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E2E2E2;
    z-index: 2;
}

.scheme-view-timeline-item.completed .scheme-view-timeline-point {
    background: var(--primary-magenta);
    border-color: var(--primary-magenta);
}

.scheme-view-timeline-item.upcoming .scheme-view-timeline-point {
    border-color: var(--primary-magenta);
}

.scheme-view-timeline-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1A1A1A;
}

.scheme-view-timeline-item p {
    font-size: 12px;
    color: #999;
}

.scheme-view-btn-view-all {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
}

/* Toggles */
.scheme-view-rule-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #F3F4F6;
}

.scheme-view-rule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.scheme-view-rule-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.scheme-view-rule-info p {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eee;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-magenta);
}

input:checked+.slider:before {
    transform: translateX(16px);
}

/* FD/PSO Table style details */
.scheme-view-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.scheme-view-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 12px 0;
    border-bottom: 1px solid #E2E2E2;
}

.scheme-view-detail-item .label {
    color: #6B6B6B;
}

.scheme-view-detail-item .value {
    font-weight: 600;
    color: #1A1A1A;
}

.scheme-view-fd-timeline-container {
    position: relative;
    padding-left: 30px;
}

.scheme-view-fd-timeline-container::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 25px;
    width: 1px;
    background-color: #D0D0D0;
    z-index: 1;
}

.scheme-view-fd-section {
    margin-bottom: 30px;
    position: relative;
}

.scheme-view-fd-section:last-child {
    margin-bottom: 0;
}

.scheme-view-fd-indicator {
    position: absolute;
    left: -30px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    z-index: 2;
    background: #fff;
}

.scheme-view-fd-indicator.magenta {
    background: var(--primary-magenta);
    border: 3px solid var(--primary-magenta);
}

.scheme-view-fd-indicator.outline {
    border: 1px solid #D0D0D0;
}

.scheme-view-fd-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-magenta);
    font-weight: 700;
}

.scheme-view-fd-section.withdrawal h4 {
    color: var(--primary-magenta);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .scheme-view-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .scheme-view-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .scheme-view-stats-grid {
        grid-template-columns: 1fr;
    }

    .scheme-view-config-grid,
    .scheme-view-details-grid {
        grid-template-columns: 1fr;
    }

    .scheme-view-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Members table — center-align all columns */
#membersTable th,
#membersTable td {
    text-align: center !important;
}

/* Keep subscriber name/ID cell left-aligned for readability */
#membersTable td:nth-child(2) {
    text-align: left !important;
}

/* ADD CHITS SUBSCRIBER SPECIFIC STYLES */

.chit-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-magenta);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.chit-group-body {
    padding-bottom: 30px;
    display: none;
}

.chit-group-item.expanded .chit-group-body {
    display: block;
}

.chit-group-header i {
    transition: transform 0.3s;
    color: #333;
    font-size: 14px;
}

.chit-group-item.expanded .chit-group-header i {
    transform: rotate(180deg);
}

.badge-auto-gen {
    background: #E8F4FD !important;
    color: #1565C0 !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center;
    text-transform: none !important;
}

.btn-add-new-chit {
    background-color: var(--primary-magenta) !important;
    color: white !important;
    border: none !important;
    padding: 0 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
    cursor: pointer;
    margin-top: 10px !important;
    height: 44px !important;
    transition: background 0.3s;
    text-decoration: none !important;
}

.btn-add-new-chit:hover {
    background-color: #9A005B !important;
}

.date-picker-wrapper {
    position: relative;
}

.date-picker-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #919191;
    pointer-events: none;
}

.form-control,
.form-select {
    height: 48px !important;
    border-radius: 8px !important;
}

.required {
    color: #D81B60 !important;
}


/* Panel specific overrides to match image exactly */
.defaulter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.defaulter-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.defaulter-header p {
    color: #1A1A1A;
    font-size: 14px;
}

.btn-add-recovery {
    background-color: var(--primary-magenta);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.stats-grid-upper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card-custom {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #D0D0D0;
    position: relative;
}

.metric-card-custom .card-label {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 12px;
    display: block;
}

.metric-card-custom .value {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.metric-card-custom .sub-text {
    font-size: 12px;
    color: #9A9A9A;
}

.metric-card-custom .icon-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-box.red {
    background: #FDECEA;
    color: #D81B60;
}

.icon-box.yellow {
    background: #FFF8E1;
    color: #FFB300;
}

.icon-box.blue {
    background: #E8F4FD;
    color: #1565C0;
}

.icon-box.green {
    background: #EBFFE1;
    color: #43A047;
}

.indicators-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.indicator-card {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #D0D0D0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.indicator-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.indicator-card.blue::before {
    background: #1565C0;
}

.indicator-card.light-blue::before {
    background: #2196F3;
}

.indicator-card.orange::before {
    background: #F59E0B;
}

.indicator-card.red::before {
    background: #C62828;
}

.indicator-card.green::before {
    background: #16A34A;
}

.indicator-card .period {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.indicator-card .status {
    font-size: 11px;
    color: #9A9A9A;
    margin-bottom: 8px;
}

.indicator-card .count {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.indicator-card .amount {
    font-size: 13px;
    font-weight: 600;
}

.indicator-card.blue .amount {
    color: #1565C0;
}

.indicator-card.light-blue .amount {
    color: #1565C0;
}

.indicator-card.orange .amount {
    color: #E65100;
}

.indicator-card.red .amount {
    color: #C62828;
}

.filters-container {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #D0D0D0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input-wrapper input {
    padding: 10px 12px 10px 38px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    width: 240px;
    background: #FAFAFA;
}

.filters-container select {
    padding: 10px 15px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    min-width: 140px;
}

.date-range-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
}

.reset-btn {
    border: none;
    background: none;
    color: #6B7280;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.export-btn-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

/* Table specific styles */
.defaulter-table-wrapper {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #D0D0D0;
    overflow: hidden;
}

.defaulter-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.defaulter-table thead th {
    background: #FAFAFA;
    color: #4B5563;
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid #D0D0D0;
}

.defaulter-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
}


.chits_sch_list_cssname-table-card {
    overflow-x: auto;
}

.status-pill {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.pill-open {
    background: #FDECEA;
    color: #D81B60;
}

.pill-recovery {
    background: #FFF8E1;
    color: #D97706;
}

.pill-closed {
    background: #EBFFE1;
    color: #059669;
}

.subscriber-info {
    display: flex;
    flex-direction: column;
}

.subscriber-info .name {
    font-weight: 600;
    color: #111827;
}

.subscriber-info .id {
    font-size: 12px;
    color: #6B7280;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #D0D0D0;
}

.pagination-info {
    font-size: 13px;
    color: #6B7280;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
}

.page-btn.active {
    background: var(--primary-magenta);
    color: #fff;
    border-color: var(--primary-magenta);
}

.page-btn:disabled {
    color: #D1D5DB;
    cursor: not-allowed;
}

/* DataTables Custom Style */
.dataTables_wrapper .dataTables_paginate {
    display: none !important;
}

.dataTables_wrapper .dataTables_info {
    display: none !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    display: none !important;
}

/* Custom Scrollbar for Defaulter Panel Table Container */
.table-scroll-container {
    overflow-x: auto;
}

.table-scroll-container::-webkit-scrollbar {
    height: 8px;
    /* Medium size */
}

.table-scroll-container::-webkit-scrollbar-track {
    background: #FAFAFA;
    /* border-radius: 10px; */
}

.table-scroll-container::-webkit-scrollbar-thumb {
    background: #dcdcdc;
}

.table-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #cccccc;
}

.table-scroll-container::-webkit-scrollbar-button {
    display: none;
}

/* Force all table fields to be on one line to ensure horizontal scroll */
.age-list-table th,
.age-list-table td {
    white-space: nowrap !important;
}

/* ===========================================================
    APPROVAL QUEUE FORM CSS
   ===========================================================*/
.approval_queue_form-btn-reject {
    border: 1px solid #E53935;
    background-color: #FFFFFF;
    color: #E53935;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.approval_queue_form-btn-reject:hover {
    background-color: #FEEBEE;
}

.approval_queue_form-btn-verify {
    border: 1px solid #10B981;
    background-color: #FFFFFF;
    color: #10B981;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.approval_queue_form-btn-verify:hover {
    background-color: #ECFDF5;
}

.approval_queue_form-btn-verified {
    border: 1px solid #10B981;
    background-color: #10B981;
    color: #FFFFFF;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.approval_queue_form-btn-verified:hover {
    background-color: #059669;
}

/* --- VIEW CHIT SCHEME MODULE --- */
.view_chit-container {
    padding: 24px;
}

.view_chit-breadcrumb {
    font-size: 13px;
    color: #6B6B6B;
    margin-bottom: 20px;
}

.view_chit-breadcrumb a {
    color: #6B6B6B;
    text-decoration: none;
}

.view_chit-breadcrumb .active {
    color: var(--primary-magenta);
    font-weight: 400;
}

.view_chit-container {
    padding: 24px;
    max-width: 1180px;
    /* 1132px + padding */
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.view_chit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.view_chit-title-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view_chit-title-area h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.view_chit-status-badge {
    padding: 4px 12px;
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #2E7D32;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.view_chit-export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #D0D0D0;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
}

/* Stats Cards */
.view_chit-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}



/* Stats Cards styles moved to end of file for consistency with Task cards */

/* Tabs */
.view_chit-tabs-container {
    border-bottom: 1px solid #D0D0D0;
    margin-bottom: 24px;
    margin-top: 40px !important;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    max-width: 100%;
    position: relative;
}

.view_chit-tabs-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.view_chit-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #6B6B6B;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    border: none;
    background: none;
    height: auto;
    line-height: 1.5;
    transition: color 0.2s ease, font-weight 0.2s ease;
    padding-bottom: 12px;
    border-bottom: none;
    margin-bottom: 0;
}

.view_chit-tab svg {
    transition: stroke 0.2s ease;
}

.view_chit-tab.active {
    color: var(--primary-magenta);
    font-weight: 600;
}

.view_chit-tab.active svg path,
.view_chit-tab.active svg circle,
.view_chit-tab.active svg rect {
    stroke: var(--primary-magenta) !important;
}

.view_chit-tab.active svg path[fill]:not([fill="none"]),
.view_chit-tab.active svg g[fill]:not([fill="none"]),
.view_chit-tab.active svg [fill]:not([fill="none"]) {
    fill: var(--primary-magenta) !important;
}

.view_chit-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-magenta);
    z-index: 5;
    border-radius: 2px 2px 0 0;
}

.view_chit-content-section {
    display: none;
    padding: 20px !important;
    padding-top: 20px !important;
    margin: 0 !important;
}

.view_chit-content-section.active {
    display: block;
    margin-top: 0 !important;
}

.view_chit-tabs-container,
.view_chit-tabs-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* Table Card Container */
.view_chit-table-card {
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    margin-bottom: 24px;
    max-width: 1132px;
    width: 100%;
}

.view_chit-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
}

.view_chit-table-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.view_chit-add-btn {
    background: var(--primary-magenta);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view_chit-table-wrapper {
    background: #fff;
    border: none;
    margin-bottom: 0;
}

.view_chit-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Custom Scrollbar for modern Look (DataTable style) */
    scrollbar-width: thin;
    scrollbar-color: #D1D5DB transparent;
}

.view_chit-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.view_chit-table-wrapper::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.view_chit-table-wrapper::-webkit-scrollbar-button:start:decrement,
.view_chit-table-wrapper::-webkit-scrollbar-button:end:increment,
.view_chit-table-wrapper::-webkit-scrollbar-button:vertical:start:increment,
.view_chit-table-wrapper::-webkit-scrollbar-button:vertical:end:decrement,
.view_chit-table-wrapper::-webkit-scrollbar-button:horizontal:start:increment,
.view_chit-table-wrapper::-webkit-scrollbar-button:horizontal:end:decrement {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.view_chit-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.view_chit-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #D1D5DB;
    border-radius: 10px;
}

.view_chit-table-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #9CA3AF;
}

.view_chit-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1000px;
}

.view_chit-table th {
    background: #FAFAFA;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-right: 1px solid #D0D0D0;
    border-bottom: 1px solid #D0D0D0;
}

.view_chit-table th:last-child {
    border-right: none;
}

.view_chit-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: #4B5563;
    border-right: 1px solid #D0D0D0;
    border-bottom: 1px solid #D0D0D0;
    vertical-align: middle;
}

.view_chit-table td:last-child {
    border-right: none;
}

.view_chit-table tr:last-child td {
    border-bottom: none;
}

.view_chit-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #D0D0D0;
    object-fit: cover;
}

.view_chit-subscriber-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view_chit-subscriber-name {
    font-weight: 600;
    color: #1A1A1A;
    display: block;
}

.view_chit-subscriber-rating {
    font-size: 10px;
    color: #16A34A;
    font-weight: 500;
    vertical-align: bottom !important;
}

.view_chit-status-icon {
    width: 18px;
    height: 18px;
}

.view_chit-action-btn {
    color: #9CA3AF;
    cursor: pointer;
    font-size: 16px;
}


/* Account Summary Table Colors */
.view_chit-summary-table .credit-col {
    background: #E8F4FD;
}

.view_chit-summary-table .debit-col {
    background: #EBFFE1;
}

.view_chit-summary-table .balance-col {
    background: #FFF8E1;
}

.view_chit-summary-table .total-row {
    font-weight: 700;
    background: #fff !important;
}

.view_chit-summary-table .total-row td:nth-child(2) {
    background: #BAE6FD;
}

.view_chit-summary-table .total-row td:nth-child(3) {
    background: #BBF7D0;
}

.view_chit-summary-table .total-row td:nth-child(4) {
    background: #FEF3C7;
}

/* Group Details Section */
.view_chit-details-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px !important;
    padding: 20px;
    margin-bottom: 24px;
}

.view_chit-details-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F3F4F6;
}

.view_chit-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 0;
}

.view_chit-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #D0D0D0;
}

/* Remove border from last items in each group/column */
.view_chit-detail-item:last-of-type {
    border-bottom: none;
}

.view_chit-detail-item .label {
    font-size: 14px;
    color: #4B5563;
}

.view_chit-detail-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* FD Timeline Styles */
.view_chit-fd-timeline {
    padding-left: 24px;
    position: relative;
    margin-top: 10px;
}

.view_chit-fd-line {
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 20px;
    width: 1px;
    background: #D0D0D0;
}

.view_chit-fd-step {
    position: relative;
    margin-bottom: 32px;
}

.view_chit-fd-dot {
    position: absolute;
    left: -21px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--primary-magenta);
    border-radius: 50%;
    z-index: 1;
}

.view_chit-fd-dot.empty {
    background: #fff;
    border: 1px solid #D0D0D0;
}

.view_chit-fd-step h4 {
    font-size: 14px;
    color: var(--primary-magenta);
    margin-bottom: 12px;
    font-weight: 600;
}

.view_chit-fd-step h4.grey {
    color: #4B5563;
}

/* Notification Settings */
.view_chit-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
}

.view_chit-notification-item:last-child {
    border-bottom: none;
}

.view_chit-notification-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.view_chit-notification-info p {
    font-size: 12px;
    color: #6B6B6B;
    line-height: 1.4;
}

/* Switch Styling */
.view_chit-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.view_chit-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.view_chit-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D0D0D0;
    transition: .4s;
    border-radius: 20px;
}

.view_chit-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.view_chit-switch input:checked+.view_chit-slider {
    background-color: var(--primary-magenta);
}

.view_chit-switch input:checked+.view_chit-slider:before {
    transform: translateX(16px);
}

/* Layout Grid for Group Details */
.view_chit-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.view_chit-dummy-row {
    background: #FFF0F6;
}

.view_chit-dummy-row td {
    color: #C80679;
    font-weight: 500;
}

/* --- ENROLLMENT TABLE REFINEMENTS --- */
.view_chit-table,
.view_chit-table th,
.view_chit-table td {
    box-shadow: none;
}

.view_chit-dummy-row {
    background: #FDF0F8 !important;
}

.view_chit-summary-collected {
    background: #D5FFF5 !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.view_chit-summary-prize {
    background: #D6A1FF !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.view_chit-table th {
    background: #FAFAFA;
    padding: 12px 8px;
    font-weight: 600;
    color: #374151;
}

.view_chit-table tbody tr:hover {
    background-color: #FAFAFA;
}

/* Ensure dummy and summary rows don't get the hover effect if not desired */
.view_chit-dummy-row:hover,
tr[style*="background:#fff"]:hover {
    background-color: inherit !important;
}


/* Auction Table Specifics */
.view_chit-table .bg-light-blue {
    background-color: #E8F4FD !important;
}

.view_chit-table .bg-light-green {
    background-color: #EBFFE1 !important;
}

.view_chit-table .bg-light-yellow {
    background-color: #FFF8E1 !important;
}

.view_chit-table .bg-medium-blue {
    background-color: #AFDDFF !important;
    font-weight: 600;
}

.view_chit-table .bg-medium-green {
    background-color: #C4FFA7 !important;
    font-weight: 600;
}

.view_chit-table .bg-medium-yellow {
    background-color: #FFEAA6 !important;
    font-weight: 600;
}

.view_chit-table th.bg-light-blue,
.view_chit-table th.bg-light-green,
.view_chit-table th.bg-light-yellow {
    color: #1A1A1A;
}

.view_chit-table td {
    box-shadow: none;
}

.view_chit-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.view_chit-row-unticked {
    background-color: #E2E2E2 !important;
}

/* Plain Header Table Variant */
.view_chit-table-plain-head {
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
}

.view_chit-table-plain-head thead th {
    background: #fff !important;
}

/* Plain Card Header */
.view_chit-card-header-plain {
    padding: 16px 20px;
    border-bottom: 1px solid #D0D0D0;
}

.view_chit-card-header-plain h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

/* Placeholder Styling */
.view_chit-placeholder-bar {
    height: 32px;
    background: #FAFAFA;
    border-bottom: 1px solid #D0D0D0;
}

.view_chit-documents-placeholder {
    padding: 40px 20px;
    text-align: center;
}

.view_chit-documents-placeholder p {
    color: #6B6B6B;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Solid Button Variant */
.view_chit-add-btn.solid {
    background: var(--primary-magenta);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin: 0 auto;
    display: block;
}

.view_chit-add-btn.solid:hover {
    background: #a00561;
}

/* Wizard Collapsible Sections */
.wizard-collapse-header {
    cursor: pointer;
    user-select: none;
}
.wizard-collapse-content.collapsed {
    display: none !important;
}
.wizard-collapse-header i.fa-chevron-up {
    transition: transform 0.3s ease;
}
.wizard-collapse-header.collapsed i.fa-chevron-up {
    transform: rotate(180deg);
}

/* --- ADD SUBSCRIBER MODULE --- */
.add-subs-section-title { font-family: Inter; color: #C80679; font-weight: 700; font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px; display: block; }
.add-subs-line-separator { border: none; border-top: 1px solid #E2E2E2; margin: 30px 0; }
.add-subs-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; }
.add-subs-full-width { grid-column: 1 / -1; }
.add-subs-upload-circle { width: 80px; height: 80px; border-radius: 50%; border: 1px dashed #E2E2E2; background: #F8F8F8; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.add-subs-upload-box { border: 1px dashed #E2E2E2; background: #F8F8F8; border-radius: 8px; padding: 15px; display: flex; align-items: center; gap: 15px; cursor: pointer; }
.add-subs-upload-text { font-size: 14px; color: #C80679; }
.add-subs-upload-subtext { font-size: 12px; color: #919191; margin-top: 4px; }
.add-subs-badge-blue { background: #E8F4FD; color: #1565C0; padding: 2px 8px; border-radius: 8px; font-size: 11px; margin-left: 8px; font-weight: 500; }
.add-subs-upload-box1 { border-radius: 8px; padding: 15px; display: flex; align-items: center; gap: 15px; cursor: pointer; }

.sub-active > a {
    color: #C80679 !important;
}

.sub-active .dropdown-icon svg path {
    stroke: #C80679 !important;
}

.sub-active .chevron {
    color: #C80679 !important;
}

/* --- SUBSCRIBER COLLECTION RECEIPT PAGE STYLES --- */
.scr-page-wrapper {
    padding: 20px 24px;
    background-color: #F8F9FA;
}

.scr-breadcrumb {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scr-breadcrumb span {
    color: #CCC;
    font-size: 18px;
    line-height: 1;
}

.scr-active-crumb {
    color: #C80679;
    font-weight: 500;
}

.scr-header {
    margin-bottom: 24px;
}

.scr-title-block h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.scr-receipt-id {
    margin-top:8px;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
}

.scr-main-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.scr-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #EEE;
    min-height: 60px;
}

.scr-tabs {
    display: flex;
    gap: 30px;
    height: 100%;
}

.scr-tab {
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.scr-tab i {
    font-size: 16px;
}

.scr-tab.active {
    color: #C80679;
}

.scr-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #C80679;
    border-radius: 3px 3px 0 0;
}

.scr-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scr-action-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #C80679;
    background: #FFF;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.scr-action-icon-btn:hover {
    background: #F8F8F8;
    color: #C80679;
    border-color: #C80679;
}

.scr-btn-link {
    background: #FFF;
    border: 1px solid #C80679;
    color: #C80679;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.scr-btn-link:hover {
    background: #FFF0F6;
}

.scr-btn-primary {
    background: #C80679;
    border: 1px solid #C80679;
    color: #FFF;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.scr-btn-primary:hover {
    background: #A30563;
}

.scr-tab-content {
    padding: 24px;
}

.scr-tab-pane {
    display: none;
}

.scr-tab-pane.active {
    display: block;
}

.scr-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px; /* Restore the gap between columns as per the image */
}

.scr-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 8px 0;
    border-bottom: 1px solid #E2E2E2; 
}

.scr-label {
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 400;
}

.scr-value {
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 600;
}

.scr-divider {
    height: 1px;
    background: #EEE;
    margin: 20px 0;
}

.scr-collected-by-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scr-collector-name {
    font-size: 15px;
    font-weight: 600;
    color: #C80679;
}

/* Log Table */
.scr-log-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
}

.scr-log-table th {
    background: #F8F9FA;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #4A4A4A;
    border: 1px solid #E0E0E0;
}

.scr-log-table td {
    padding: 16px;
    vertical-align: top;
    border: 1px solid #E0E0E0;
    font-size: 14px;
}

.scr-log-time {
    color: #1A1A1A;
    white-space: nowrap;
    text-align: center;
}

.scr-log-changes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scr-log-changes li {
    margin-bottom: 4px;
    color: #4A4A4A;
    position: relative;
    padding-left: 12px;
}

.scr-log-changes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1A1A1A;
}

.scr-hl {
    color: #C80679;
    font-weight: 500;
}

/* Modal Styles */
.scr-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.scr-modal.scr-modal-open {
    display: flex !important;
}

.scr-modal-content {
    background-color: #fff;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.scr-modal-content::-webkit-scrollbar {
    width: 4px;
}

.scr-modal-content::-webkit-scrollbar-thumb {
    background: #E0E0E0;
    border-radius: 4px;
}

.scr-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #EEE;
}

.scr-btn-back {
    background: none;
    border: 1px solid #E0E0E0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #4A4A4A;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scr-receipt-printable {
    padding: 28px; /* Equal padding all sides */
}

.scr-receipt-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.scr-receipt-logo {
    width: 40px;
}

.scr-receipt-company {
    font-size: 24px;
    font-weight: 700;
    color: #C80679;
}

.scr-receipt-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.scr-receipt-grid {
    margin-bottom: 0;
}

.scr-receipt-row {
    display: flex;
    gap: 0;
}


.scr-receipt-col {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    column-gap: 10px !important;
    border-bottom: 1px solid #E2E2E2;
}

.scr-receipt-col:first-child {
    padding-right: 20px;
}

.scr-receipt-col:last-child {
    padding-left: 20px;
}

.scr-receipt-row:last-child .scr-receipt-col {
    border-bottom: none;
}

.scr-receipt-col .scr-label {
    font-size: 13px;
    color: #1A1A1A;
    font-weight: 400;
}

.scr-receipt-col .scr-value {
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    text-align: right;
}

.scr-settlement-details {
    margin-top: 20px;
    border-top: 1px solid #E2E2E2;
    padding-top: 4px;
}

.scr-settlement-details h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    padding: 12px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #E2E2E2;
}

.scr-settlement-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #1A1A1A;
    padding: 11px 0;
    border-bottom: 1px solid #E2E2E2;
    margin-bottom: 0;
}

.scr-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #EBF4FF;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #1A1A1A;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .scr-details-grid {
        grid-template-columns: 1fr;
    }

    .scr-card-header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        align-items: flex-start;
    }

    .scr-tabs {
        width: 100%;
        gap: 20px;
    }

    .scr-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .scr-receipt-printable {
        padding: 20px;
    }

    .scr-receipt-col:first-child {
        padding-right: 10px;
    }

    .scr-receipt-col:last-child {
        padding-left: 10px;
    }
}

/* view subscribers */
.view-subs-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    margin-bottom: 24px;
    background: #FFF0F6;
    border: 1px solid #C80679;
    /* border-left: 1px solid #FFD6E7 !important; */
}

.view-subs-stats-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

.view-subs-filter-bar {
    margin-bottom: 20px;
    padding: 16px;
}

.view-subs-filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.view-subs-search-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    font-size: 14px;
}

.view-subs-custom-select {
    min-width: 150px;
    border: 1px solid #E2E2E2;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #6B6B6B;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-subs-btn-radius {
    border-radius: 8px !important;
}

.view-subs-header-p {
    color: #6B6B6B;
    font-size: 14px;
    margin-top: 4px;
}

.view-subs-tabs-nav {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px !important;
    border-bottom: 1px solid #D0D0D0;
}

.view-subs-print-btn {
    margin-left: auto;
    margin-bottom: 8px;
    border-radius: 6px;
    padding: 6px 16px;
}

.view-subs-location-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.view-subs-avatar-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
}

.view-subs-avatar {
    width: 100%;
    height: 100%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C80679;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
}

/* Subscriber View: Guarantees, Introductions, Relationships, Verifications, Interactions */

.view-gaurantee-subs-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.view-gaurantee-subs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #D0D0D0;
}

.view-gaurantee-subs-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.view-gaurantee-subs-add-btn {
    background-color: #C80679;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.view-gaurantee-subs-add-btn:hover {
    background-color: #A50563;
}

.view-gaurantee-subs-table {
    width: 100%;
    border-collapse: collapse;
}

.view-gaurantee-subs-table thead th {
    background-color: #FAFAFA;
    padding: 12px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #D0D0D0;
    /* border-right: 1px solid #D0D0D0; */
}

.view-gaurantee-subs-table thead th:last-child {
    border-right: none;
}

.view-gaurantee-subs-table tbody td {
    padding: 16px 24px;
    font-size: 14px;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
    border-right: 1px solid #D0D0D0;
    text-align: center;
}

.view-gaurantee-subs-table tbody td:last-child {
    border-right: none;
}

.view-gaurantee-subs-empty {
    padding: 40px 24px;
    text-align: center;
    color: #9CA3AF;
    font-size: 14px;
    border-right: none !important;
}

/* Introductions */
.view-intro-subs-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.view-intro-subs-header {
    padding: 20px 24px;
    border-bottom: 1px solid #D0D0D0;
}

.view-intro-subs-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.view-intro-subs-table {
    width: 100%;
    border-collapse: collapse;
}

.view-intro-subs-table thead th {
    background-color: #FAFAFA;
    padding: 12px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #D0D0D0;
    /* border-right: 1px solid #D0D0D0; */
}

.view-intro-subs-table thead th:last-child {
    border-right: none;
}

.view-intro-subs-table tbody td {
    padding: 16px 12px;
    font-size: 13px;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
    border-right: 1px solid #D0D0D0;
    text-align: center;
}

.view-intro-subs-table tbody td:last-child {
    border-right: none;
}

.view-intro-subs-empty {
    padding: 40px 24px;
    text-align: center;
    color: #9CA3AF;
    font-size: 14px;
    border-right: none !important;
}

.view-intro-subs-eligible { color: #2563EB !important; font-weight: 600; }
.view-intro-subs-disbursed { color: #16A34A !important; font-weight: 600; }
.view-intro-subs-undisbursed { color: #F59E0B !important; font-weight: 600; }

/* Relationships */
.view-relation-subs-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.view-relation-subs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #D0D0D0;
}

.view-relation-subs-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.view-relation-subs-table thead th {
    background-color: #FAFAFA;
    padding: 12px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #D0D0D0;
    /* border-right: 1px solid #D0D0D0; */
}

.view-relation-subs-table thead th:last-child {
    border-right: none;
}

.view-relation-subs-table tbody td {
    padding: 16px 24px;
    text-align: center;
    font-size: 14px;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
    border-right: 1px solid #D0D0D0;
}

.view-relation-subs-table tbody td:last-child {
    border-right: none;
}

/* Verifications */
.view-verification-subs-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.view-verification-subs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #D0D0D0;
}

.view-verification-subs-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Interactions */
.view-interaction-subs-card {
    background: #fff;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.view-interaction-subs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #D0D0D0;
}

.view-interaction-subs-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.view-interaction-subs-table {
    width: 100%;
    border-collapse: collapse;
}

.view-interaction-subs-table thead th {
    background-color: #FAFAFA;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #D0D0D0;
    /* border-right: 1px solid #D0D0D0; */
}

.view-interaction-subs-table thead th:last-child {
    border-right: none;
}

.view-interaction-subs-table tbody td {
    padding: 16px;
    font-size: 13px;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
    /* border-right: 1px solid #D0D0D0; */
    text-align: center;
}

.view-interaction-subs-table tbody td:last-child {
    border-right: none;
}


.view-interaction-subs-action-btn {
    color: #6B7280;
    cursor: pointer;
    font-size: 18px;
}

.view-interaction-subs-action-btn:hover {
    color: #C80679;
}

/* Subscriber Details Section */
.view-details-subns-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
}

.view-details-subns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.view-details-subns-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.view-details-subns-header-actions {
    display: flex;
    gap: 10px;
}

.view-details-subns-btn-merge {
    border: 1px solid #C80679;
    color: #C80679;
    background: transparent;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-details-subns-btn-edit {
    background: #C80679;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-details-subns-btn-access {
    background: #FFF9E6;
    color: #D97706;
    border: 1px solid #FDE68A;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-details-subns-section {
    padding: 0 24px;
    margin-top: 24px;
}

.view-details-subns-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #C80679;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.view-details-subns-subsection-title {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 12px;
}

.view-details-subns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.view-details-subns-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    align-items: center;
}

.view-details-subns-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 400;
}

.view-details-subns-value {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    text-align: right;
}

.view-details-subns-full-row {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    align-items: center;
}

.view-details-subns-divider {
    height: 1px;
    background-color: #F3F4F6;
    margin: 8px 0;
}

/* Notes */
.view-notes-subs-table {
    width: 100%;
    border-collapse: collapse;
}

.view-notes-subs-table thead th {
    background-color: #FFFFFF !important;
    padding: 12px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #D0D0D0;
    border-right: 1px solid #D0D0D0;
}

.view-notes-subs-table thead th:last-child {
    border-right: none;
}

.view-notes-subs-table tbody td {
    padding: 16px 24px;
    font-size: 14px;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
    border-right: 1px solid #D0D0D0;
    text-align: center;
}

.view-notes-subs-table tbody td:last-child {
    border-right: none;
}

/* AUCTION FILES CSS */

.auction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .auction-grid {
        grid-template-columns: 1fr;
    }
}

.auction-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 20px;
}

.auction-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6B6B6B !important;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background-color: #F8F8F8;
    color: var(--text-dark);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row>.form-group {
    flex: 1;
}

/* Inherit the card styles you already defined */
.big-amount-display {
    background-color: #F8F8F8;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Your existing currency style */
.big-amount-display .currency {
    font-size: 48px;
    color: var(--text-muted);
}

/* The new Input style */
.amount-input {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    background: transparent !important;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    width: auto;
    max-width: 250px;
    text-align: left;
}

/* Focus will be handled by the universal style at the end of the file */

/* Optional: Style the placeholder to match the muted currency color */
.amount-input::placeholder {
    color: #ccc;
}

.btn-primary-auction {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-magenta);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.leading-member-box {
    background: #FAE6F2;
    border: 1px solid #C80679;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.crown-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    /* border: 1px solid #FFD1E8; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB300;
    font-size: 20px;
}

.leading-member-info .lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.leading-member-info .name {
    font-weight: 600;
    color: var(--primary-magenta);
    font-size: 14px;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.metric-box {
    background: #F8F8F8;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.metric-box .lbl {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-box .val {
    font-size: 16px;
    font-weight: 700;
}

.metric-box .val.pink {
    color: var(--primary-magenta);
}

.recent-bids-list {
    list-style: none;
}

.bid-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.bid-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--primary-magenta);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}


.bid-card.active {
    border-color: var(--primary-magenta);
}

.bid-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bid-info .name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.bid-info .time {
    font-size: 0.85rem;
    color: #888;
}

.bid-card.active .bid-amount {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-magenta);
}

.bid-amount {
    font-weight: 500;
    font-size: 18px;
}

.bid-item.active {
    border: 1px solid var(--primary-magenta);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.prize-calc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}


.prize-calc-row .lbl {
    color: #6B6B6B !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.prize-calc-row .val {
    color: #1A1A1A !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
.prize-calc-row.total {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 500;
    font-size: 18px;
}

.prize-calc-row.sub-total {
    color: #6B6B6B;
    font-weight: 400;
    font-size: 16px;
}

.auction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    background: #fff;
}

.status-badge-inline {
    padding: 6px 15px;
    border-radius: 4px;
    background: #FFF8E1;
    color: #FFB300;
    font-weight: 500;
}

.summary-chips {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.summary-chip {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    gap: 6px;
}

.summary-chip .lbl {
    color: var(--text-muted);
}

.summary-chip .val {
    font-weight: 600;
}



/* Table Badge Styles */
.auc-list-status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.auc-list-eligibility {
    background-color: #E8F5E9;
    color: #43A047;
}

.auc-list-already-won {
    background-color: #FFF3E0;
    color: #EF6C00;
}

.kyc-verified {
    background-color: #E8F5E9;
    color: #43A047;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.completed-badge {
    background-color: #E8F5E9;
    color: #43A047;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.details-table td {
    padding: 10px 0;
    font-size: 14px;
}

.details-table td:first-child {
    color: var(--text-muted);
}

.details-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.prize-calc-box {
    background: #F8F8F8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 20px;
}

.prize-calc-box .row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.prize-calc-box .row.total {
    border-top: 1px solid #ddd;
    margin-top: 5px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
}

/* 14. Universal Form Input Focus Styles */
input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus,
.search-bar input:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus {
    border: 1px solid var(--primary-magenta) !important;
    outline: none !important;
    box-shadow: 0 0 4px rgba(200, 6, 121, 0.2) !important;
    background-color: #FFFFFF !important;
    transition: all 0.2s ease-in-out;
}


.recent-bids-list {
    max-height: 200px;
    /* adjust as needed */
    overflow-y: auto;
    padding-right: 5px;
    /* avoid content cut */
}

/* Chrome, Edge, Safari */
.recent-bids-list::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Firefox */
.recent-bids-list {
    scrollbar-width: none;
}

/* IE */
.recent-bids-list {
    -ms-overflow-style: none;
}

/* ===========================================================
   COMPLETE AUCTION PAGE STYLES (REFERENCE IMAGE STYLE)
   =========================================================== */

.breadcrumb {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    text-decoration: none;
    color: #1A1A1A;
}

.breadcrumb i {
    font-size: 10px;
}

.breadcrumb .active {
    color: var(--primary-magenta);
    font-weight: 500;
}

.filter-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid #EDEDED;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    height: 42px;
    background: #F9F9F9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 15px 0 40px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.search-box input:focus {
    border-color: var(--primary-magenta);
    background: #FFF;
}

.export-csv-btn {
    height: 42px;
    padding: 0 20px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.export-csv-btn:hover {
    background: #F9F9F9;
    border-color: #CCC;
}

.auction-main-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 25px;
    align-items: start;
}

.auctions-list-card,
.details-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
}

.count-badge {
    background: #EBFFE1;
    color: #16A34A;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge-green {
    background: #E8F5E9;
    color: #43A047;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* CUSTOM TABLE STYLES */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.custom-auction-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-auction-table thead th {
    background: #FAFAFA;
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #919191;
    border-bottom: 1px solid #EEE;
}

.custom-auction-table tbody td {
    padding: 18px 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #F5F5F5;
}

.custom-auction-table tbody tr.highlighted-row {
    background: #FDF0F8;
}

.custom-auction-table tbody tr:hover {
    background: #FAFAFA;
}

.custom-auction-table tbody tr.highlighted-row:hover {
    background: #FAE6F2;
}

/* WINNER STRIP */
.winner-info-strip {
    background: #FAE6F2;
    border: 1px solid #C80679;
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.crown-circle {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB300;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.winner-text {
    flex: 1;
}

.winner-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-magenta);
    margin-bottom: 4px;
}

.winner-meta {
    font-size: 12px;
    color: #919191;
}

/* SIDEBAR DETAILS */
.detail-section {
    margin-bottom: 25px;
}

.section-heading {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.detail-row span:first-child {
    color: #1A1A1A;
}

.detail-row span:last-child {
    font-weight: 600;
    color: #1A1A1A;
}

/* PRIZE CALCULATION */
.prize-calc-container {
    background: #FAFAFA;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #E2E2E2;
}

.prize-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
}

.prize-row span:first-child {
    color: #919191;
}

.prize-row span:last-child {
    font-weight: 500;
}

.prize-row.net-payable {
    border-top: 1px solid #D0D0D0;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 16px;
}

.prize-row.net-payable span:first-child {
    font-weight: 600;
    color: #1A1A1A;
}

.prize-row.net-payable span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
}

.prize-row.dividend {
    margin-top: 5px;
    font-size: 13px;
    color: #1A1A1A;
}

.prize-row.dividend span:first-child {
    color: #1A1A1A;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .auction-main-grid {
        grid-template-columns: 1fr;
    }

    .auction-details-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .view-port {
        padding: 15px;
    }

    .filter-card {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    .export-csv-btn {
        justify-content: center;
    }

    .custom-auction-table thead th,
    .custom-auction-table tbody td {
        padding: 12px 8px;
        font-size: 12px;
    }
}

/* Subscriber View Specific Styles */
.vs_page_wrapper {
    padding: 32px;
    background-color: #FAFAFA;
    min-height: 100%;
}

.vs_breadcrumb {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vs_breadcrumb span {
    color: #9CA3AF;
}

.vs_breadcrumb .vs_active_crumb {
    color: #C80679;
    font-weight: 500;
}

.vs_header_flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.vs_title_group h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.vs_title_group p {
    font-size: 14px;
    color: #6B7280;
    margin: 6px 0 0;
    font-weight: 400;
}

.vs_header_actions {
    display: flex;
    gap: 12px;
}

.vs_btn_edit {
    background-color: white;
    color: #C80679;
    border: 1px solid #C80679;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.vs_btn_edit:hover {
    background-color: #FFF5FA;
}

.vs_btn_join {
    background-color: #C80679;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.vs_btn_join:hover {
    background-color: #A50563;
}

.vs_main_grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start;
}

.vs_card {
    background: white;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.vs_card_title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

/* Banner Style */
.vs_banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #FFF5FA;
    border: 1px solid #C80679;
    border-radius: 8px;
    margin-bottom: 24px;
}

.vs_user_info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vs_avatar_circle {
    width: 48px;
    height: 48px;
    background-color: #C80679;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.vs_meta_text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.vs_meta_text p {
    font-size: 13px;
    color: #6B7280;
    margin: 4px 0 0;
}

.vs_badge_unoccupied {
    background-color: white;
    border: 1px solid #D1D5DB;
    color: #4B5563;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Details Grid */
.vs_details_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.vs_detail_row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #D0D0D0;
}

.vs_detail_row:nth-child(1),
.vs_detail_row:nth-child(2) {
    padding-top: 0;
}

.vs_detail_row:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
}

.vs_label {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.vs_value {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
    text-align: right;
}

/* Side Cards Styles */
.vs_side_row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #D0D0D0;
    align-items: center;
}

.vs_card_title+.vs_side_row {
    padding-top: 0;
}

.vs_side_row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vs_side_row.vs_address_row {
    align-items: flex-start;
}

.vs_status_not_verified {
    background-color: #FFF1F2;
    color: #BE123C;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .vs_main_grid {
        grid-template-columns: 1fr;
    }

    .vs_details_list {
        grid-template-columns: 1fr;
    }

    .vs_detail_row:nth-last-child(2) {
        border-bottom: 1px solid #D0D0D0;
        padding-bottom: 16px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .collection-summary-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .wizard-container-main {
        width: 100% !important;
    }

    .collection-summary-right {
        width: 100% !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    #collectionSummarySection>div:first-child {
        display: flex !important;
        flex-direction: column;
        gap: 10px !important;
    }

    #collectionSummarySection>div:first-child>div {
        flex: 1 !important;
        min-width: 100% !important;
    }

    .collection-summary-summaries {
        flex-direction: column !important;
    }

    .collection-summary-summaries>div {
        width: 100% !important;
    }

    .collection-summary-form {
        grid-template-columns: 1fr !important;
    }

    .chits_sch_list_cssname-table-card {
        overflow-x: auto !important;
    }

    .age-list-table {
        font-size: 12px !important;
    }

    .age-list-table th,
    .age-list-table td {
        padding: 8px 5px !important;
    }

    .pay-btn {
        padding: 3px 8px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .view-header h1 {
        font-size: 20px !important;
    }

    .form-group label {
        font-size: 12px !important;
    }

    .form-control,
    .form-select {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }

    #collectionSummarySection>div:first-child>div p {
        font-size: 11px !important;
    }

    #collectionSummarySection>div:first-child>div h2 {
        font-size: 20px !important;
    }

    .collection-summary-summaries h3 {
        font-size: 16px !important;
    }

    .age-list-table {
        font-size: 10px !important;
    }

    .age-list-table th,
    .age-list-table td {
        padding: 6px 3px !important;
    }

    .chits_sch_list_cssname-footer {
        font-size: 12px !important;
    }
}

/* Layout and Alignment Fixes */
.collection-summary-container {
    display: grid;
    /* grid-template-columns: 1fr 380px; */
    gap: 24px;
    align-items: start;
}

.summary-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.summary-card h3 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.form-control,
.form-select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: #F9F9F9 !important;
    color: #333;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-magenta);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(200, 6, 121, 0.05);
}

.form-control[readonly] {
    background-color: #F5F5F5;
    color: #444;
    border-color: #EEE;
    cursor: not-allowed;
}

/* records-payment prefix CSS for form elements */
.records-payment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.records-payment-label-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.records-payment-label {
    font-size: 13px;
    font-weight: 500;
    color: #919191;
}

.records-payment-required {
    color: #C80679;
    margin-left: 2px;
}

.records-payment-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    background: #E3F2FD;
    color: #1E88E5;
    font-weight: 600;
    white-space: nowrap;
}

.records-payment-badge.generated {
    background: #E8F5E9;
    color: #43A047;
}

.records-payment-hint {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
}

/* record-payment prefix CSS for right side cards strictly as per instructions */
.record-payment-summary-inner {
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
    background-color: #FAFAFA !important;
}

.record-payment-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
}

.record-payment-summary-label {
    color: #1A1A1A;
    font-size: 14px;
}

.record-payment-summary-value {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.record-payment-balance-highlight {
    background-color: #FDF2F7;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #FADDEB;
}

.record-payment-balance-label {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

.record-payment-balance-value {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

/* Receipt styles */
.record-payment-receipt-box {
    border: 1px dashed #D0D0D0;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    margin-bottom: 24px;
}

.record-payment-receipt-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.record-payment-receipt-logo-circle {
    width: 44px;
    height: 44px;
    background: #C80679;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.record-payment-receipt-brand-text {
    font-size: 26px;
    font-weight: 700;
    color: #C80679;
}

.record-payment-receipt-divider {
    height: 1px;
    background: #EEE;
    margin: 15px 0;
}

.record-payment-receipt-type {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.record-payment-receipt-inner-card {
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    overflow: hidden;
    background-color: #FAFAFA !important;
}

.record-payment-receipt-table-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 14px;
}

.record-payment-receipt-table-label {
    color: #1A1A1A;
}

.record-payment-receipt-table-value {
    color: #333;
    font-weight: 500;
    text-align: right;
}

.record-payment-receipt-footer {
    border-top: 1px solid #D0D0D0;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: #1A1A1A;
}

/* Footer Actions */
.form-actions-footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid #EEE;
}

.btn-cancel {
    padding: 12px 24px;
    border: 1px solid #DDD;
    background: #FFF;
    border-radius: 8px;
    color: #919191;
    font-weight: 500;
    cursor: pointer;
}

.footer-buttons {
    display: flex;
    gap: 12px;
}

.btn-save {
    padding: 12px 24px;
    background: #FFF;
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary-action {
    padding: 12px 24px;
    background: var(--primary-magenta);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .collection-summary-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .records-payment-form-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .sidebar {
        transform: translateX(-100%);
    }
}

/* ===================== 
AGENT MODULE STYLE
========================*/
.age-list-wrapper {
    padding: 20px 24px;
    /* background: #f8fafc; */
    min-height: 100vh;
}

.age-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.age-list-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.age-list-header p {
    color: #6B6B6B;
    font-size: 14px;
    margin: 4px 0 0 0;
}

.age-list-add-btn {
    background: #C80679;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Stats Cards */
.age-list-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .age-list-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .age-list-stats {
        grid-template-columns: 1fr;
    }
}

.age-list-stat-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #D0D0D0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: none;
}

.age-list-stat-card .card-content {
    display: flex;
    flex-direction: column;
}

.age-list-stat-card .label {
    font-size: 13px;
    color: #6B6B6B;
    font-weight: 500;
    margin-bottom: 12px;
}

.age-list-stat-card .value {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
}

.age-list-stat-card .icon-container {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.icon-blue {
    background-color: #EFF6FF;
    color: #3B82F6;
}

.icon-green {
    background-color: #ECFDF5;
    color: #10B981;
}

.icon-yellow {
    background-color: #FFFBEB;
    color: #F59E0B;
}

.icon-red {
    background-color: #FDECEA;
    color: #C62828;
}

.icon-gray {
    background-color: #F3F4F6;
    color: #6B7280;
}

/* Filters */
.age-list-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #D0D0D0;
}

.age-list-search {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.age-list-search input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.age-list-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.age-list-filters select {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 140px;
}

/* Action Buttons */
.age-list-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.age-list-actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

/* Table Card */
        /* Reset collapse to separate to avoid DataTables calculation bugs */
        .age-list-table,
        .agents-list-table {
            border-collapse: separate !important;
            border-spacing: 0 !important;
        }

        /* Apply right and bottom border to all visible cells */
        .age-list-table th,
        .age-list-table td,
        .agents-list-table th,
        .agents-list-table td {
            border-bottom: 1px solid #D0D0D0 !important;
            border-right: 1px solid #D0D0D0 !important;
            border-top: none !important;
            border-left: none !important;
        }

        /* Remove right border from the last column so it doesn't double up with the card border */
        .age-list-table tr th:last-child,
        .age-list-table tr td:last-child,
        .agents-list-table tr th:last-child,
        .agents-list-table tr td:last-child {
            border-right: none !important;
        }

        /* Hidden sizing header in scroll body (must retain left/right padding & borders for accurate width calculation)
        .dataTables_scrollBody table thead tr th,
        .dataTables_scrollBody table thead tr td {
            border-top: none !important;
            border-bottom: none !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            height: 0 !important;
        } */
        
.age-list-table-card {
    background: white;
    border-radius: 19px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.age-list-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.age-list-table th {
    background: #FAFAFA;
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    color: #1A1A1A;
    font-size: 13px;
    border-bottom: 1px solid #D0D0D0;
}

.age-list-table td {
    
    font-weight: 400 !important;

}
.age-list-table thead th:first-child {
    border-top-left-radius: 12px;
}

.age-list-table thead th:last-child {
    border-top-right-radius: 12px;
}

.age-list-table thead th {
    background-color: #FAFAFA !important;
    padding: 16px 20px;
}

.age-list-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    text-align: left !important;
    color: #1f2937;
}

.age-list-table tr:hover {
    background: #f8fafc;
}

/* Status Badges */
.kyc-verified {
    background: #EBFFE1;
    color: #16A34A;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.kyc-pending {
    background: #FDECEA;
    color: #C62828;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.kyc-pending-view-scheme {
    background: #FFF8E1;
    color: #F59E0B;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.kyc-upcoming {
    background: #E8F4FD;
    color: #1565C0;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.status-active {
    background: #10b981;
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.view-btn {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}



/* --- Add Defaulter / Recovery Case Module --- */
.add-defaulter-section-title {
    font-family: 'Inter', sans-serif;
    color: var(--primary-magenta) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.add-defaulter-badge-auto-filled {
    background: #EFF6FF !important;
    color: #1D4ED8 !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    margin-left: 8px !important;
    display: inline-flex !important;
    align-items: center;
    text-transform: none !important;
}

.add-defaulter-recovery-card {
    background: #FFF;
    border: 2px solid #F3F4F6;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.add-defaulter-card-header {
    background: #FAE6F2;
    padding: 16px 20px;
}

.add-defaulter-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 4px 0;
}

.add-defaulter-card-header p {
    font-size: 13px;
    color: #1A1A1A;
    margin: 0;
}

.add-defaulter-card-body {
    padding: 20px;
}

/* --- RECOVERY DETAILS MODULE --- */
.recovery-details-wrapper {
    padding: 24px;
}

.recovery-details-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.recovery-details-breadcrumb span {
    color: var(--primary-magenta);
    font-weight: 500;
}

.recovery-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.recovery-details-title-info h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.recovery-details-title-info p {
    color: var(--text-muted);
    font-size: 13px;
}

.recovery-details-header-actions {
    display: flex;
    gap: 12px;
}

.recovery-details-btn-outline {
    padding: 10px 20px;
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
    border-radius: 6px;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}

.recovery-details-btn-primary {
    padding: 10px 20px;
    background: var(--primary-magenta);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.recovery-details-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    /* padding: 20px; */
    margin-bottom: 24px;
}

.recovery-details-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.recovery-details-subscriber-banner {
    background: #FFF0F6;
    border: 10px solid var(--primary-magenta);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recovery-details-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recovery-details-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-magenta);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.recovery-details-user-name {
    font-weight: 600;
    font-size: 15px;
}

.recovery-details-badge-active {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #C8E6C9;
}

.recovery-details-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.recovery-details-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.recovery-details-info-label {
    color: var(--text-muted);
}

.recovery-details-info-value {
    font-weight: 500;
    text-align: right;
}

.recovery-details-table-wrapper {
    overflow-x: auto;
}

.recovery-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.recovery-details-table th {
    text-align: left;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.recovery-details-table td {
    padding: 15px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.recovery-details-status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.recovery-details-status-open {
    background: #FFEBEE;
    color: #D32F2F;
}

.recovery-details-status-recovery {
    background: #FFF8E1;
    color: #F59E0B;
}

.recovery-details-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.recovery-details-tab {
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.recovery-details-tab.active {
    color: var(--primary-magenta);
    border-bottom-color: var(--primary-magenta);
}

.recovery-details-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.recovery-details-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.recovery-details-form-group {
    margin-bottom: 16px;
}

.recovery-details-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.recovery-details-input,
.recovery-details-select,
.recovery-details-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E2E2E2;
    border-radius: 6px;
    font-size: 13px;
    background: #F9F9F9;
}

.recovery-details-textarea {
    height: 80px;
    resize: none;
}

.recovery-details-badge-auto {
    background: #E3F2FD;
    color: #1565C0;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    float: right;
}

.recovery-details-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

.recovery-details-summary-label {
    color: var(--text-muted);
}

.recovery-details-summary-value {
    font-weight: 600;
}

.recovery-details-followup-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.recovery-details-followup-date {
    /* background: #F9F9F9; */
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    padding: 15px;
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
}

.recovery-details-followup-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: left;
}

.recovery-details-history-list {
    margin-top: 15px;
}

.recovery-details-history-item {
    position: relative;
    padding-left: 24px;
    padding-bottom: 20px;
    border-left: 2px solid #E2E2E2;
}

.recovery-details-history-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--primary-magenta);
    border-radius: 50%;
}

.recovery-details-history-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.recovery-details-history-date {
    font-weight: 600;
    font-size: 13px;
}

.recovery-details-history-type {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.recovery-details-history-type.call {
    background: #EBFFE1;
    color: #16A34A;
    border-radius: 10px !important;
    /* border: 1px solid #2E7D32 !important; */
}

.recovery-details-history-type.visit {
    background: #FFF8E1;
    color: #F59E0B;
    border-radius: 10px !important;
}

.recovery-details-history-text {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}

.recovery-details-history-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.recovery-details-btn-full {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #E2E2E2;
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.recovery-details-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.recovery-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.recovery-details-modal.show {
    display: flex;
}

.recovery-details-modal-content {
    background: #fff;
    width: 95%;
    max-width: 480px;
    max-height: 92vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 20px;
}

.recovery-details-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #F3F3F3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.recovery-details-modal-title {
    font-size: 18px;
    font-weight: 700;
}

.recovery-details-modal-close {
    cursor: pointer;
    font-size: 20px;
    color: #BBB;
}

.recovery-details-modal-body {
    padding: 16px 24px;
    overflow-y: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.recovery-details-modal-body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.recovery-details-modal-footer {
    padding: 16px 24px 24px 24px;
    background: #F8F9FA;
    display: flex;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid #F3F3F3;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .recovery-details-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .recovery-details-header {
        flex-direction: column;
        gap: 15px;
    }

    .recovery-details-form-grid {
        grid-template-columns: 1fr;
    }

    .recovery-details-info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Recovery Details Module Refinement --- */

.recovery-details-card {
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    /* padding: 24px; */
    margin-bottom: 24px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.recovery-details-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-left: 4px;
}

.recovery-details-subscriber-banner {
    background: #FFF0F6;
    border: 2px solid #C80679;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.recovery-details-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recovery-details-avatar {
    width: 52px !important;
    height: 52px !important;
    background: #C80679;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px !important;
}

.recovery-details-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
}

.recovery-details-badge-active {
    background: #EBFFE1;
    color: #16A34A;
    border: 1px solid #16A34A;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.subscriber-details-aligned-table {
    width: 100%;
    border-collapse: separate;
    /* border-spacing: 50px 0;
    margin-left: -25px; */
}

.subscriber-details-aligned-table td {
    padding: 12px 0;
    border-bottom: 1px solid #E2E2E2;
    width: 50%;
    vertical-align: middle;
}

.subscriber-details-aligned-table tr:last-child td {
    border-bottom: none;
}

.subscriber-details-aligned-table td .label {
    font-size: 13px;
    color: #1A1A1A;
    font-weight: 400;
}

.subscriber-details-aligned-table td .value {
    font-size: 13px;
    color: #1A1A1A;
    font-weight: 700;
    float: right;
}

/* Recovery List Table (Below Section) */
.age-list-table {
    width: 100%;
    border-collapse: collapse;
}

.age-list-table th {
    background: #FFFFFF;
    color: #4A4A4A !important;
    font-weight: 700;
    font-size: 13px;
    padding: 16px 12px;
    border-bottom: 2px solid #E2E2E2;
    text-align: left;
}

.age-list-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #F5F5F5;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    vertical-align: middle;
}

.status-pill {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.pill-open {
    background: #FFF0F0;
    color: #EF4444;
}

.pill-recovery {
    background: #FFF8E1;
    color: #D97706;
}

/* Receipt Modal Styles */
.receipt-amount-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px !important;
    /* padding: 12px 20px; */

}

.receipt-amount-label {
    font-weight: 700;
    color: #1A1A1A;
    font-size: 14px;
}

.receipt-amount-value {
    font-weight: 700;
    color: #1A1A1A;
    font-size: 17px;
}

/* AGENT SCREENS */
.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.radio .circle {
    width: 18px;
    height: 18px;
    border: 2px solid #C0C0C0;
    border-radius: 50%;
}

.radio.active .circle {
    border-color: #C80679;
    background: #C80679;
}

.upload-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.upload-circle {
    width: 80px;
    height: 80px;
    border: 2px dashed #E0E0E0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
}

/* Commission Status Buttons */
.comm-status-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    min-width: 110px;
    text-align: center;
    border: none;
}

.comm-not-eligible {
    background-color: #F59E0B;
    color: white;
}

.comm-eligible {
    background-color: #16A34A;
    color: white;
}

.comm-disbursed {
    background-color: #F2F2F2;
    color: #828282;
}

/* Collection Status Pills */
.coll-status-pill {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.coll-pending {
    background-color: #FFF9E6;
    color: #F2994A;
}

.coll-paid {
    background-color: #E8F5E9;
    color: #27AE60;
}

.coll-overdue {
    background-color: #FDEDED;
    color: #EB5757;
}

/* Branch & Commission table styling */
.branch-comm-table {
    width: 100%;
    border-collapse: collapse;
}

.branch-comm-table th {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 16px;
    background-color: #FAFAFA;
    border-bottom: 1px solid #EEE;
    border-top: 1px solid #EEE;
    text-align: center;
}

.branch-comm-table td {
    font-size: 14px;
    color: #555;
    padding: 20px 16px;
    text-align: center;
}

.branch-comm-card-title {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* AGENT LIST CSS */
.agents-list-wrapper {
    padding: 24px;
    background-color: var(--agents-gray-bg);
    min-height: calc(100vh - 70px);
}

/* Header Section */
.agents-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.agents-list-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--agents-primary);
    margin: 0;
}

.agents-list-header p {
    color: var(--agents-secondary);
    margin: 4px 0 0;
    font-size: 14px;
}

.agents-list-header-actions {
    display: flex;
    gap: 12px;
}

.agents-list-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px solid #C80679;
    border-radius: 8px;
    background: #FFFFFF;
    color: #C80679;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.agents-list-btn-outline:hover {
    background: #f3f4f6;
}

.agents-list-btn-filled {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--agents-primary);
    color: var(--agents-white);
    border-radius: 8px;
    font-weight: 500 !important;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.agents-list-btn-filled:hover {
    opacity: 0.9;
}

/* Stats Cards */
.agents-list-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.agents-list-stat-card {
    background: var(--agents-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--agents-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-label {
    color: var(--agents-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--agents-primary);
    margin-bottom: 4px;
}

.stat-subtitle {
    font-size: 12px;
    color: #9CA3AF;
}

.agents-list-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.agents-list-icon-blue {
    background: rgba(0, 102, 255, 0.1);
    color: var(--agents-blue);
}

.agents-list-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--agents-green);
}

.agents-list-icon-yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--agents-yellow);
}

.agents-list-icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--agents-red);
}

/* Filters Bar */
.agents-list-filters-bar {
    background: var(--agents-white);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--agents-border);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.agents-list-search-container {
    position: relative;
    flex: 1;
}

.agents-list-search-container i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
}

.agents-list-search-container input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background-color: #F8F9FA;
}

/* Custom Select/Dropdowns */
.agents-list-custom-select {
    position: relative;
    min-width: 180px;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--agents-primary);
    background: var(--agents-white);
}

.select-trigger i {
    font-size: 11px;
    color: var(--agents-secondary);
}

.custom-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 160px;
    background: var(--agents-white);
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: 4px 0;
}

.agents-list-action-wrapper {
    position: relative;
    display: inline-block;
}

.agents-list-action-wrapper .custom-dropdown {
    right: 0;
    left: auto;
    width: auto;
    min-width: 100px;
}

.dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--agents-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(191, 0, 96, 0.05);
    color: var(--agents-brand);
}

.agents-list-reset-btn {
    color: var(--agents-secondary);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.agents-list-export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    color: var(--agents-primary);
}

/* Table Section */
.agents-list-table-container {
    background: var(--agents-white);
    border-radius: 12px;
    border: 1px solid var(--agents-border);
    overflow: hidden;
    position: relative;
}

.agents-list-table {
    width: 100%;
    border-collapse: collapse;
}

.agents-list-table th {
    background: #FAFAFA;
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--agents-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--agents-border);
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

/* DataTables Sorting Icons Customization */
.agents-list-table thead th.sorting,
.agents-list-table thead th.sorting_asc,
.agents-list-table thead th.sorting_desc {
    background-image: none !important;
    padding-right: 30px !important;
}

.agents-list-table thead th.sorting::after,
.agents-list-table thead th.sorting_asc::after,
.agents-list-table thead th.sorting_desc::after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #D1D5DB;
}

.agents-list-table thead th.sorting::after {
    content: "\f0dc";
    /* sort */
}

.agents-list-table thead th.sorting_asc::after {
    content: "\f0de";
    /* sort-up */
    color: var(--agents-primary);
}

.agents-list-table thead th.sorting_desc::after {
    content: "\f0dd";
    /* sort-down */
    color: var(--agents-primary);
}

.agents-list-table td {
    padding: 16px;
    border-bottom: 1px solid var(--agents-border);
    font-size: 14px;
    color: var(--agents-primary);
}

.agents-list-table tr:last-child td {
    border-bottom: none;
}

.agents-list-table tr:hover td {
    background-color: #FAFAFA;
}

.agents-list-agent-name {
    font-weight: 600;
}

.agents-list-contact {
    color: var(--agents-secondary);
}

/* Badges */
.agents-list-badge-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.agents-list-status-active {
    background: #10B981;
    color: #FFFFFF;
}

.agents-list-status-inactive {
    background: #6B7280;
    color: #FFFFFF;
}

.agents-list-status-pending {
    background: #F59E0B;
    color: #FFFFFF;
}

.agents-list-badge-kyc {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.agents-list-kyc-verified {
    background: #ECFDF5;
    color: #10B981;
}

.agents-list-kyc-pending {
    background: #FEF2F2;
    color: #EF4444;
}

.agents-list-action-btn {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
}

/* Footer & Pagination */
.agents-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--agents-border);
}

.agents-list-record-info {
    font-size: 14px;
    color: var(--agents-secondary);
}

.agents-list-pagination {
    display: flex;
    gap: 8px;
}

.agents-list-page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--agents-border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--agents-primary);
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.agents-list-page-btn.active {
    background: #C80679;
    color: var(--agents-white);
    /* border-color: var(--agents-primary); */
}

.agents-list-page-btn:hover:not(.active) {
    background: #F3F4F6;
}

.agents-list-page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* No Data State */
.agents-list-no-data {
    display: none;
    /* Hidden by default */
    padding: 60px 20px;
    text-align: center;
    background: var(--agents-white);
}

.no-data-icon {
    font-size: 64px;
    color: #D0D0D0;
    margin-bottom: 20px;
}

.agents-list-no-data h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--agents-primary);
    margin: 0 0 8px;
}

.agents-list-no-data p {
    color: var(--agents-secondary);
    font-size: 14px;
    margin: 0 0 24px;
}

/* DataTables Overrides */
.dataTables_wrapper .dataTables_paginate {
    display: none;
}

.dataTables_empty {
    display: none !important;
}

/* --- AGENTS LIST STYLES START --- */
:root {
    --agents-primary: #1A1A1A;
    --agents-secondary: #6B6B6B;
    --agents-blue: #0066FF;
    --agents-green: #10B981;
    --agents-yellow: #F59E0B;
    --agents-red: #EF4444;
    --agents-gray-bg: #FAFAFA;
    --agents-border: #D0D0D0;
    --agents-white: #FFFFFF;
    --agents-brand: #BF0060;
}

.agents-list-wrapper {
    padding: 24px;
    background-color: var(--agents-gray-bg);
    min-height: calc(100vh - 70px);
}

.agents-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.agents-list-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--agents-primary);
    margin: 0;
}

.agents-list-header p {
    color: var(--agents-secondary);
    margin: 4px 0 0;
    font-size: 14px;
}

.agents-list-header-actions {
    display: flex;
    gap: 12px;
}

.agents-list-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px solid #C80679;
    border-radius: 8px;
    background: #FFFFFF;
    color: #C80679;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.agents-list-btn-outline:hover {
    background: #f3f4f6;
}

.agents-list-btn-filled {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #C80679;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.agents-list-btn-filled:hover {
    opacity: 0.9;
}

.agents-list-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.agents-list-stat-card {
    background: var(--agents-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--agents-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-label {
    color: var(--agents-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--agents-primary);
    margin-bottom: 4px;
}

.stat-subtitle {
    font-size: 12px;
    color: #9CA3AF;
}

.agents-list-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.agents-list-icon-blue {
    background: rgba(0, 102, 255, 0.1);
    color: var(--agents-blue);
}

.agents-list-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--agents-green);
}

.agents-list-icon-yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--agents-yellow);
}

.agents-list-icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--agents-red);
}

.agents-list-filters-bar {
    background: var(--agents-white);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--agents-border);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.agents-list-search-container {
    position: relative;
    flex: 1;
}

.agents-list-search-container i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
}

.agents-list-search-container input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background-color: #F8F9FA;
}

.agents-list-custom-select {
    position: relative;
    min-width: 180px;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--agents-primary);
    background: var(--agents-white);
}

.select-trigger i {
    font-size: 11px;
    color: var(--agents-secondary);
}

.custom-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 160px;
    background: var(--agents-white);
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: 4px 0;
}

.agents-list-action-wrapper {
    position: relative;
    display: inline-block;
}

.agents-list-action-wrapper .custom-dropdown {
    right: 0;
    left: auto;
    width: auto;
    min-width: 100px;
}

.dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--agents-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(191, 0, 96, 0.05);
    color: var(--agents-brand);
}

.agents-list-reset-btn {
    color: var(--agents-secondary);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.agents-list-export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--agents-border);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    color: var(--agents-primary);
}

.agents-list-table-container {
    background: var(--agents-white);
    border-radius: 12px;
    border: 1px solid var(--agents-border);
    overflow: hidden;
    position: relative;
}

.agents-list-table {
    width: 100%;
    border-collapse: collapse;
}

.agents-list-table th {
    background: #FAFAFA;
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--agents-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--agents-border);
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.agents-list-table thead th.sorting,
.agents-list-table thead th.sorting_asc,
.agents-list-table thead th.sorting_desc {
    background-image: none !important;
    padding-right: 30px !important;
}

.agents-list-table thead th.sorting::after,
.agents-list-table thead th.sorting_asc::after,
.agents-list-table thead th.sorting_desc::after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #D1D5DB;
}

.agents-list-table thead th.sorting::after {
    content: "\f0dc";
}

.agents-list-table thead th.sorting_asc::after {
    content: "\f0de";
    color: var(--agents-primary);
}

.agents-list-table thead th.sorting_desc::after {
    content: "\f0dd";
    color: var(--agents-primary);
}

.agents-list-table td {
    padding: 16px;
    border-bottom: 1px solid var(--agents-border);
    font-size: 14px;
    color: var(--agents-primary);
}

.agents-list-table tr:last-child td {
    border-bottom: none;
}

.agents-list-table tr:hover td {
    background-color: #FAFAFA;
}

.agents-list-agent-name {
    font-weight: 600;
}

.agents-list-contact {
    color: var(--agents-secondary);
}

.agents-list-badge-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.agents-list-status-active {
    background: #10B981;
    color: #FFFFFF;
}

.agents-list-status-inactive {
    background: #6B7280;
    color: #FFFFFF;
}

.agents-list-status-pending {
    background: #F59E0B;
    color: #FFFFFF;
}

.agents-list-badge-kyc {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.agents-list-kyc-verified {
    background: #ECFDF5;
    color: #10B981;
}

.agents-list-kyc-pending {
    background: #FEF2F2;
    color: #EF4444;
}

.agents-list-action-btn {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
}

.agents-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--agents-border);
}

.agents-list-record-info {
    font-size: 14px;
    color: var(--agents-secondary);
}

.agents-list-pagination {
    display: flex;
    gap: 8px;
}

.agents-list-page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--agents-border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--agents-primary);
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.agents-list-page-btn.active {
    background: #C80679;
    color: var(--agents-white);
    /* border-color: var(--agents-primary); */
}

.agents-list-page-btn:hover:not(.active) {
    background: #F3F4F6;
}

.agents-list-page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.agents-list-no-data {
    display: none;
    padding: 60px 20px;
    text-align: center;
    background: var(--agents-white);
}

.no-data-icon {
    font-size: 64px;
    color: #D0D0D0;
    margin-bottom: 20px;
}

.agents-list-no-data h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--agents-primary);
    margin: 0 0 8px;
}

.agents-list-no-data p {
    color: var(--agents-secondary);
    font-size: 14px;
    margin: 0 0 24px;
}

/* --- AGENTS LIST STYLES END --- */

/* Verification Queue specific CSS */
.verification_queue_action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
    grid-column: 1 / -1;
}

.verification_queue_btn-reject {
    padding: 8px 16px;
    border: 1px solid #C62828;
    background: #FDECEA;
    color: #C62828;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.verification_queue_btn-verify {
    padding: 8px 16px;
    border: 1px solid #16A34A;
    background: #EBFFE1;
    color: #16A34A;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.verification_queue_btn-verified {
    padding: 8px 16px;
    border: none;
    background: #10B981;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.verification_queue_btn-view {
    padding: 6px 16px;
    border: 1px solid var(--primary-magenta);
    background: #fff;
    color: var(--primary-magenta);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
/* Approval Queue Badges */
.badge-readonly { background: #FFF3E0 !important; color: #F57C00 !important; padding: 4px 8px !important; border-radius: 12px !important; font-size: 10px !important; text-transform: none !important; margin-left: 8px !important; font-weight: 600 !important; }

/* --- VIEW DOC SUBS SPECIFIC STYLES --- */
/* #view_chit-documents {
    background: #FFFFFF;
    border-radius: 0;
    padding: 0;
} */

.view-doc-subs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.view-doc-subs-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.view-doc-subs-actions {
    display: flex;
    gap: 12px;
}

.view-doc-subs-return-btn {
    padding: 8px 16px;
    border: 1px solid #C80679;
    background: #FFFFFF;
    color: #C80679;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.view-doc-subs-add-btn {
    padding: 8px 16px;
    border: none;
    background: #C80679;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none; 
}

.view-doc-subs-add-bt {
    padding: 8px 16px;
    border: none;
    background: #fff;
    color: #C80679;
    border-radius: 4px;
    border: 1px solid #C80679;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none; 
}

.view-doc-subs-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.view-doc-subs-table {
    width: 100%;
    border-collapse: collapse;
}

.view-doc-subs-table thead th {
    background: #FAFAFA;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
    text-align: center;
    border-top: 1px solid #D0D0D0;
    border-bottom: 1px solid #D0D0D0;
    white-space: nowrap;
}

.view-doc-subs-table tbody td {
    padding: 16px 8px;
    font-size: 14px;
    color: #4B5563;
    text-align: center;
    border-bottom: 1px solid #D0D0D0;
}

.view-doc-subs-table tbody tr:last-child td {
    border-bottom: 1px solid #D0D0D0;
}

.view-doc-subs-doc-name {
    text-align: left !important;
    padding-left: 20px !important;
}

.view-doc-subs-doc-name span {
    text-decoration: underline;
    color: #4B5563;
    cursor: pointer;
}

.view-doc-subs-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 2px;
    margin: 0 auto;
    background: #FFFFFF;
}




/* --- add_subscriber_documents.html Styles --- */
.add_subscriber_documents-details-card {
    background: #fff;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 100px;
}

.add_subscriber_documents-enrollment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, auto);
    grid-auto-flow: column;
    gap: 12px 40px;
    margin-top: 15px;
}

.add_subscriber_documents-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1A1A1A;
    cursor: pointer;
}

.add_subscriber_documents-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-magenta);
    cursor: pointer;
}

.add_subscriber_documents-upload-box {
    border: 1px dashed #D0D0D0;
    background: #F9FAFB;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.add_subscriber_documents-upload-box:hover {
    border-color: var(--primary-magenta);
    background: #FFF0F6;
}

.add_subscriber_documents-upload-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-magenta);
}

.add_subscriber_documents-upload-subtext {
    font-size: 12px;
    color: #919191;
    margin-top: 2px;
}

.add_subscriber_documents-form-helper-text {
    font-size: 12px;
    color: #919191;
    margin-top: 6px;
}

.add_subscriber_documents-date-picker-wrapper {
    position: relative;
}

.add_subscriber_documents-date-picker-wrapper i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #919191;
    pointer-events: none;
}

.add_subscriber_documents-footer-fixed {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid #E5E5E5;
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 250px);
    z-index: 100;
}

@media (max-width: 992px) {
    .add_subscriber_documents-footer-fixed {
        width: 100%;
    }
}

/* --- Standardized Form Redesign Classes --- */
.form-actions-footer {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid #E5E5E5;
}
.form-actions-footer .btn-cancel {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}
.enrollment-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(7, auto);
    grid-auto-flow: column;
    column-gap: 50px;
    row-gap: 18px;
    margin-top: 15px;
}
.source-income-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #C80679;
    border: 1.5px solid #D0D0D0;
    border-radius: 4px;
}
.checkbox-item label,
.radio-item label {
    font-size: 15px;
    color: #333;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 400;
}
.geo-location-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.geo-location-row .form-control {
    flex: 1;
    margin: 0;
}
.geo-location-row .btn-set {
    background: white;
    color: #C80679;
    border: 1.5px solid #C80679;
    border-radius: 8px;
    flex: 1.2;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.custom-textarea {
    padding: 12px;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    background: #F8F8F8;
    width: 100%;
    resize: none;
    font-family: inherit;
    font-size: 14px;
}
.custom-textarea.large {
    height: 100px;
}
.custom-textarea.small {
    height: 60px;
}

/* enrollement_scbs - Subscriber Enrollment View Enhancements */
.enrollement_scbs_header_btns {
    display: flex;
    gap: 12px;
}

.enrollement_scbs_btn_outline {
    padding: 8px 16px;
    border: 1px solid #C80679;
    color: #C80679;
    background: white;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.enrollement_scbs_btn_filled {
    padding: 8px 16px;
    background: #C80679;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.enrollement_scbs_banner_card {
    background: white;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.enrollement_scbs_banner_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #FFC1E3;
    background: #FFF9FC;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.enrollement_scbs_profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.enrollement_scbs_avatar {
    width: 44px;
    height: 44px;
    background: #C80679;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.enrollement_scbs_name_area h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 2px 0;
}

.enrollement_scbs_name_area p {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0;
}

.enrollement_scbs_stars {
    display: flex;
    gap: 4px;
    color: #F59E0B;
    font-size: 20px;
}

.enrollement_scbs_details_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
}

.enrollement_scbs_detail_item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F0;
}

.enrollement_scbs_detail_label {
    color: #6B6B6B;
    font-size: 14px;
    font-weight: 400;
}

.enrollement_scbs_detail_value {
    font-weight: 600;
    color: #1A1A1A;
    font-size: 14px;
    text-align: right;
}

.enrollement_scbs_stats_row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.enrollement_scbs_stat_card {
    background: white;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 4px solid #E2E2E2;
}

.enrollement_scbs_stat_card.magenta { border-left-color: #C80679; }
.enrollement_scbs_stat_card.green { border-left-color: #16A34A; }
.enrollement_scbs_stat_card.blue { border-left-color: #2563EB; }
.enrollement_scbs_stat_card.orange { border-left-color: #F59E0B; }
.enrollement_scbs_stat_card.cyan { border-left-color: #0891B2; }
.enrollement_scbs_stat_card.red { border-left-color: #DC2626; }
.enrollement_scbs_stat_card.purple { border-left-color: #7C3AED; }

.enrollement_scbs_stat_label {
    font-size: 12px;
    color: #6B6B6B;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.enrollement_scbs_stat_value {
    font-size: 26px;
    font-weight: 700;
    color: #1A1A1A;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.enrollement_scbs_stat_subtext {
    font-size: 13px;
    color: #6B6B6B;
    font-weight: 400;
}

.enrollement_scbs_bottom_menu {
    display: flex;
    background: #F9FAFB;
    border-top: 1px solid #E2E2E2;
    border-bottom: 1px solid #E2E2E2;
    overflow-x: auto;
    margin-top: 30px;
    padding: 0 10px;
    scrollbar-width: none;
}

.enrollement_scbs_bottom_menu::-webkit-scrollbar {
    display: none;
}

.enrollement_scbs_menu_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #6B6B6B;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s;
}

.enrollement_scbs_menu_item i {
    font-size: 16px;
}

.enrollement_scbs_menu_item.active {
    color: #C80679;
    border-bottom-color: #C80679;
    background: white;
}

.enrollement_scbs_menu_item:hover:not(.active) {
    color: #C80679;
    background: #FFF0F7;
}


/* Hide native date/time picker icons */
.date-picker-wrapper input::-webkit-calendar-picker-indicator,
.date-picker-wrapper input::-webkit-inner-spin-button,
.date-picker-wrapper input::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}

/* enrollement_scbs - Enrollment View Content Styles */
.enrollement_scbs_magenta_btn {
    background: #C80679;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
}
.enrollement_scbs_magenta_btn:hover {
    background: #a00561;
}

.enrollement_scbs_magenta_btn_outline {
    background: #fff;
    color: #C80679;
    border: 1px solid #C80679;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}
.enrollement_scbs_magenta_btn_outline:hover {
    background: #fdf2f8;
}

.enrollement_scbs_alert {
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.enrollement_scbs_alert.success {
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
    color: #16A34A;
}
.enrollement_scbs_alert.info {
    background: #F0F9FF;
    border: 1px solid #E0F2FE;
    color: #0284C7;
}

.enrollement_scbs_doc_table thead th {
    border: 1px solid #E2E2E2 !important;
    vertical-align: middle;
}
.enrollement_scbs_doc_table tfoot tr {
    border-top: 1px solid #E2E2E2;
}
.enrollement_scbs_doc_table th i {
    font-size: 16px;
}


/* --- INTRO COMMISSION MODULE --- */
.introcomm-introducer-header { background-color: #fff; border-radius:4px; padding:15px 20px !important; margin-bottom: 20px; font-weight: 500; font-size: 15px; color: #1A1A1A; border-bottom: 1px solid #E2E2E2; }
.introcomm-agent-link { color: #C80679; text-decoration: underline; margin-left: 5px; }
.introcomm-card { background: #fff; margin-bottom: 25px; border: 1px solid #E2E2E2; border-radius: 8px; overflow: hidden; }
.introcomm-card-header { padding: 15px 20px; border-bottom: 1px solid #E2E2E2; }
.introcomm-card-header h3 { margin: 0; font-size: 16px; font-weight: 600; color: #1A1A1A; }
.introcomm-table { width: 100%; border-collapse: collapse; }
.introcomm-table th { background: #fff !important; color: #1A1A1A !important; font-weight: 600 !important; text-align: center !important; padding: 12px 16px !important; border-bottom: 1px solid #E2E2E2 !important; border-right: 1px solid #E2E2E2 !important; }
.introcomm-table th:last-child { border-right: none !important; }
.introcomm-table td { padding: 12px 16px !important; text-align: center !important; color: #1A1A1A; border-bottom: 1px solid #E2E2E2 !important; border-right: 1px solid #E2E2E2 !important; font-size: 14px; }
.introcomm-table td:last-child { border-right: none !important; }
.introcomm-table td:nth-child(2) { text-align: left !important; }
.introcomm-row-balance { background-color: #F8FAFC !important; }
.introcomm-row-balance td { font-weight: 600 !important; color: #1A1A1A !important; }
.introcomm-row-balance td:first-child { text-align: right !important; }
.introcomm-row-balance td:last-child { text-align: right !important; }
.introcomm-credit { background-color: #D1FAE5 !important; text-align: right !important; }
.introcomm-debit { background-color: #FEE2E2 !important; text-align: right !important; }
.introcomm-balance { background-color: #D1FAE5 !important; text-align: right !important; }
.introcomm-table td:nth-child(3), .introcomm-table td:nth-child(4), .introcomm-table td:nth-child(5) { text-align: right !important; }
.introcomm-icd-link { color: #C80679; text-decoration: underline; }
.introcomm-note-card { background: #fff; border: 1px solid #E2E2E2; border-radius: 8px; margin-top: 25px; }
.introcomm-note-title { margin: 0 0 15px 0; font-size: 16px; font-weight: 600; color: #1A1A1A; }
.introcomm-note-list { border: 1px solid #E2E2E2; border-radius: 8px; }
.introcomm-note-item { padding: 12px 16px; border-bottom: 1px solid #E2E2E2; display: flex; justify-content: space-between; font-size: 14px; color: #1A1A1A; }
.introcomm-note-item-last { border-bottom: none; }
.introcomm-note-value { font-weight: 500; }

/* --- INTRO COMMISSION REFINED --- */
.introcomm-introducer-header { padding: 12px 0; margin-bottom: 20px; font-weight: 500; font-size: 16px; color: #1A1A1A; border-bottom: 1px solid #E2E2E2; }
.introcomm-agent-link { color: #C80679; text-decoration: underline; font-weight: 500; }
.introcomm-card { background: #fff; margin-bottom: 25px; border: 1px solid #E2E2E2; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.introcomm-card-header { padding: 15px 20px; border-bottom: 1px solid #E2E2E2; background-color: #fff; }
.introcomm-card-header h3 { margin: 0; font-size: 16px; font-weight: 500; color: #1A1A1A; }
.introcomm-table { width: 100%; border-collapse: collapse; }
.introcomm-table th { background: #fff !important; color: #333 !important; font-weight: 500 !important; text-align: center !important; padding: 12px 16px !important; border-bottom: 1px solid #E2E2E2 !important; border-right: 1px solid #E2E2E2 !important; }
.introcomm-table th:last-child { border-right: none !important; }
.introcomm-table td { padding: 12px 16px !important; text-align: center !important; color: #1A1A1A; border-bottom: 1px solid #E2E2E2 !important; border-right: 1px solid #E2E2E2 !important; font-size: 14px; }
.introcomm-table td:last-child { border-right: none !important; }
.introcomm-table td:nth-child(2) { text-align: left !important; }
.introcomm-row-balance { background-color: #F0F7FF !important; }
.introcomm-row-balance td { font-weight: 500 !important; color: #1A1A1A !important; text-align: right !important; }
.introcomm-credit { background-color: #E0FFF4 !important; text-align: right !important; }
.introcomm-debit { background-color: #FFF1F1 !important; text-align: right !important; }
.introcomm-balance { background-color: #E0FFF4 !important; text-align: right !important; }
.introcomm-icd-link { color: #C80679; text-decoration: underline; }
.introcomm-note-card { background: #fff; border: 1px solid #E2E2E2; border-radius: 8px; margin-top: 25px; }
.introcomm-note-title { margin: 0 0 15px 0; font-size: 16px; font-weight: 600; color: #1A1A1A; }
.introcomm-note-list { border-top: 1px solid #E2E2E2; }
.introcomm-note-item { padding: 12px 0; border-bottom: 1px solid #E2E2E2; display: flex; justify-content: space-between; font-size: 14px; color: #333; }
.introcomm-note-item:last-child { border-bottom: none; }
.introcomm-note-value { font-weight: 500; color: #1A1A1A; }

/* --- INTRO COMMISSION FINAL POLISH --- */
.introcomm-introducer-header { padding: 15px 0; margin-bottom: 25px; font-weight: 500; font-size: 16px; color: #1A1A1A; border-bottom: 1px solid #E2E2E2; }
.introcomm-agent-link { color: #C80679; text-decoration: underline; font-weight: 500; transition: color 0.2s; }
.introcomm-agent-link:hover { color: #A00561; }
.introcomm-card { background: #fff; margin-bottom: 25px; border: 1px solid #E2E2E2; border-radius: 10px; overflow: hidden; }
.introcomm-card-header { padding: 16px 20px; border-bottom: 1px solid #E2E2E2; background-color: #fff; }
.introcomm-card-header h3 { margin: 0; font-size: 16px; font-weight: 600; color: #1A1A1A; }
.introcomm-table { width: 100%; border-collapse: collapse; }
.introcomm-table th { background: #fff !important; color: #1A1A1A !important; font-weight: 600 !important; text-align: center !important; padding: 14px 16px !important; border-bottom: 1px solid #E2E2E2 !important; border-right: 1px solid #E2E2E2 !important; font-size: 14px; }
.introcomm-table th:last-child { border-right: none !important; }
.introcomm-table td { padding: 14px 16px !important; text-align: center !important; color: #1A1A1A; border-bottom: 1px solid #E2E2E2 !important; border-right: 1px solid #E2E2E2 !important; font-size: 14px; }
.introcomm-table tr:last-child td { border-bottom: none !important; }
.introcomm-table td:last-child { border-right: none !important; }
.introcomm-table td:nth-child(2) { text-align: left !important; }
.introcomm-row-balance { background-color: #F0F9FF !important; }
.introcomm-row-balance td { font-weight: 600 !important; color: #1A1A1A !important; text-align: right !important; }
.introcomm-credit { background-color: #DCFCE7 !important; color: #166534 !important; text-align: right !important; }
.introcomm-debit { background-color: #FEE2E2 !important; color: #991B1B !important; text-align: right !important; }
.introcomm-balance { background-color: #DCFCE7 !important; color: #166534 !important; text-align: right !important; }
.introcomm-icd-link { color: #C80679; text-decoration: underline; font-weight: 500; }
.introcomm-note-card { background: #fff; border: 1px solid #E2E2E2; border-radius: 10px; overflow: hidden; margin-top: 25px; }
.introcomm-note-header { padding: 16px 20px; font-weight: 600; font-size: 16px; color: #1A1A1A; border-bottom: 1px solid #E2E2E2; }
.introcomm-note-item { padding: 14px 20px; border-bottom: 1px solid #E2E2E2; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #4B5563; }
.introcomm-note-item:last-child { border-bottom: none; }
.introcomm-note-value { font-weight: 600; color: #1A1A1A; }

/* --- INTRO COMMISSION COLOR FIX --- */
.introcomm-table td { color: #1A1A1A !important; }
.introcomm-credit, .introcomm-debit, .introcomm-balance { color: #1A1A1A !important; }
.introcomm-note-value { color: #1A1A1A !important; }

/* --- INTRO COMMISSION ALIGNMENT FIX --- */
.introcomm-row-balance td[colspan] { text-align: right !important; padding-right: 16px !important; }

/* --- LEDGER MODULE --- */
.ledger-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    background-color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #E2E2E2;
}

.ledger-btn-outline {
    background: white;
    border: 1px solid #C80679;
    border-radius: 6px;
    padding: 8px 16px;
    color: #C80679;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ledger-btn-outline:hover {
    background: #FDF2F8;
}

.ledger-btn-icon-outline {
    background: white;
    border: 1px solid #C80679;
    border-radius: 6px;
    padding: 8px 12px;
    color: #C80679;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.ledger-btn-filled {
    background: #C80679;
    color: white;
    border: 1px solid #C80679;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.ledger-btn-filled:hover {
    background: #A00561;
}

.ledger-summary-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ledger-card {
    background: white;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.ledger-summary-table {
    width: 100%;
    border-collapse: collapse;
    height: 100%;
    flex-grow: 1;
}

.ledger-summary-table th, .ledger-summary-table td {
    border: 1px solid #E2E2E2;
}

.ledger-summary-table th {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.ledger-th-blue { color: #2563EB; }
.ledger-th-green { color: #16A34A; }
.ledger-th-orange { color: #D97706; }

/* Header Background (Default) */
.ledger-summary-table thead th {
    background-color: #D0D0D0 !important;
    color: #374151;
}

/* Full Column Backgrounds (Including Headers) */
.ledger-summary-table th:nth-child(2),
.ledger-summary-table td:nth-child(2) { text-align: right !important; background-color: #E8F4FD !important; color:#1A1A1A !important;}

.ledger-summary-table th:nth-child(3),
.ledger-summary-table td:nth-child(3) { text-align: right !important; background-color: #D4EFDF !important; color:#1A1A1A !important;}

.ledger-summary-table th:nth-child(4),
.ledger-summary-table td:nth-child(4) { text-align: right !important; background-color: #FFF8E1 !important; color:#1A1A1A !important;}

.ledger-td-label {
    padding: 12px 20px;
    font-size: 15px;
    color: #1A1A1A;
    font-weight: 400;
    text-align: left;
    background-color: white !important;
}

.ledger-td-value {
    padding: 12px 16px;
    text-align: right !important;
    font-size: 15px;
    color: #1A1A1A;
    font-weight: 400;
}

.ledger-row-total {
    background: #fff;
}

.ledger-summary-table tr:last-child td {
    border-bottom: none !important;
}

.ledger-row-total .ledger-td-label { font-weight: 600; }
.ledger-row-total .ledger-td-value { font-weight: 600; }

/* Detailed Table Styles */
.ledger-detailed-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ledger-detailed-table th {
    background: #F9FAFB;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #4B5563;
    border-bottom: 1px solid #E2E2E2;
    border-right: none !important;
    white-space: nowrap;
}

.ledger-detailed-table th:nth-child(2),
.ledger-detailed-table th:nth-child(3),
.ledger-detailed-table th:nth-child(8) {
    text-align: left;
}

.ledger-detailed-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #E2E2E2;
    border-right: 1px solid #E2E2E2 !important;
    font-size: 13px;
    color: #4B5563;
    vertical-align: middle;
    text-align: center;
}

.ledger-detailed-table td:last-child {
    border-right: none;
}

.ledger-detailed-table td:nth-child(2),
.ledger-detailed-table td:nth-child(8) {
    text-align: left;
}

.ledger-detailed-table td:nth-child(3),
.ledger-detailed-table td:nth-child(5),
.ledger-detailed-table td:nth-child(6),
.ledger-detailed-table td:nth-child(4) {
    text-align: right;
}

.ledger-detailed-table tr:last-child td {
    border-bottom: none;
}

.ledger-detailed-table .ledger-td-highlight {
    background-color: #EBFFE1 !important;
}

.ledger-detailed-table .ledger-td-warning {
    background-color: #FFF8E1 !important;
}

.ledger-th-highlight {
    background-color: #EBFFE1 !important;
}

.ledger-td-highlight {
    background-color: #EBFFE1 !important;
    color: #1A1A1A !important;
    font-weight: 500;
}

.ledger-link {
    color: #C80679;
    text-decoration: underline;
    cursor: pointer;
}

.ledger-mode-icon {
    font-size: 16px;
    color: #94A3B8;
}

.ledger-td-warning {
    color: #DC2626;
    font-weight: 600;
}

.ledger-detailed-table .ledger-footer {
    background-color: #FDF2F8 !important;
}

.ledger-detailed-table .ledger-footer td {
    font-weight: 600 !important;
    color: #1A1A1A !important;
    border-bottom: none !important;
}

.ledger-td-pink {
    background: #FDF2F8;
}

.ledger-footer {
    background: #F9FAFB;
    font-weight: 700;
}

.ledger-chart-header {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #6B7280;
}

.ledger-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* EMPLOYEES CSS */
      #viewEmployeeEnrollmentsTable th.sorting,
      #viewEmployeeEnrollmentsTable th.sorting_asc,
      #viewEmployeeEnrollmentsTable th.sorting_desc {
        background-image: none !important;
        padding-right: 8px !important;
      }
      #viewEmployeeEnrollmentsTable th::before,
      #viewEmployeeEnrollmentsTable th::after {
        display: none !important;
      }
      .view_chit-stat-card.magenta::before {
        background: var(--primary-magenta) !important;
      }
      .view_chit-stat-card.purple::before {
        background: #7C3AED !important;
      }
      .view-subs-banner::before {
        display: none !important;
      }

      /* view-employee custom styles */
      .view-employee-action-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
        padding: 16px 24px;
        background: #FFFFFF;
        border: 1px solid #EAEAEA;
        border-radius: 12px;
        margin-bottom: 20px;
      }
      .view-employee-btn-magenta {
        background: linear-gradient(90deg, #c2185b 0%, var(--primary-magenta) 100%);
        color: #FFFFFF;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.2s ease;
      }
      .view-employee-btn-magenta:hover {
        opacity: 0.9;
      }
      .view-employee-btn-yellow {
        background: #FFE494;
        color: #1A1A1A;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.2s ease;
      }
      .view-employee-btn-yellow:hover {
        opacity: 0.9;
      }
      .view-employee-details-container {
        background: #FFFFFF;
        border: 1px solid #EAEAEA;
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 24px;
      }
      .view-employee-section-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--primary-magenta);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 24px;
        margin-bottom: 12px;
      }
      .view-employee-section-title:first-of-type {
        margin-top: 0;
      }
      .view-employee-subsection-title {
        font-size: 13px;
        font-weight: 600;
        color: #8B8B8B;
        margin-top: 16px;
        margin-bottom: 8px;
      }
      .view-employee-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 0;
      }
      .view-employee-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #EAEAEA;
        font-size: 14px;
        min-height: 44px;
      }
      .view-employee-label {
        color: #757575;
        font-weight: 500;
      }
      .view-employee-value {
        color: #1A1A1A;
        font-weight: 600;
        text-align: right;
      }
      
      /* Responsive adjustments */
      @media (max-width: 768px) {
        .view-employee-grid {
          grid-template-columns: 1fr;
          column-gap: 0;
        }
        .view-employee-action-container {
          flex-direction: column;
          align-items: stretch;
        }
        .view-employee-btn-magenta, .view-employee-btn-yellow {
          text-align: center;
          width: 100%;
        }
      }

      /* view-employee enrollments custom styles */
      .view-employee-control-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        background: #FFFFFF;
        border: 1px solid #EAEAEA;
        border-radius: 12px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 16px;
      }
      .view-employee-control-left {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .view-employee-search-container {
        position: relative;
        display: flex;
        align-items: center;
      }
      .view-employee-search-container i {
        position: absolute;
        left: 12px;
        color: #9CA3AF;
        font-size: 16px;
      }
      .view-employee-search-input {
        padding: 8px 12px 8px 36px;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        background: #F9FAFB;
        font-size: 14px;
        width: 200px;
        outline: none;
      }
      .view-employee-select-limit {
        padding: 6px 10px;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        background: #FFFFFF;
        font-size: 14px;
        outline: none;
        cursor: pointer;
        min-width: 60px;
      }
      .view-employee-control-right {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .view-employee-btn-export-outline {
        border: 1.5px solid var(--primary-magenta);
        background: transparent;
        color: var(--primary-magenta);
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .view-employee-btn-export-outline:hover {
        background: rgba(176, 0, 110, 0.05);
      }
      .view-employee-btn-transfer {
        background: var(--primary-magenta);
        color: #FFFFFF;
        border: none;
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        transition: opacity 0.2s ease;
      }
      .view-employee-btn-transfer:hover {
        opacity: 0.9;
      }
      .view-employee-table-card {
        background: #FFFFFF;
        border: 1px solid #EAEAEA;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 24px;
      }
      .view-employee-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #D1D5DB transparent;
      }
      .view-employee-table-wrapper::-webkit-scrollbar {
        height: 6px;
      }
      .view-employee-table-wrapper::-webkit-scrollbar-button {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
      }
      .view-employee-table-wrapper::-webkit-scrollbar-button:start:decrement,
      .view-employee-table-wrapper::-webkit-scrollbar-button:end:increment,
      .view-employee-table-wrapper::-webkit-scrollbar-button:vertical:start:increment,
      .view-employee-table-wrapper::-webkit-scrollbar-button:vertical:end:decrement,
      .view-employee-table-wrapper::-webkit-scrollbar-button:horizontal:start:increment,
      .view-employee-table-wrapper::-webkit-scrollbar-button:horizontal:end:decrement {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
      }
      .view-employee-table-wrapper::-webkit-scrollbar-track {
        background: transparent;
      }
      .view-employee-table-wrapper::-webkit-scrollbar-thumb {
        background-color: #D1D5DB;
        border-radius: 10px;
      }
      .view-employee-table-wrapper::-webkit-scrollbar-thumb:hover {
        background-color: #9CA3AF;
      }
      .view-employee-table {
        width: 100%;
        min-width: 1400px;
        border-collapse: collapse;
        text-align: left;
        font-size: 13px;
      }
      .view-employee-table th {
        background: #F9FAFB;
        color: #374151;
        font-weight: 600;
        padding: 12px 16px;
        border-bottom: 1px solid #EAEAEA;
        border-right: 1px solid #EAEAEA;
        white-space: nowrap;
      }
      .view-employee-table th:last-child {
        border-right: none;
      }
      .view-employee-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #EAEAEA;
        border-right: 1px solid #EAEAEA;
        color: #1A1A1A;
        /* font-weight: 500; */
        vertical-align: middle;
      }
      .view-employee-table td:last-child {
        border-right: none;
      }
      .view-employee-table tr:last-child td {
        border-bottom: none;
      }
      .view-employee-badge-purple-outline {
        display: inline-block;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        background: #F3E8FF;
        color: #7E22CE;
        border: 1px solid #E9D5FF;
      }
      .view-employee-badge-green-outline {
        display: inline-block;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        background: #DCFCE7;
        color: #15803D;
        border: 1px solid #BBF7D0;
      }
      .view-employee-badge-blue-outline {
        display: inline-block;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        background: #DBEAFE;
        color: #1D4ED8;
        border: 1px solid #BFDBFE;
      }
      .view-employee-cell-pink {
        background-color: #FDF2F2 !important;
      }
      .view-employee-cell-yellow {
        background-color: #FEFDF0 !important;
      }
      .view-employee-cell-blue {
        background-color: #EFF6FF !important;
      }
      .view-employee-sub-link {
        color: #1A1A1A;
        text-decoration: underline;
        font-weight: 400;
      }
      .view-employee-sub-link:hover {
        color: var(--primary-magenta);
      }
      .view-employee-sub-rating {
        font-size: 10px;
        color: #16A34A;
        font-weight: 700;
        margin-left: 4px;
      }
      .view-employee-sub-superscript {
        font-size: 10px;
        color: #EF4444;
        font-weight: 700;
        margin-left: 4px;
      }
      .view-employee-status-badge {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 22px;
        height: 22px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 700;
      }
      .view-employee-status-v {
        background: #F3E8FF;
        color: #7E22CE;
      }
      .view-employee-status-r {
        background: #DCFCE7;
        color: #15803D;
      }
      .view-employee-status-p {
        background: #EFF6FF;
        color: #1D4ED8;
      }
      .view-employee-status-l {
        background: #FDF2F2;
        color: #E11D48;
      }

      /* Responsiveness overrides for perfect mobile & tablet viewports */
      @media (max-width: 1200px) {
        .view_chit-tasks-stats-grid {
          grid-template-columns: repeat(3, 1fr) !important;
        }
      }

      @media (max-width: 900px) {
        .view_chit-tasks-stats-grid {
          grid-template-columns: repeat(2, 1fr) !important;
        }
      }

      @media (max-width: 991px) {
        .view_chit-tabs-container {
          flex-wrap: nowrap !important;
          overflow-x: auto !important;
          -webkit-overflow-scrolling: touch !important;
          gap: 16px !important;
          padding-bottom: 8px !important;
          border-bottom: 1px solid #EAEAEA !important;
        }
        .view_chit-tab {
          white-space: nowrap !important;
          flex-shrink: 0 !important;
          padding: 8px 12px !important;
        }
      }

      @media (max-width: 768px) {
        .view-employee-control-bar {
          flex-direction: column !important;
          align-items: stretch !important;
          padding: 16px !important;
        }
        .view-employee-control-left {
          flex-wrap: wrap !important;
          gap: 8px !important;
          width: 100% !important;
        }
        .view-employee-search-container {
          flex: 1 !important;
          min-width: 150px !important;
        }
        .view-employee-search-input {
          width: 100% !important;
        }
        .view-employee-select-limit {
          flex-shrink: 0 !important;
        }
        .view-employee-control-right {
          justify-content: space-between !important;
          width: 100% !important;
          gap: 12px !important;
        }
        .view-employee-btn-export-outline,
        .view-employee-btn-transfer {
          flex: 1 !important;
          justify-content: center !important;
          text-align: center !important;
          padding: 10px 12px !important;
        }
      }

      @media (max-width: 576px) {
        .view_chit-tasks-stats-grid {
          grid-template-columns: 1fr !important;
          gap: 12px !important;
        }
        .view_chit-stat-card {
          padding: 16px !important;
        }
        .view_chit-stat-card h2 {
          font-size: 20px !important;
        }
        .view-employee-details-container {
          padding: 16px !important;
        }
        .view-subs-banner {
          padding: 16px !important;
        }
        .view-subs-banner > div {
          gap: 12px !important;
        }
        .view-subs-avatar-wrapper {
          width: 50px !important;
          height: 50px !important;
        }
        .view-subs-avatar {
          font-size: 16px !important;
        }
        .pagination-container {
          flex-direction: column !important;
          align-items: center !important;
          gap: 12px !important;
          text-align: center !important;
        }
      }

      @media (max-width: 480px) {
        .view-employee-row {
          flex-direction: column !important;
          align-items: flex-start !important;
          gap: 4px !important;
          padding: 10px 0 !important;
        }
        .view-employee-value {
          text-align: left !important;
          width: 100% !important;
        }
        .view-employee-label {
          margin-right: 0 !important;
          margin-bottom: 2px !important;
        }
      }

      /* view-employeee custom additions */
      .view-employeee-eligible-col {
        background-color: #EFF6FF !important;
      }
      .view-employeee-disbursed-col {
        background-color: #ECFDF5 !important;
      }
      .view-employeee-undisbursed-col {
        background-color: #FEFBE8 !important;
      }
      .view-employeee-rating-orange {
        font-size: 10px;
        color: #F59E0B;
        font-weight: 700;
        margin-left: 4px;
      }
      .view-employeee-rating-grey {
        font-size: 10px;
        color: #9CA3AF;
        font-weight: 700;
        margin-left: 4px;
      }
      .view-employeee-rating-green {
        font-size: 10px;
        color: #16A34A;
        font-weight: 700;
        margin-left: 4px;
      }
      .view-employeee-rating-red {
        font-size: 10px;
        color: #EF4444;
        font-weight: 700;
        margin-left: 4px;
      }

/* Start Auction Responsive Layout */
.auction-layout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
    width: 100%;
}
.auction-layout-left {
    flex: 0 0 calc(52% - 10px);
    width: 100%;
    display: flex;
    flex-direction: column;
}
.auction-layout-right {
    flex: 0 0 calc(48% - 10px);
    width: 100%;
    display: flex;
    flex-direction: column;
}
@media (max-width: 992px) {
    .auction-layout-left, .auction-layout-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.auction-layout-wrapper .auction-card {
    flex-grow: 1;
    box-sizing: border-box;
    width: 100%;
    display: block;
    margin-bottom: 0;
    overflow: visible;
}
.amount-input {
    width: 245px !important;
    text-align: center !important;
}
.form-row > .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.token-label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.auto-badge {
    font-size: 11px;
    font-weight: 500;
    color: #1d4ed8;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1;
}

@media (max-width: 768px) {
    .token-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}


/* FILTER BAR ALIGNMENT RESPONSIVE */
.agents-list-filters-bar{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;              /* allows wrapping */
    width: 100%;
    overflow: hidden;             /* prevents overflow */
}

.agents-list-filters-bar > *{
    min-width: 0;
}

/* Search box */
.agents-list-filters-bar input{
    width: 100% !important;
    max-width: 245px;
}

/* Dropdowns */
.agents-list-custom-select{
    /* flex: 1 1 180px;              responsive width */
    min-width: 160px;
    max-width: 100%;
}

/* Trigger */
.select-trigger{
    width: 100%;
}

/* Buttons */
.agents-list-reset-btn,
.agents-list-export-btn{
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px){

    .agents-list-filters-bar{
        align-items: stretch;
    }

    .agents-list-filters-bar > div,
    .agents-list-custom-select,
    .agents-list-reset-btn,
    .agents-list-export-btn{
        width: 100%;
    }

    .agents-list-filters-bar input{
        max-width: 100% !important;
    }

    .agents-list-export-btn{
        justify-content: center;
    }
}

.agents-list-filters-bar {
            overflow: visible;
        }
      
        /* Sidebar List Resets */
/* @media (max-width: 768px) {
    .agents-list-filters-bar > div, .agents-list-custom-select, .agents-list-reset-btn, .agents-list-export-btn {
        width: 50%;
    }
} */

.subscriber-summary-card{
    background:#fff;
    border:1px solid #d9d9d9;
    border-radius:12px;
    overflow:hidden;
}

.subscriber-summary-header{
    padding:12px 16px;
    border-bottom:1px solid #d9d9d9;
}

.subscriber-summary-header h3{
    margin:0;
    font-size:16px;
    font-weight:600;
    color:#333;
}

.subscriber-summary-body{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    padding:14px 16px 20px;
}

.summary-column{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.summary-item{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:15px;
    color:#444;
    line-height:1.2;
}

.summary-item i{
    margin-top:2px;
    font-size:14px;
    color:#666;
}

.summary-item.success{
    color:#16a34a;
}

.summary-item.success i{
    color:#16a34a;
}

.summary-item.warning{
    color:#f59e0b;
}

.summary-item.warning i{
    color:#f59e0b;
}

.summary-item.danger{
    color:#dc2626;
}

.summary-item.danger i{
    color:#dc2626;
}

.summary-item.collection{
    color:#2563eb;
}

.summary-item.collection i{
    color:#2563eb;
}

.summary-item strong{
    font-weight:600;
}

@media(max-width:768px){
    .subscriber-summary-body{
        grid-template-columns:1fr;
        gap:20px;
    }
}

/* -------------------------------- */
.groups-card{
    background:#fff;
    border:1px solid #D9D9D9;
    border-radius:10px;
    overflow:hidden;
}

.groups-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    border-bottom:1px solid #D9D9D9;
}

.groups-header h3{
    margin:0;
    font-size:16px;
    font-weight:600;
    color:#222;
}

.groups-actions{
    display:flex;
    gap:10px;
}

.vacancy-btn{
    border:1px solid #E91E8F;
    background:#fff;
    color:#E91E8F;
    padding:8px 14px;
    border-radius:6px;
    font-size:14px;
    cursor:pointer;
}

.export-btn{
    border:1px solid #D9D9D9;
    background:#fff;
    color:#333;
    padding:8px 14px;
    border-radius:6px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
}

.groups-table-wrapper{
    width:100%;
    overflow-x:hidden;
}

.groups-table{
    width:100%;
    border-collapse:collapse;
}

.groups-table th{
    background:#F5F5F5;
    font-weight:500;
}

.groups-table th,
.groups-table td{
    border:1px solid #D9D9D9;
    padding:14px 10px;
    text-align:center;
    white-space:nowrap;
}

.groups-table td a{
    color:#222;
    text-decoration:underline;
}

.status-icon{
    width:18px;
    height:18px;
    border:2px solid #16A34A;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#16A34A;
    font-size:10px;
}

.dummy-col{
    background:#FDECEA;
}

/* Mobile */
@media(max-width:768px){

    .groups-header{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .groups-actions{
        width:100%;
        flex-wrap:wrap;
    }

    .groups-table-wrapper{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    .groups-table{
        min-width:900px;
    }
}

                 .stats-container{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
    width:100%;
}

.stats-card{
    background:#ffffff;
    border-radius:8px;
    padding:15px;
    position:relative;
}

.stats-card::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:3px;
    height:100%;
    border-radius:8px 0 0 8px;
}

.stats-card.success::before{
    background:#22C55E;
}

.stats-card.danger::before{
    background:#EF4444;
}

.stats-title{
    font-size:11px;
    color:#666;
    display:block;
    margin-bottom:4px;
}

.stats-card h2{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#222;
}
@media(max-width:768px){
    .stats-container,
    .chits_sch_list_cssname-stats{
        grid-template-columns:1fr;
    }
}


 .security-lock-section{
    width:100%;
    padding:20px 0;
    border-top:1px solid #ececec;
    margin-top:20px;
}

.security-title{
    font-size:13px;
    font-weight:700;
    color:#D61A8D;
    text-transform:uppercase;
    margin-bottom:18px;
}

.security-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.security-label{
    display:block;
    font-size:13px;
    font-weight:600;
    color:#666;
    margin-bottom:8px;
}

.security-option{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.security-option input[type="checkbox"]{
    width:16px;
    height:16px;
    accent-color:#D61A8D;
    cursor:pointer;
}

.security-status{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:16px;
    color:#555;
    cursor:pointer;
}

.secure-icon{
    color:#F5A623;
    font-size:18px;
}

.lock-icon{
    color:#F5C242;
    font-size:18px;
}

.security-reason{
    width:100%;
    height:42px;
    border:1px solid #E5E5E5;
    border-radius:4px;
    padding:0 12px;
    font-size:14px;
    background:#FAFAFA;
    margin-bottom:10px;
    box-sizing:border-box;
}

.security-reason:focus{
    outline:none;
    border-color:#D61A8D;
    background:#fff;
}

.security-note{
    font-size:13px;
    color:#666;
    line-height:1.4;
    margin:0;
}

@media(max-width:768px){

    .security-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

}

 .month-group .position-relative{
    position:relative;
}

.month-field{
    height:56px;
    background:#FAFAFA;
    border:1px solid #ddd;
    border-radius:12px;
    padding-right:50px;
}

.month-icon{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    color:#777;
    font-size:18px;
    pointer-events:none;
    z-index:10;
}
/* Image-la irukra madhiri border & background design setting */
.custom-export-white-style {
    display: none; /* Starting la hide aagi irukum (JS trigger panni display pannum) */
    background-color: #ffffff !important; /* Pure white background */
    color: #1A1A1A !important; /* Soft black text color */
    border: 1px solid #EAEAEA !important; /* Light gray border line around button */
    border-radius: 8px !important; /* Smooth rounded corners */
    padding: 8px 16px !important; /* Correct breathing space mapping */
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Gap between icon and text */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Hover effect for crisp interaction */
.custom-export-white-style:hover {
    background-color: #F9FAFB !important; /* Slight off-white hover shift */
}

/* SVG Line structural outline handling */
.export-icon-stroke path {
    stroke: #1A1A1A !important; /* Icon lines are exactly set to match text color */
    fill: none !important; /* No unwanted shapes fill inside */
}
