/* Cashy Hosting Cashback Platform Styles */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #475569;
    --success-color: #16a34a;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0284c7;
    --dark-bg: #0f172a;
    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --card-border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

/* Navbar */
.navbar {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.navbar .nav-link {
    white-space: nowrap !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar .dropdown-menu {
    border-radius: 0.85rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.navbar .dropdown-item {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    margin: 0.1rem 0.35rem;
    width: auto;
}

.navbar .dropdown-item:hover {
    background-color: #f1f5f9;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: white;
    padding: 4rem 1rem;

    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 2.5rem;
}

/* Cards & Badges */
.card {
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cashback-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
}

/* Modern Offer Cards & Components */
.offer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    padding: 1.65rem;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05), 0 2px 6px -2px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.offer-provider-badge {
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    display: inline-block;
}

.offer-cashback-badge {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    border: 1.5px solid #6ee7b7;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.12);
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.offer-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    min-height: 44px;
}

.offer-features-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.offer-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0;
    font-size: 0.86rem;
    font-weight: 500;
    color: #334155;
}

.offer-feature-item:not(:last-child) {
    border-bottom: 1px dashed #e2e8f0;
}

.offer-check-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ═══════════════════════════ Dedicated Plan Features Showcase ═══════════════════════════ */
.plan-features-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-feature-row {
    display: flex;
    align-items: center;
    padding: 0.65rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 1px dashed #e2e8f0;
}

.plan-feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.plan-feature-row:first-child {
    padding-top: 0;
}

.plan-feature-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background-color: #10b981;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    margin-inline-end: 0.85rem !important; /* Strict 14px buffer in RTL & LTR */
}

.plan-feature-text {
    flex-grow: 1;
    line-height: 1.5;
    text-align: start;
    word-break: break-word;
}

.offer-meta-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.85rem;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-meta-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: block;
}

.offer-meta-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.offer-meta-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.offer-meta-period {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.btn-claim-cashback {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.65rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-claim-cashback:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn-offer-details {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
    border-radius: 0.65rem;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-offer-details:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.promo-badge {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
}

/* 7-Stage Workflow Progress Stepper */
.workflow-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 2rem 0;
}

.workflow-stepper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

.workflow-step {
    position: relative;
    z-index: 2;
    background: white;
    border: 3px solid #cbd5e1;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #64748b;
    transition: all 0.3s ease;
}

.workflow-step.completed {
    background: #10b981;
    border-color: #059669;
    color: white;
}

.workflow-step.active {
    background: #3b82f6;
    border-color: #1d4ed8;
    color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.workflow-step.rejected {
    background: #ef4444;
    border-color: #b91c1c;
    color: white;
}

.workflow-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    white-space: nowrap;
    text-align: center;
    color: #475569;
    font-weight: 500;
}

/* ═══════════════════════════ Admin Layout ═══════════════════════════ */
body.admin-layout {
    min-height: 100vh;
    background-color: #f8fafc;
    overflow-x: hidden;
    position: relative;
}

/* Desktop Sidebar: Fixed to Viewport */
@media (min-width: 992px) {
    .admin-sidebar {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
        background: var(--sidebar-bg);
        height: 100vh;
        max-height: 100vh;
        position: fixed;
        top: 0;
        bottom: 0;
        color: #cbd5e1;
        z-index: 1030;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    }

    /* LTR positioning */
    html[dir="ltr"] .admin-sidebar,
    body:not(.rtl-mode) .admin-sidebar {
        left: 0;
        right: auto;
    }
    html[dir="ltr"] .admin-main,
    body:not(.rtl-mode) .admin-main {
        margin-left: 260px;
        margin-right: 0;
        width: calc(100% - 260px);
    }

    /* RTL positioning */
    html[dir="rtl"] .admin-sidebar,
    body.rtl-mode .admin-sidebar {
        right: 0;
        left: auto;
    }
    html[dir="rtl"] .admin-main,
    body.rtl-mode .admin-main {
        margin-right: 260px;
        margin-left: 0;
        width: calc(100% - 260px);
    }
}

.admin-sidebar-brand {
    min-height: 64px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-nav {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0; /* Critical for flex child scroll in Chrome/Firefox */
    padding-bottom: 1.5rem;
}

/* Modern Dark Custom Scrollbar for Sidebar */
.admin-sidebar-nav::-webkit-scrollbar {
    width: 5px;
}
.admin-sidebar-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
}
.admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.admin-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.sidebar-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
}

.admin-sidebar .sidebar-link {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    margin: 0.15rem 0.5rem;
    transition: background 0.15s, color 0.15s;
}

.admin-sidebar .sidebar-link:hover,
.admin-sidebar .sidebar-link.active {
    background: var(--sidebar-hover);
    color: #ffffff;
}

.admin-sidebar .sidebar-link.active {
    background: var(--primary-color);
    font-weight: 600;
}

.admin-sidebar .sidebar-link i {
    width: 20px;
    margin-right: 0.5rem;
}

[dir="rtl"] .admin-sidebar .sidebar-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.admin-main {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8fafc;
}

.admin-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    min-height: 60px;
}

.admin-content {
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    background-color: #f8fafc;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        width: 260px;
        background: var(--sidebar-bg);
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100vh;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Mobile LTR */
    html[dir="ltr"] .admin-sidebar,
    body:not(.rtl-mode) .admin-sidebar {
        left: -260px;
        right: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    html[dir="ltr"] .admin-sidebar.show,
    body:not(.rtl-mode) .admin-sidebar.show {
        left: 0;
    }

    /* Mobile RTL */
    html[dir="rtl"] .admin-sidebar,
    body.rtl-mode .admin-sidebar {
        right: -260px;
        left: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    html[dir="rtl"] .admin-sidebar.show,
    body.rtl-mode .admin-sidebar.show {
        right: 0;
        left: auto;
    }

    .admin-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .admin-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }
}

/* Stat Cards */
.stat-card {
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    border-radius: 0.5rem;
    background: white;
}

.stat-card.stat-success {
    border-left-color: var(--success-color);
}

.stat-card.stat-warning {
    border-left-color: var(--warning-color);
}

.stat-card.stat-danger {
    border-left-color: var(--danger-color);
}

.stat-card.stat-info {
    border-left-color: var(--info-color);
}

/* Risk Score Badge */
.risk-low {
    background-color: #dcfce7;
    color: #15803d;
    font-weight: 600;
}

.risk-medium {
    background-color: #fef9c3;
    color: #a16207;
    font-weight: 600;
}

.risk-high {
    background-color: #ffedd5;
    color: #c2410c;
    font-weight: 600;
}

.risk-critical {
    background-color: #fee2e2;
    color: #b91c1c;
    font-weight: 600;
}

/* Countdown Box */
.countdown-box {
    background: #f1f5f9;
    border: 1px dashed #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
    font-weight: 600;
}

/* ═══════════════════════════ Auth Pages ═══════════════════════════ */
.auth-bg {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 50%, #eff6ff 100%);
    min-height: 100vh;
}

.auth-wrapper {
    margin: auto;
}

.auth-logo-icon {
    width: 68px;
    height: 68px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.btn-google-auth {
    background-color: #ffffff !important;
    border: 1px solid #dadce0 !important;
    color: #3c4043 !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}
.btn-google-auth:hover {
    background-color: #f8f9fa !important;
    border-color: #c6c9ce !important;
    color: #202124 !important;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15) !important;
}

/* ═══════════════════════════ RTL Mode (Arabic) ═══════════════════════════ */
[dir="rtl"],
body.rtl-mode {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    text-align: right;
}

[dir="rtl"] .admin-sidebar .sidebar-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .stat-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .stat-card.stat-success {
    border-right-color: var(--success-color);
}

[dir="rtl"] .stat-card.stat-warning {
    border-right-color: var(--warning-color);
}

[dir="rtl"] .stat-card.stat-danger {
    border-right-color: var(--danger-color);
}

[dir="rtl"] .stat-card.stat-info {
    border-right-color: var(--info-color);
}



/* ═══════════════════════════ Claim Submission Page ═══════════════════════════ */
.claim-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.claim-hero-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.claim-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
}

.claim-step-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    transition: all 0.2s ease;
}

.claim-step-box:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.form-step-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.step-indicator {
    width: 34px;
    height: 34px;
    background: #eff6ff;
    color: #2563eb;
    border: 2px solid #bfdbfe;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.claim-field-label {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 0.45rem;
    display: block;
}

.claim-input-group .input-group-text {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1rem;
}

.claim-input-group .form-control,
.claim-input-group .form-select {
    border-color: #cbd5e1;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.65rem;
}

.claim-input-group .password-toggle-btn {
    border-color: #cbd5e1;
    color: #64748b;
    background-color: #f8fafc;
}

.claim-input-group .password-toggle-btn:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.claim-input-group .form-control:focus,
.claim-input-group .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

[dir="rtl"] .claim-input-group input:placeholder-shown {
    direction: rtl;
    text-align: right;
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed #94a3b8;
    border-radius: 1rem;
    background-color: #f8fafc;
    padding: 2.25rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: #2563eb;
    background-color: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
}

.upload-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.upload-dropzone:hover .upload-icon-wrapper {
    transform: scale(1.1);
}

.file-preview-card {
    background: #ffffff;
    border: 1.5px solid #60a5fa;
    border-radius: 0.85rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    margin-top: 1rem;
}

/* Selected Offer Sidebar Card */
.selected-offer-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
}

.offer-feature-mini-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    padding: 0.35rem 0;
}

.offer-feature-mini-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ═══════════════════════════ Purchase Detail Enhanced Styling ═══════════════════════════ */
.purchase-detail-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.cashback-highlight-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    border-radius: 1.15rem;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
    text-align: center;
    min-width: 200px;
}

.status-callout-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.5rem;
}

.countdown-digital {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.countdown-unit {
    background: #0f172a;
    color: #ffffff;
    border-radius: 0.55rem;
    padding: 0.45rem 0.65rem;
    min-width: 46px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.countdown-unit-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    font-family: monospace;
}

.countdown-unit-label {
    font-size: 0.62rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 0.25rem;
    display: block;
    font-weight: 600;
}

.workflow-step.active {
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.35), 0 4px 12px rgba(37, 99, 235, 0.25);
    animation: pulseActiveStep 2.5s infinite;
}

@keyframes pulseActiveStep {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.15);
    }
}

.timeline-event-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.2s ease;
}

.timeline-event-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    border: 2px solid #93c5fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.timeline-dot.completed {
    background: #dcfce7;
    color: #16a34a;
    border-color: #86efac;
}

.snapshot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
}

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

/* ═══════════════════════════ Customer Claims Hub (my_purchases) ═══════════════════════════ */
.dashboard-hero-card,
.claims-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.claims-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.claims-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.claims-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.claims-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.claims-filter-tabs .nav-link {
    color: #64748b;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 0.65rem;
    padding: 0.55rem 1rem;
    transition: all 0.15s ease;
}

.claims-filter-tabs .nav-link:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.claims-filter-tabs .nav-link.active {
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.claims-filter-tabs .nav-link .badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
}

.claims-filter-tabs .nav-link.active .badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.claims-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.claims-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.claims-table tbody td {
    padding: 1.1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.claims-table tbody tr:hover td {
    background-color: #f8fafc;
}

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

.countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.claim-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    position: relative;
}

.claim-card {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.claim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
}

.claim-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.claim-item-header {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.claim-ref-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.claim-ref-copy-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0 0.2rem;
    cursor: pointer;
    font-size: 0.82rem;
    transition: color 0.15s ease;
}

.claim-ref-copy-btn:hover {
    color: #2563eb;
}

.provider-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.domain-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.domain-pill:hover {
    color: #2563eb;
}

.claim-progress-track {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 0.35rem;
}

.claim-progress-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.claim-mobile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.claim-mobile-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.empty-claims-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.empty-claims-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.guide-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1.2rem;
    height: 100%;
    text-align: right;
}

[dir="ltr"] .guide-step-card {
    text-align: left;
}

.guide-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

/* ═══════════════════════════ Executive Admin Design System ═══════════════════════════ */
.admin-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
}

.admin-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.admin-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.admin-kpi-val {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.admin-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.admin-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 100%;
}

.admin-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0.85rem;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 0.75rem 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.865rem;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-user-avatar.avatar-primary {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.admin-user-avatar.avatar-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.status-pill.pill-success {
    background-color: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.status-pill.pill-warning {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.status-pill.pill-danger {
    background-color: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.status-pill.pill-info {
    background-color: #f0fdf4;
    color: #0d9488;
    border-color: #99f6e4;
}

.status-pill.pill-primary {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.status-pill.pill-secondary {
    background-color: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.risk-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid transparent;
}

.risk-pill.risk-low {
    background-color: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}

.risk-pill.risk-medium {
    background-color: #fffbeb;
    color: #d97706;
    border-color: #fde68a;
}

.risk-pill.risk-high,
.risk-pill.risk-critical {
    background-color: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.admin-ref-link {
    font-family: var(--font-monospace, monospace);
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.admin-ref-link:hover {
    color: #2563eb;
}

/* Coupon Input & Feedback Polish */
#coupon_code::placeholder {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
    font-size: 0.9rem;
    color: #94a3b8;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
}

/* ═══════════════════════════ Hostinger-Style Modern Footer ═══════════════════════════ */
.site-footer {
    background-color: #ffffff;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    position: relative;
    font-size: 0.875rem;
}

.site-footer-top-gradient {
    height: 4px;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 35%, #2563eb 70%, #06b6d4 100%);
    width: 100%;
}

.site-footer h6.footer-col-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.15rem;
    letter-spacing: -0.01em;
}

.site-footer ul.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul.footer-links li {
    margin-bottom: 0.6rem;
}

.site-footer ul.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.835rem;
    transition: color 0.15s ease, padding 0.15s ease;
    display: inline-block;
}

.site-footer ul.footer-links a:hover {
    color: #2563eb;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #334155;
    background-color: #f1f5f9;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    background-color: #2563eb;
    transform: translateY(-2px);
}

.pay-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.site-footer-middle {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.site-footer-bottom {
    border-top: 1px solid #f1f5f9;
    background-color: #fafafa;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.site-footer-bottom a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer-bottom a:hover {
    color: #2563eb;
}

/* ══════════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM (الهندسة المتجاوبة مع شاشات الجوال)
   ══════════════════════════════════════════════════════════════════════════════ */

/* Global Mobile Viewport & Typography Normalization */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* 1. Navbar & Header Mobile Optimization */
.admin-logo-img {
    height: 44px;
    width: auto;
    max-width: 195px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.footer-brand-img {
    height: 48px;
    width: auto;
    max-width: 165px;
    object-fit: contain;
}

.navbar-logo-img {
    height: 46px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.16));
    transition: height 0.2s ease, max-width 0.2s ease, transform 0.2s ease;
}

.navbar-brand:hover .navbar-logo-img {
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .navbar {
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
    }

    .navbar-collapse {
        background: #1d4ed8;
        border-radius: 1rem;
        margin-top: 0.75rem;
        padding: 1.25rem 1rem !important;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1rem !important;
        border-radius: 0.5rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.12);
    }

    .navbar-nav.gap-2 {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 1rem;
        margin-top: 0.75rem;
    }

    .navbar-nav .btn {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem;
        background-color: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo-img {
        height: 33px;
        max-width: 170px;
    }

    .navbar-toggler {
        padding: 0.35rem 0.6rem !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 380px) {
    .navbar-logo-img {
        height: 28px;
        max-width: 140px;
    }
}

/* 2. Hero Section Mobile Optimization */
.hero-headline {
    font-size: clamp(1.75rem, 5.5vw, 3rem);
    line-height: 1.25;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    max-width: 720px;
    opacity: 0.95;
}

@media (max-width: 767.98px) {
    .hero-banner {
        padding: 2.5rem 1rem !important;
        border-radius: 1rem !important;
    }

    .hero-btn-group {
        width: 100%;
        max-width: 320px;
    }

    .hero-btn-group .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* 3. "How It Works" Section Mobile Cards & Step Badges */
.step-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0 !important;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

.step-num-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 26px;
    height: 26px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
    border: 2px solid #ffffff;
}

[dir="rtl"] .step-num-badge {
    right: 20px;
    left: auto;
}

[dir="ltr"] .step-num-badge {
    left: 20px;
    right: auto;
}

@media (max-width: 767.98px) {
    #how-it-works {
        padding: 1.5rem 1rem !important;
        border-radius: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .step-card {
        padding: 1.25rem 1rem !important;
    }
}

/* 4. Cashback Offer Cards Mobile Optimization */
.offer-card {
    border-radius: 1rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767.98px) {
    .offer-card {
        padding: 1.25rem 1rem !important;
    }

    .offer-card h4 {
        font-size: 1.2rem;
    }

    .offer-card .btn-lg {
        font-size: 1rem !important;
        min-height: 48px;
        padding: 0.75rem 1rem !important;
    }
}

/* 5. Mobile Form Input Prevention of Auto-Zoom (iOS Safari 16px requirement) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    select.form-select,
    textarea.form-control {
        font-size: 16px !important;
    }
}

/* 6. Hostinger-Style Footer Mobile Refinements & Accordion System */
.footer-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.85rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-align: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-accordion-toggle:focus {
    outline: none;
}

.footer-accordion-toggle .footer-chevron {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.footer-accordion-toggle:not(.collapsed) {
    color: #2563eb;
    border-bottom-color: #93c5fd;
}

.footer-accordion-toggle:not(.collapsed) .footer-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

.footer-brand-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .collapse.footer-collapse-content {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .footer-tagline-text {
        padding-inline-start: 1rem;
        border-inline-start: 1px solid #cbd5e1;
    }

    .footer-pay-badges {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 0.5rem;
    }

    .site-footer .container {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .footer-col {
        margin-bottom: 0 !important;
    }

    .footer-collapse-content .footer-links {
        padding: 0.5rem 0.5rem 1rem 0.5rem !important;
    }

    .site-footer ul.footer-links li {
        margin-bottom: 0.35rem;
    }

    .site-footer ul.footer-links a {
        padding: 0.4rem 0.75rem;
        min-height: 40px;
        display: flex;
        align-items: center;
        font-size: 0.85rem;
        color: #334155;
        background-color: #f8fafc;
        border-radius: 8px;
        transition: all 0.15s ease;
    }

    .site-footer ul.footer-links a:hover,
    .site-footer ul.footer-links a:active {
        background-color: #eff6ff;
        color: #2563eb;
        padding-inline-start: 1rem;
    }

    .footer-tagline-text {
        padding-inline-start: 0 !important;
        border: none !important;
        font-size: 0.8rem;
        display: block;
        text-align: center;
        margin-top: 0.25rem;
        line-height: 1.4;
    }

    .site-footer-middle {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        text-align: center;
    }

    .footer-pay-badges {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0.5rem auto 0 auto !important;
    }

    .pay-badge-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.35rem !important;
        padding: 0.45rem 0.25rem !important;
        font-size: 0.72rem !important;
        text-align: center !important;
        white-space: nowrap !important;
        min-height: 38px;
        border-radius: 8px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    }

    .site-footer-bottom {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        font-size: 0.78rem;
    }

    .footer-bottom-links {
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    .footer-bottom-links a {
        padding: 0.35rem 0.65rem;
        background-color: #f1f5f9;
        border-radius: 6px;
        font-size: 0.76rem;
    }
}

/* 7. Tables & Horizontal Touch-Scroll Smoothness */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 0.75rem;
}

@media (max-width: 576px) {
    .table.admin-table {
        min-width: 600px;
    }
}

/* 8. Comprehensive Mobile Cards & Forms Padding Optimization */
@media (max-width: 767.98px) {
    .claim-hero,
    .claims-hero-card,
    .dashboard-hero-card {
        padding: 1.25rem 1rem !important;
        border-radius: 1rem !important;
        margin-bottom: 1.25rem !important;
    }

    .claim-form-card {
        padding: 1.25rem 1rem !important;
        border-radius: 1rem !important;
    }

    .claim-step-box {
        padding: 1rem 0.85rem !important;
        margin-bottom: 1.25rem !important;
    }

    .claims-filter-card {
        padding: 0.85rem 1rem !important;
        border-radius: 0.85rem !important;
    }

    .claim-card .card-header {
        padding: 0.85rem 1rem !important;
    }

    .claim-card .card-body {
        padding: 1rem !important;
    }

    .claims-filter-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 0.35rem !important;
        scrollbar-width: none;
    }

    .claims-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .claims-filter-tabs .nav-link {
        white-space: nowrap !important;
        font-size: 0.82rem !important;
        padding: 0.4rem 0.75rem !important;
    }

    .upload-dropzone {
        padding: 1.5rem 1rem !important;
    }

    .upload-dropzone h6 {
        font-size: 1rem !important;
    }

    .auth-wrapper {
        padding: 0.25rem 0.5rem !important;
    }

    .auth-wrapper .card-body {
        padding: 1.5rem 1.25rem !important;
    }

    .breadcrumb {
        font-size: 0.82rem !important;
    }

    .btn-lg {
        font-size: 1rem !important;
        min-height: 48px;
    }

    .stat-card {
        padding: 1rem 0.85rem !important;
    }
}

/* 9. Auth Logo Mobile Scaling */
.auth-logo-img {
    max-width: 240px;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.workflow-stepper.all-completed::before {
    background: #10b981 !important;
}

@media (max-width: 400px) {
    .auth-logo-img {
        max-width: 180px;
    }
}

/* 10. Responsive Utilities */
@media (max-width: 575.98px) {
    .w-sm-100 {
        width: 100% !important;
    }
}
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}
@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

/* 11. Compact Single-Line Mobile Action Buttons */
.btn-mobile-cta {
    font-size: 0.88rem !important;
    min-height: 40px !important;
    padding: 0.45rem 0.85rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.btn-mobile-cta span,
.btn-mobile-cta-sub span {
    white-space: nowrap !important;
    display: inline-block !important;
}

.btn-mobile-cta-sub {
    font-size: 0.82rem !important;
    min-height: 36px !important;
    padding: 0.38rem 0.75rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.workflow-stepper.all-completed::before {
    background: #10b981 !important;
}

@media (max-width: 400px) {
    .btn-mobile-cta {
        font-size: 0.82rem !important;
        min-height: 38px !important;
        padding: 0.4rem 0.5rem !important;
        gap: 0.35rem !important;
    }

    .btn-mobile-cta-sub {
        font-size: 0.76rem !important;
        min-height: 34px !important;
        padding: 0.32rem 0.5rem !important;
        gap: 0.3rem !important;
    }
}
