/* === Track Complaints Styles === */

    .track-wrapper {
        background: radial-gradient(circle at 50% 8%, #eff6ff 0%, #f8fafc 45%, #f1f5f9 100%);
        min-height: 720px;
    }

    .track-card {
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 20px 45px -12px rgba(11, 34, 78, 0.12), 0 0 1px rgba(15, 23, 42, 0.08);
        border: 1px solid #e2e8f0;
        border-top: 4px solid #1e3a8a;
        padding: 40px 36px;
        transition: all 0.3s ease;
    }

    .track-portal-badge {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 6px 16px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
    }

    .track-hero-icon-box {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .track-hero-icon-circle {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        box-shadow: 0 10px 24px rgba(11, 34, 78, 0.25);
    }

    .track-header-title {
        color: #0f172a;
        font-weight: 800;
        font-size: 26px;
        letter-spacing: -0.4px;
        margin-bottom: 8px;
    }

    .track-subtitle {
        color: #64748b;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .track-input-label {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #334155;
        margin-bottom: 8px;
    }

    .track-input-group {
        border: 1.5px solid #cbd5e1;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.2s ease;
        background: #ffffff;
    }

    .track-input-group:focus-within {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

    .track-input-group .input-group-text {
        background-color: #f8fafc;
        border: none;
        color: #1e3a8a;
        font-size: 17px;
        padding: 12px 18px;
    }

    .track-input-group .form-control {
        border: none;
        font-size: 16px;
        font-weight: 600;
        padding: 14px 16px;
        color: #0f172a;
        box-shadow: none !important;
    }

    .track-input-helper {
        font-size: 12px;
        color: #64748b;
    }

    /* Filter Pills */
    .filter-options {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .filter-btn-radio {
        display: none;
    }

    .filter-label {
        padding: 8px 18px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        border: 1px solid #ced4da;
        background: #ffffff;
        color: #495057;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .filter-btn-radio:checked + .filter-label {
        background-color: #1e3a8a;
        border-color: #1e3a8a;
        color: #ffffff;
        box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
    }

    .ref-input-group .input-group-text {
        background-color: #f8fafc;
        font-weight: 600;
        color: #1e3a8a;
        border-color: #cbd5e1;
        font-size: 15px;
    }

    .ref-input-group .form-control {
        font-size: 15px;
        padding: 12px 16px;
        border-color: #cbd5e1;
        font-weight: 600;
    }

    .ref-input-group .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    }

    .btn-track {
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.3px;
        padding: 14px 28px;
        border-radius: 12px;
        border: none;
        box-shadow: 0 8px 20px rgba(11, 34, 78, 0.22);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .btn-track:hover {
        background: linear-gradient(135deg, #061533 0%, #172554 100%);
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(11, 34, 78, 0.32);
    }

    .track-new-link {
        color: #1e3a8a;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.15s ease;
    }

    .track-new-link:hover {
        color: #2563eb;
        text-decoration: underline;
    }

    /* Results Table */
    .table-complaints-list {
        border: 1px solid #e9ecef;
        background-color: #ffffff;
        border-radius: 8px;
        overflow: hidden;
    }

    .table-complaints-list thead {
        background-color: #272727;
        color: #ffffff;
    }

    .table-complaints-list thead th {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 12px 14px;
        border: none;
    }

    .table-complaints-list tbody td {
        padding: 14px;
        vertical-align: middle;
        font-size: 14px;
        border-top: 1px solid #f0f0f0;
    }

    .table-complaints-list tbody tr:hover {
        background-color: #fff9f9;
    }

    .advocate-chip {
        display: inline-block;
        background-color: #f1f3f5;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        padding: 4px 8px;
        margin: 2px 0;
        font-size: 12px;
        font-weight: 500;
    }

    /* OTP Inputs */
    .otp-inputs-wrapper {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 20px 0;
    }

    .otp-digit {
        width: 48px;
        height: 54px;
        text-align: center;
        font-size: 22px;
        font-weight: 700;
        border: 2px solid #cbd5e1;
        border-radius: 10px;
        background: #ffffff;
        color: #0f172a;
        transition: all 0.2s;
    }

    .otp-digit:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
        outline: none;
    }

    /* Status Stepper */
    .tracking-stepper {
        display: flex;
        justify-content: space-between;
        position: relative;
        margin: 30px 0 40px 0;
    }

    .tracking-stepper::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 40px;
        right: 40px;
        height: 4px;
        background-color: #e0e0e0;
        z-index: 1;
    }

    .stepper-progress {
        position: absolute;
        top: 24px;
        left: 40px;
        height: 4px;
        background: linear-gradient(90deg, #10b981, #2563eb);
        z-index: 2;
        transition: width 0.4s ease;
    }

    .stepper-step {
        position: relative;
        z-index: 3;
        text-align: center;
        width: 25%;
    }

    .stepper-circle {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: #ffffff;
        border: 3px solid #cbd5e1;
        color: #94a3b8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        transition: all 0.3s;
    }

    .stepper-step.completed .stepper-circle {
        background: linear-gradient(135deg, #0b224e, #1e3a8a);
        border-color: #1e3a8a;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(11, 34, 78, 0.2);
    }

    .stepper-step.active .stepper-circle {
        background-color: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
        box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.2);
    }

    .stepper-label {
        margin-top: 10px;
        font-size: 13px;
        font-weight: 600;
        color: #555555;
    }

    /* Status Badges */
    .badge-status {
        font-size: 13px;
        padding: 5px 12px;
        border-radius: 20px;
        font-weight: 600;
        display: inline-block;
    }

    .badge-status-new { background-color: #cce5ff; color: #004085; }
    .badge-status-accepted { background-color: #d4edda; color: #155724; }
    .badge-status-approved { background-color: #d1e7dd; color: #0f5132; }
    .badge-status-pending { background-color: #fff3cd; color: #856404; }
    .badge-status-rejected { background-color: #f8d7da; color: #721c24; }
    .badge-status-closed { background-color: #e2e3e5; color: #383d41; }

    /* Timeline */
    .timeline-list {
        position: relative;
        padding-left: 30px;
    }

    .timeline-list::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 6px;
        bottom: 6px;
        width: 2px;
        background-color: #dee2e6;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 24px;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-marker {
        position: absolute;
        left: -30px;
        top: 2px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: #1e3a8a;
        border: 4px solid #fff;
        box-shadow: 0 0 0 2px #2563eb;
    }

    .timeline-content {
        background-color: #fdfdfd;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 14px 18px;
    }

    .timeline-date {
        font-size: 12px;
        font-weight: 700;
        color: #1e3a8a;
        margin-bottom: 4px;
    }

    .timeline-status {
        font-size: 15px;
        font-weight: 700;
        color: #212529;
    }

    .timeline-desc {
        font-size: 13px;
        color: #666666;
        margin-top: 6px;
        margin-bottom: 0;
    }

    .info-label {
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
        color: #888888;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .info-value {
        font-size: 15px;
        font-weight: 600;
        color: #212529;
        margin-bottom: 12px;
        word-break: break-word;
    }

    .file-badge {
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        background: #f1f3f5;
        border-radius: 6px;
        border: 1px solid #dee2e6;
        margin: 4px;
        color: #333333;
        font-size: 13px;
        text-decoration: none;
    }

    .file-badge:hover {
        background: #eff6ff;
        color: #1e3a8a;
        border-color: #bfdbfe;
    }

    @media (max-width: 767px) {
        .tracking-stepper::before,
        .stepper-progress {
            display: none;
        }

        .tracking-stepper {
            flex-direction: column;
            gap: 15px;
        }

        .stepper-step {
            width: 100%;
            display: flex;
            align-items: center;
            text-align: left;
            gap: 15px;
        }

        .stepper-label {
            margin-top: 0;
        }

        .otp-digit {
            width: 38px;
            height: 44px;
            font-size: 18px;
        }

        .ref-fee-card {
            flex-wrap: wrap;
            gap: 12px;
        }

        .ref-fee-col.border-start {
            border-left: none !important;
            padding-left: 0 !important;
        }
    }

    /* ======================================================== */
    /* Reference Design Card Styles (Complaint List)            */
    /* ======================================================== */
    .results-header-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
        padding: 18px 24px;
    }
    .results-header-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, #0b224e, #1e3a8a);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(11, 34, 78, 0.2);
    }
    .results-header-title {
        font-size: 20px;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: -0.3px;
    }
    .results-count-badge {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
        font-size: 13px;
        font-weight: 700;
        padding: 5px 14px;
    }
    .results-header-subtitle {
        font-size: 13px;
        color: #64748b;
    }
    .btn-new-search {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        color: #334155;
        font-weight: 600;
        font-size: 13px;
        padding: 8px 18px;
        border-radius: 50px;
        transition: all 0.2s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        display: inline-flex;
        align-items: center;
    }
    .btn-new-search:hover {
        background: #f8fafc;
        border-color: #94a3b8;
        color: #0f172a;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    }

    .ref-complaint-card {
        position: relative;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-left: 5px solid #2563eb;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
        padding: 20px 24px;
        margin-bottom: 20px;
        overflow: hidden;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .ref-complaint-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
        transform: translateY(-2px);
    }

    /* Index Badge */
    .ref-index-badge {
        background-color: #0b224e;
        color: #ffffff;
        min-width: 28px;
        height: 28px;
        padding: 0 8px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Folder Icon & Number */
    .ref-folder-icon {
        color: #2563eb;
        font-size: 18px;
    }

    .ref-complaint-num {
        font-weight: 700;
        font-size: 16px;
        color: #0f172a;
        letter-spacing: 0.2px;
        cursor: pointer;
        transition: color 0.15s ease;
    }
    .ref-complaint-num:hover {
        color: #2563eb;
        text-decoration: underline;
    }

    .ref-link-icon {
        color: #94a3b8;
        font-size: 12px;
        cursor: pointer;
        transition: color 0.2s ease;
    }
    .ref-link-icon:hover {
        color: #2563eb;
    }

    /* Status Pill */
    .ref-status-pill {
        display: inline-flex;
        align-items: center;
        background-color: #ecfdf5;
        color: #059669;
        border: 1px solid #a7f3d0;
        border-radius: 20px;
        padding: 5px 14px;
        font-size: 12px;
        font-weight: 600;
    }

    /* Complainant Avatar */
    .ref-avatar {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, #1e3a8a, #3b82f6);
        color: #ffffff;
        font-weight: 700;
        font-size: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        text-transform: uppercase;
        box-shadow: 0 4px 10px rgba(30, 58, 138, 0.15);
    }

    /* Complained Against Box */
    .ref-complained-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-left: 3px solid #f59e0b;
        border-radius: 8px;
        padding: 8px 14px;
        margin-top: 10px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    .ref-complained-box .ref-tag {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #64748b;
        text-transform: uppercase;
    }

    /* Document Pill */
    .ref-doc-pill {
        display: inline-flex;
        align-items: center;
        background-color: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
        border-radius: 50px;
        padding: 4px 14px;
        font-size: 12px;
        font-weight: 500;
        margin-top: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .ref-doc-pill:hover {
        background-color: #dbeafe;
        color: #1e40af;
        border-color: #93c5fd;
    }

    /* Fee / Payment Box */
    .ref-fee-card {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 16px;
    }
    .ref-fee-col {
        text-align: center;
        padding: 0 4px;
    }
    .ref-fee-label {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.6px;
        color: #64748b;
        text-transform: uppercase;
        margin-bottom: 2px;
    }
    .ref-fee-val {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
    }

    /* Action Buttons Toolbar */
    .ref-btn-toolbar {
        border-top: 1px solid #f1f5f9;
        padding-top: 14px;
        margin-top: 16px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .ref-btn {
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 14px;
        display: inline-flex;
        align-items: center;
        transition: all 0.2s ease;
        background: #ffffff;
        cursor: pointer;
    }
    .ref-btn-markold {
        border: 1px solid #fde68a;
        color: #d97706;
    }
    .ref-btn-markold:hover {
        background: #fef3c7;
        color: #b45309;
    }
    .ref-btn-detail {
        background: #0b224e !important;
        color: #ffffff !important;
        border: 1px solid #0b224e !important;
    }
    .ref-btn-detail:hover {
        background: #061533 !important;
        color: #ffffff !important;
    }
    .ref-btn-edit {
        border: 1px solid #bfdbfe;
        color: #2563eb;
    }
    .ref-btn-edit:hover {
        background: #dbeafe;
        color: #1d4ed8;
    }
    .ref-btn-docs {
        border: 1px solid #bfdbfe;
        color: #2563eb;
    }
    .ref-btn-docs:hover {
        background: #dbeafe;
        color: #1d4ed8;
    }
    .ref-btn-adjunt {
        border: 1px solid #ddd6fe;
        color: #7c3aed;
    }
    .ref-btn-adjunt:hover {
        background: #ede9fe;
        color: #6d28d9;
    }
    .ref-btn-delete {
        border: 1px solid #fecaca;
        color: #dc2626;
    }
    .ref-btn-delete:hover {
        background: #fee2e2;
        color: #b91c1c;
    }

    /* ======================================================== */
    /* Modern Modal Styling (Advocates & Documents)            */
    /* ======================================================== */
    .adv-modal-header {
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        border-bottom: 2px solid #3b82f6;
        padding: 16px 24px;
    }
    .adv-modal-header-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }
    .adv-modal-info-strip {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 12px 18px;
    }
    .adv-complaint-pill {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
        font-size: 13px;
        font-weight: 700;
        padding: 5px 14px;
        letter-spacing: 0.3px;
    }
    .adv-count-badge {
        background: #ffffff;
        color: #334155;
        border: 1px solid #cbd5e1;
        font-size: 12px;
        font-weight: 600;
        padding: 5px 12px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
    .adv-table {
        border-collapse: separate;
        border-spacing: 0;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
    }
    .adv-table thead th {
        background: #f8fafc;
        color: #475569;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 12px 16px;
        border-bottom: 1px solid #e2e8f0;
        border-top: none;
    }
    .adv-table tbody td {
        padding: 12px 16px;
        vertical-align: middle;
        font-size: 13px;
        border-bottom: 1px solid #f1f5f9;
        color: #1e293b;
    }
    .adv-table tbody tr:last-child td {
        border-bottom: none;
    }
    .adv-table tbody tr:hover {
        background-color: #f8fafc;
    }
    .adv-row-num {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #f1f5f9;
        color: #475569;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 12px;
    }
    .adv-avatar-circle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
        flex-shrink: 0;
    }
    .adv-enrollment-badge {
        font-family: 'Consolas', 'Courier New', monospace;
        font-size: 12px;
        font-weight: 600;
        background: #f1f5f9;
        color: #0f172a;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        padding: 3px 9px;
        display: inline-block;
    }
    .adv-phone-badge {
        background: #f0fdf4;
        color: #15803d;
        border: 1px solid #bbf7d0;
        border-radius: 50px;
        padding: 3px 12px;
        font-weight: 600;
        font-size: 12px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: all 0.15s ease;
    }
    .adv-phone-badge:hover {
        background: #dcfce7;
        color: #166534;
        border-color: #86efac;
    }
    .adv-city-tag {
        color: #334155;
        font-weight: 600;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
    }

    /* ======================================================== */
    /* Reference Design Detail View Styles                      */
    /* ======================================================== */
    .ref-detail-banner-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-top: 4px solid #1e3a8a;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(11, 34, 78, 0.05);
        padding: 22px 26px;
    }
    .ref-hero-icon-box {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: linear-gradient(135deg, #0b224e, #1e3a8a);
        color: #ffffff;
        box-shadow: 0 6px 16px rgba(11, 34, 78, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .ref-banner-btn {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        color: #334155;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 16px;
        transition: all 0.2s ease;
    }
    .ref-banner-btn:hover {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #1d4ed8;
        transform: translateY(-1px);
    }
    .ref-content-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
        padding: 22px 24px;
    }
    .ref-card-header-btn {
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 12px;
        border: 1px solid #bfdbfe;
        color: #2563eb;
        background: #ffffff;
    }
    .ref-card-header-btn:hover {
        background: #eff6ff;
        color: #1d4ed8;
    }
    .ref-info-box {
        background: #f8fafc;
        border: 1px solid #eef2f6;
        border-radius: 8px;
        padding: 10px 14px;
        height: 100%;
    }
    .ref-info-box-label {
        font-size: 10px;
        font-weight: 700;
        color: #64748b;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    .ref-info-box-val {
        font-size: 13px;
        font-weight: 700;
        color: #0f172a;
        word-break: break-word;
    }
    .ref-adv-profile-card, .ref-adv-item-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 16px 18px;
        margin-bottom: 14px;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
        transition: all 0.2s ease-in-out;
    }
    .ref-adv-profile-card:last-child, .ref-adv-item-card:last-child {
        margin-bottom: 0;
    }
    .ref-adv-profile-card:hover, .ref-adv-item-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    }
    .ref-adv-profile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 12px;
        margin-bottom: 14px;
        border-bottom: 1px dashed #e2e8f0;
    }
    .ref-adv-claim-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 3px 10px;
        font-size: 12px;
    }
    .ref-adv-identity-box {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 14px;
    }
    .ref-adv-avatar-wrap, .ref-adv-avatar {
        width: 46px;
        height: 46px;
        border-radius: 10px;
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    }
    .ref-adv-identity-info {
        flex-grow: 1;
        min-width: 0;
    }
    .ref-adv-name {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: -0.2px;
    }
    .ref-adv-meta-text {
        font-size: 12px;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 3px;
        flex-wrap: wrap;
    }
    .ref-adv-meta-text .meta-dot {
        color: #cbd5e1;
    }
    .ref-affidavit-box {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }
    /* Scrollable Container for Additional Attachments (Max 2 visible, rest scroll) */
    .ref-attachments-scroll-list {
        max-height: 450px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 6px;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar {
        width: 6px;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 6px;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 6px;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Additional Attachments Item List (Exact Match to Reference Design) */
    .ref-attachment-item {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 18px 20px;
        margin-bottom: 16px;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    }
    .ref-attachment-item:last-child {
        margin-bottom: 0;
    }
    .ref-attachment-item:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    }
    .ref-doc-icon-box {
        width: 54px;
        height: 54px;
        min-width: 50px;
        border-radius: 8px;
        background: #e0f2fe;
        color: #0284c7;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }
    .ref-attachment-title {
        font-size: 14.5px;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.35;
        word-break: break-all;
    }
    .ref-badge-tag {
        border-radius: 6px;
        padding: 3px 10px;
        font-size: 12px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        line-height: 1.4;
    }
    .ref-attachment-note-box {
        background-color: #f0f7ff;
        border-left: 3.5px solid #0284c7;
        border-radius: 6px;
        padding: 12px 16px;
        margin-top: 14px;
    }
    .ref-attachment-note-header {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 700;
        color: #0284c7;
        letter-spacing: 0.3px;
        margin-bottom: 4px;
    }
    .ref-attachment-note-body {
        color: #334155;
        font-size: 13px;
        line-height: 1.6;
        word-break: break-word;
    }
    .btn-attachment-view {
        border: 1px solid #3b82f6;
        color: #2563eb;
        background: transparent;
        border-radius: 50rem;
        padding: 4px 14px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.15s ease-in-out;
        cursor: pointer;
    }
    .btn-attachment-view:hover {
        background: #2563eb;
        color: #ffffff;
    }
    .btn-attachment-delete {
        border: 1px solid #fca5a5;
        color: #ef4444;
        background: transparent;
        border-radius: 8px;
        width: 34px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        transition: all 0.15s ease-in-out;
        cursor: pointer;
    }
    .btn-attachment-delete:hover {
        background: #fef2f2;
        border-color: #ef4444;
        color: #dc2626;
    }
    .ref-empty-box {
        border: 2px dashed #cbd5e1;
        border-radius: 10px;
        padding: 28px 20px;
        text-align: center;
        background: #f8fafc;
    }
    .ref-empty-icon {
        font-size: 26px;
        color: #94a3b8;
    }
    .ref-comm-bubble {
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-left: 3px solid #10b981;
        border-radius: 6px;
        padding: 10px 14px;
    }
    .ref-comm-bubble-label {
        font-size: 10px;
        font-weight: 700;
        color: #15803d;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }
    .ref-comm-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #dcfce7;
        color: #15803d;
        font-weight: 700;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .ref-quick-btn {
        border-radius: 8px;
        padding: 10px 16px;
        font-size: 13px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        background: #ffffff;
        border: 1px solid #bfdbfe;
        color: #1d4ed8;
        transition: all 0.2s ease;
    }
    .ref-quick-btn:hover {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #1e40af;
    }
    .ref-amount-badge {
        font-size: 15px;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 8px;
    }
    .ref-amount-total {
        background: #eff6ff;
        color: #2563eb;
    }
    .ref-amount-paid {
        background: #ecfdf5;
        color: #10b981;
    }
    .ref-amount-due {
        background: #fef2f2;
        color: #ef4444;
    }
    .ref-payment-history-box {
        background: #f8fafc;
        border: 1px solid #eef2f6;
        border-radius: 8px;
        padding: 12px 16px;
    }
    .ref-ph-label {
        font-size: 10px;
        font-weight: 700;
        color: #64748b;
        letter-spacing: 0.4px;
        margin-bottom: 2px;
    }
    .ref-ph-val {
        font-size: 13px;
        font-weight: 700;
        color: #0f172a;
    }


/* === Complaint Details Styles === */

    /* ======================================================== */
    /* Bar Council of Gujarat - Modern Theme Redesign           */
    /* Base Colors: #0b224e (Deep Navy), #1e3a8a, #2563eb      */
    /* ======================================================== */
    .complaint-details-wrapper {
        background: radial-gradient(circle at 50% 6%, #eff6ff 0%, #f8fafc 40%, #f1f5f9 100%);
        min-height: 85vh;
        padding-top: 55px;
        padding-bottom: 60px;
    }
    @media (max-width: 768px) {
        .complaint-details-wrapper {
            padding-top: 35px;
            padding-bottom: 40px;
        }
    }

    /* Executive Top Hero Card */
    .complaint-hero-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 18px !important;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px -10px rgba(11, 34, 78, 0.1), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
        transition: all 0.3s ease;
    }
    .complaint-hero-card .card-body {
        padding: 30px 28px !important;
    }
    .complaint-hero-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0b224e 0%, #1e3a8a 35%, #2563eb 70%, #06b6d4 100%);
        z-index: 1;
    }
    .complaint-hero-icon {
        width: 68px;
        height: 68px;
        border-radius: 16px;
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        box-shadow: 0 8px 20px -2px rgba(11, 34, 78, 0.28);
        flex-shrink: 0;
    }
    .hero-title-text {
        font-size: 1.45rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    /* Dynamic Status Pill */
    .complaint-status-pill {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        padding: 6px 16px !important;
        border-radius: 9999px !important;
        letter-spacing: 0.3px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }
    .complaint-status-pill::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
        display: inline-block;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
    }
    .complaint-status-pill.pill-success {
        background-color: #ecfdf5;
        color: #059669;
        border: 1px solid #a7f3d0;
    }
    .complaint-status-pill.pill-danger {
        background-color: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }
    .complaint-status-pill.pill-warning {
        background-color: #fffbeb;
        color: #d97706;
        border: 1px solid #fde68a;
    }
    .complaint-status-pill.pill-purple {
        background-color: #f5f3ff;
        color: #7c3aed;
        border: 1px solid #ddd6fe;
    }
    .complaint-status-pill.pill-primary {
        background-color: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }

    .hero-meta-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #f8fafc;
        padding: 6px 14px;
        border-radius: 10px;
        font-size: 12.5px;
        color: #64748b;
        border: 1px solid #e2e8f0;
        transition: all 0.2s ease;
    }
    .hero-meta-item:hover {
        background: #ffffff;
        border-color: #cbd5e1;
        color: #334155;
    }
    .hero-meta-item strong {
        color: #0f172a;
        font-weight: 600;
    }

    /* Section Cards */
    .section-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
        margin-bottom: 22px;
        transition: all 0.25s ease;
        overflow: hidden;
    }
    .section-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    }
    .section-card-header {
        padding: 16px 20px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #ffffff;
    }
    .section-card-body {
        padding: 20px;
    }

    /* Section Icon Badges */
    .section-icon-badge {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }
    .section-icon-badge.bg-primary-subtle {
        background-color: #eff6ff !important;
        color: #1e3a8a !important;
        border: 1px solid #bfdbfe;
    }
    .section-icon-badge.badge-red {
        background-color: #fef2f2 !important;
        color: #dc2626 !important;
        border: 1px solid #fecaca;
    }
    .section-icon-badge.badge-blue {
        background-color: #f0fdf4 !important;
        color: #16a34a !important;
        border: 1px solid #bbf7d0;
    }
    .section-icon-badge.badge-teal {
        background-color: #f5f3ff !important;
        color: #7c3aed !important;
        border: 1px solid #ddd6fe;
    }
    .section-icon-badge.bg-success-subtle {
        background-color: #ecfdf5 !important;
        color: #059669 !important;
        border: 1px solid #a7f3d0;
    }

    .section-title {
        font-size: 15px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .section-subtitle-inline {
        font-size: 12px;
        font-weight: 500;
        color: #64748b;
    }

    /* Complainant Field Tiles */
    .complainant-field-tile {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 14px 16px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        height: 100%;
        transition: all 0.2s ease;
    }
    .complainant-field-tile:hover {
        background: #ffffff;
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(11, 34, 78, 0.04);
    }
    .tile-icon-wrap {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #1e3a8a;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
        margin-top: 1px;
    }
    .tile-content {
        flex-grow: 1;
        min-width: 0;
    }
    .tile-label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #64748b;
        margin-bottom: 2px;
    }
    .tile-value {
        font-size: 13.5px;
        font-weight: 600;
        color: #0f172a;
        word-break: break-word;
        line-height: 1.4;
    }

    /* Complaint Statement Box */
    .complaint-callout-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-left: 4px solid #1e3a8a;
        border-radius: 10px;
        padding: 16px 18px;
        margin-bottom: 16px;
    }
    .callout-header {
        font-size: 12px;
        font-weight: 700;
        color: #1e3a8a;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .callout-body {
        font-size: 13.5px;
        color: #334155;
        line-height: 1.6;
        word-break: break-word;
    }

    /* Advocate Profile Cards */
    .advocate-profile-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        transition: all 0.25s ease;
    }
    .advocate-profile-card:hover {
        border-color: #93c5fd;
        box-shadow: 0 6px 18px rgba(11, 34, 78, 0.06);
        transform: translateY(-2px);
    }
    .adv-avatar-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        flex-shrink: 0;
        box-shadow: 0 4px 10px rgba(11, 34, 78, 0.2);
    }
    .advocate-enrol-badge {
        background-color: #eff6ff;
        color: #1e3a8a;
        border: 1px solid #bfdbfe;
        font-size: 11.5px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
    }
    .adv-city-tag {
        font-size: 12px;
        color: #64748b;
        display: inline-flex;
        align-items: center;
    }
    .adv-phone-badge {
        font-size: 12px;
        color: #0b224e;
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
    }
    .adv-phone-badge:hover {
        color: #2563eb;
        text-decoration: underline;
    }

    /* Document Item Cards */
    .doc-item-card {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        transition: all 0.2s ease;
        margin-bottom: 10px;
    }
    .doc-item-card:hover {
        background: #ffffff;
        border-color: #cbd5e1;
        box-shadow: 0 4px 14px rgba(11, 34, 78, 0.05);
    }
    .doc-icon-box {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #fef2f2;
        border: 1px solid #fee2e2;
        color: #dc2626;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }
    .doc-name {
        font-size: 13.5px;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 2px;
        word-break: break-all;
    }
    .doc-meta {
        font-size: 11.5px;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Scrollable Container for Additional Attachments (Max 2 visible, rest scroll) */
    .ref-attachments-scroll-list {
        max-height: 450px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 6px;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar {
        width: 6px;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 6px;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 6px;
    }
    .ref-attachments-scroll-list::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Additional Attachments Item List (Exact Match to Reference Design) */
    .ref-attachment-item {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 18px 20px;
        margin-bottom: 16px;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    }
    .ref-attachment-item:last-child {
        margin-bottom: 0;
    }
    .ref-attachment-item:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    }
    .ref-doc-icon-box {
        width: 54px;
        height: 54px;
        min-width: 50px;
        border-radius: 8px;
        background: #e0f2fe;
        color: #0284c7;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }
    .ref-attachment-title {
        font-size: 14.5px;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.35;
        word-break: break-all;
    }
    .ref-badge-tag {
        border-radius: 6px;
        padding: 3px 10px;
        font-size: 12px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        line-height: 1.4;
    }
    .ref-attachment-note-box {
        background-color: #f0f7ff;
        border-left: 3.5px solid #0284c7;
        border-radius: 6px;
        padding: 12px 16px;
        margin-top: 14px;
    }
    .ref-attachment-note-header {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 700;
        color: #0284c7;
        letter-spacing: 0.3px;
        margin-bottom: 4px;
    }
    .ref-attachment-note-body {
        color: #334155;
        font-size: 13px;
        line-height: 1.6;
        word-break: break-word;
    }
    .btn-attachment-view {
        border: 1px solid #3b82f6;
        color: #2563eb;
        background: transparent;
        border-radius: 50rem;
        padding: 4px 14px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.15s ease-in-out;
        cursor: pointer;
    }
    .btn-attachment-view:hover {
        background: #2563eb;
        color: #ffffff;
    }
    .btn-attachment-delete {
        border: 1px solid #fca5a5;
        color: #ef4444;
        background: transparent;
        border-radius: 8px;
        width: 34px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        transition: all 0.15s ease-in-out;
        cursor: pointer;
    }
    .btn-attachment-delete:hover {
        background: #fef2f2;
        border-color: #ef4444;
        color: #dc2626;
    }
    .ref-empty-box {
        border: 2px dashed #cbd5e1;
        border-radius: 10px;
        padding: 28px 20px;
        text-align: center;
        background: #f8fafc;
    }

    /* Reference Communications Styles (Like TrackComplaints / Reference Design) */
    .ref-comm-item {
        margin-bottom: 16px;
    }
    .ref-comm-bubble {
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-left: 3px solid #10b981;
        border-radius: 6px;
        padding: 10px 14px;
    }
    .ref-comm-bubble-label {
        font-size: 10px;
        font-weight: 700;
        color: #15803d;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
        text-transform: uppercase;
    }
    .ref-comm-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #dcfce7;
        color: #15803d;
        font-weight: 700;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .ref-reply-composer textarea {
        font-size: 13.5px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        resize: vertical;
        padding: 10px 14px;
        line-height: 1.5;
    }
    .ref-reply-composer textarea:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
        outline: none;
    }

    /* Right Column KPI Metric Tiles */
    .kpi-metric-tile {
        padding: 14px 16px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        transition: all 0.2s ease;
        margin-bottom: 10px;
    }
    .kpi-metric-tile:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    }
    .kpi-metric-primary {
        background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
        border-color: #bfdbfe;
    }
    .kpi-metric-success {
        background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 100%);
        border-color: #a7f3d0;
    }
    .kpi-metric-danger {
        background: linear-gradient(135deg, #f8fafc 0%, #fef2f2 100%);
        border-color: #fecaca;
    }
    .kpi-label {
        font-size: 12.5px;
        font-weight: 600;
        color: #475569;
    }
    .kpi-value {
        font-size: 16px;
        font-weight: 800;
    }

    /* Proceedings & Status Timeline */
    .status-timeline-container {
        position: relative;
        padding-left: 36px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .status-timeline-container::before {
        content: '';
        position: absolute;
        top: 14px;
        bottom: 14px;
        left: 12px;
        width: 2px;
        background: linear-gradient(180deg, #1e3a8a 0%, #cbd5e1 100%);
    }
    .status-timeline-item {
        position: relative;
        margin-bottom: 16px;
    }
    .status-timeline-item:last-child {
        margin-bottom: 0;
    }
    .status-timeline-marker {
        position: absolute;
        left: -36px;
        top: 4px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        background: #ffffff;
        box-shadow: 0 0 0 3px #f8fafc, 0 2px 6px rgba(0, 0, 0, 0.1);
        z-index: 2;
    }
    .status-timeline-marker.marker-primary {
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        color: #ffffff;
    }
    .status-timeline-marker.marker-success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: #ffffff;
    }
    .status-timeline-marker.marker-danger {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: #ffffff;
    }
    .status-timeline-marker.marker-warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: #ffffff;
    }
    .status-timeline-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 12px 14px;
        transition: all 0.2s ease;
    }
    .status-timeline-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(11, 34, 78, 0.05);
    }

    /* Buttons */
    .btn-bcg-primary {
        background: linear-gradient(135deg, #0b224e 0%, #1e3a8a 100%);
        color: #ffffff !important;
        border: none;
        border-radius: 50px;
        font-weight: 600;
        padding: 8px 20px;
        box-shadow: 0 4px 12px rgba(11, 34, 78, 0.2);
        transition: all 0.25s ease;
    }
    .btn-bcg-primary:hover {
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(11, 34, 78, 0.3);
    }
    .btn-bcg-outline {
        border: 1.5px solid #1e3a8a;
        color: #1e3a8a !important;
        background: transparent;
        border-radius: 50px;
        font-weight: 600;
        padding: 7px 18px;
        transition: all 0.2s ease;
    }
    .btn-bcg-outline:hover {
        background: #1e3a8a;
        color: #ffffff !important;
    }

    /* Empty state placeholders */
    .empty-state-box {
        text-align: center;
        padding: 24px 16px;
        background: #f8fafc;
        border: 1px dashed #cbd5e1;
        border-radius: 12px;
    }
    .empty-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #94a3b8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin-bottom: 8px;
    }
