/* =============================================================================
   ASTRO RASHI — User Dashboard Shared Stylesheet
   Compatible with Dark Theme (default) & Light Theme (data-theme="light")
   Pages: Profile, Account, Wallet, Chats, Calls, Reports
   ============================================================================= */

:root {
    --ar-gold: #F6B73C;
    --ar-gold-dark: #D97706;
    --ar-gold-light: #FDE68A;
    --ar-bg-dark: #0B0E14;
    --ar-card-dark: #13182A;
    --ar-card-border-dark: rgba(255, 255, 255, 0.08);
    --ar-text-primary-dark: #F3F4F6;
    --ar-text-secondary-dark: rgba(255, 255, 255, 0.65);
    --ar-input-bg-dark: rgba(255, 255, 255, 0.04);
    --ar-input-border-dark: rgba(255, 255, 255, 0.12);

    --ar-card-light: #FFFFFF;
    --ar-card-border-light: rgba(0, 0, 0, 0.08);
    --ar-text-primary-light: #111827;
    --ar-text-secondary-light: #6B7280;
    --ar-input-bg-light: #F9FAFB;
    --ar-input-border-light: #E5E7EB;
}

/* ─────────────────────────────────────────────────────────────
   Page Layout
   ───────────────────────────────────────────────────────────── */
.ar-profile-page {
    width: 100%;
    min-height: calc(100vh - 120px);
    padding: 0 0 70px;
    display: flex;
    flex-direction: column;
}

/* Hero Banner — Separated Header with Cosmic Gold Aesthetic */
.ar-profile-hero {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #181305 0%, #261B04 50%, #111420 100%);
    border-bottom: 1px solid rgba(246, 183, 60, 0.28);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    padding: 38px 24px 34px;
    overflow: hidden;
    margin-bottom: 28px;
    text-align: center;
}
[data-theme="light"] .ar-profile-hero {
    background: linear-gradient(135deg, #F6B73C 0%, #D97706 70%, #B45309 100%);
    border-bottom: 2px solid rgba(180, 83, 9, 0.2);
    box-shadow: 0 6px 25px rgba(217, 119, 6, 0.25);
}
.ar-profile-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 140%; height: 200%;
    background: radial-gradient(ellipse, rgba(246, 183, 60, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
[data-theme="light"] .ar-profile-hero::before {
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
}
.ar-profile-hero-content {
    position: relative;
    z-index: 1;
}
.ar-profile-hero-content h1 {
    color: var(--ar-gold, #F6B73C);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 2px 16px rgba(246, 183, 60, 0.25);
}
[data-theme="light"] .ar-profile-hero-content h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.ar-profile-hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 6px 0 0;
}
[data-theme="light"] .ar-profile-hero-content p {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Container */
.ar-profile-container {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    flex: 1;
}
@media (min-width: 768px) {
    .ar-profile-container { padding: 0 36px; }
}
@media (min-width: 1200px) {
    .ar-profile-container { padding: 0 54px; }
}

/* Main Dashboard Card */
.ar-profile-card {
    background: var(--ar-card-dark);
    border: 1px solid var(--ar-card-border-dark);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    z-index: 2;
    width: 100%;
    transition: background 0.3s ease, border-color 0.3s ease;
}
[data-theme="light"] .ar-profile-card {
    background: var(--ar-card-light);
    border-color: var(--ar-card-border-light);
    box-shadow: 0 20px 60px rgba(74, 14, 122, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ar-profile-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--ar-card-border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
[data-theme="light"] .ar-profile-card-header {
    border-bottom-color: var(--ar-card-border-light);
}
.ar-card-title-wrap h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--ar-text-primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
[data-theme="light"] .ar-card-title-wrap h2 {
    color: var(--ar-text-primary-light);
}
.ar-card-title-wrap p {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--ar-text-secondary-dark);
}
[data-theme="light"] .ar-card-title-wrap p {
    color: var(--ar-text-secondary-light);
}

.ar-profile-card-body {
    padding: 28px;
}
@media (max-width: 576px) {
    .ar-profile-card-header,
    .ar-profile-card-body {
        padding: 18px 16px;
    }
}

/* ─────────────────────────────────────────────────────────────
   Quick Links Sidebar
   ───────────────────────────────────────────────────────────── */
.ar-quick-links-card {
    background: var(--ar-card-dark);
    border: 1px solid var(--ar-card-border-dark);
    border-radius: 18px;
    padding: 18px 14px;
    margin-bottom: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}
[data-theme="light"] .ar-quick-links-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(74, 14, 122, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ar-ql-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ar-gold);
    margin: 0 0 12px;
    padding: 2px 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(246, 183, 60, 0.2);
}
[data-theme="light"] .ar-ql-title {
    color: #92400E;
    border-bottom-color: rgba(217, 119, 6, 0.15);
}

.ar-ql-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ar-ql-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
}
.ar-ql-item .ar-ql-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.22s ease;
}
.ar-ql-item .ar-ql-icon i {
    color: var(--ar-gold);
    font-size: 14px;
    transition: transform 0.22s ease;
}
[data-theme="light"] .ar-ql-item .ar-ql-icon {
    background: rgba(246, 183, 60, 0.12);
    border: 1px solid rgba(246, 183, 60, 0.22);
}
[data-theme="light"] .ar-ql-item .ar-ql-icon i {
    color: var(--ar-gold-dark);
}

.ar-ql-item .ar-ql-label {
    font-size: 0.92rem;
    font-weight: 600;
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    transition: color 0.2s ease;
}
[data-theme="light"] .ar-ql-item .ar-ql-label {
    color: #374151;
}

.ar-ql-item .ar-ql-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    transition: all 0.22s ease;
}
[data-theme="light"] .ar-ql-item .ar-ql-arrow {
    color: #9CA3AF;
}

/* Hover States */
.ar-ql-item:hover {
    background: rgba(246, 183, 60, 0.08);
    border-color: rgba(246, 183, 60, 0.22);
    padding-left: 14px;
}
.ar-ql-item:hover .ar-ql-label { color: #FFFFFF; }
.ar-ql-item:hover .ar-ql-icon {
    background: rgba(246, 183, 60, 0.18);
    border-color: rgba(246, 183, 60, 0.35);
    transform: scale(1.05);
}
.ar-ql-item:hover .ar-ql-arrow {
    color: var(--ar-gold);
    transform: translateX(4px);
}

[data-theme="light"] .ar-ql-item:hover {
    background: rgba(246, 183, 60, 0.12);
    border-color: rgba(217, 119, 6, 0.28);
    padding-left: 14px;
}
[data-theme="light"] .ar-ql-item:hover .ar-ql-label { color: #111827; }
[data-theme="light"] .ar-ql-item:hover .ar-ql-icon {
    background: var(--ar-gold-dark);
    border-color: var(--ar-gold-dark);
}
[data-theme="light"] .ar-ql-item:hover .ar-ql-icon i { color: #FFFFFF; }
[data-theme="light"] .ar-ql-item:hover .ar-ql-arrow {
    color: var(--ar-gold-dark);
    transform: translateX(4px);
}

/* Active State */
.ar-ql-item.active {
    background: linear-gradient(135deg, rgba(246, 183, 60, 0.16) 0%, rgba(142, 45, 226, 0.12) 100%);
    border-color: rgba(246, 183, 60, 0.38);
    box-shadow: 0 4px 16px rgba(246, 183, 60, 0.12);
}
.ar-ql-item.active .ar-ql-icon {
    background: linear-gradient(135deg, var(--ar-gold) 0%, var(--ar-gold-dark) 100%);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(246, 183, 60, 0.35);
}
.ar-ql-item.active .ar-ql-icon i { color: #0B0E14; }
.ar-ql-item.active .ar-ql-label {
    color: var(--ar-gold);
    font-weight: 700;
}
.ar-ql-item.active .ar-ql-arrow {
    color: var(--ar-gold);
    transform: translateX(3px);
}

[data-theme="light"] .ar-ql-item.active {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.88) 0%, rgba(253, 230, 138, 0.55) 100%);
    border-color: rgba(217, 119, 6, 0.38);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}
[data-theme="light"] .ar-ql-item.active .ar-ql-icon {
    background: linear-gradient(135deg, #F59E0B 0%, var(--ar-gold-dark) 100%);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
}
[data-theme="light"] .ar-ql-item.active .ar-ql-icon i { color: #FFFFFF; }
[data-theme="light"] .ar-ql-item.active .ar-ql-label {
    color: #92400E;
    font-weight: 700;
}
[data-theme="light"] .ar-ql-item.active .ar-ql-arrow {
    color: var(--ar-gold-dark);
    transform: translateX(3px);
}

/* Cosmic Tip Card */
.ar-cosmic-tip-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14) 0%, rgba(246, 183, 60, 0.08) 100%);
    border: 1px solid rgba(246, 183, 60, 0.25);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .ar-cosmic-tip-card {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(254, 243, 199, 0.75) 100%);
    border-color: rgba(217, 119, 6, 0.25);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.08);
}
.ar-cosmic-tip-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ar-gold);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
[data-theme="light"] .ar-cosmic-tip-title { color: #92400E; }
.ar-cosmic-tip-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.55;
}
[data-theme="light"] .ar-cosmic-tip-text { color: #4B5563; }

/* ─────────────────────────────────────────────────────────────
   Form Controls (Dark & Light)
   ───────────────────────────────────────────────────────────── */
.ar-pf-group {
    margin-bottom: 20px;
}
.ar-pf-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 7px;
}
[data-theme="light"] .ar-pf-label { color: #4B5563; }
.ar-pf-label .req { color: #EF4444; margin-left: 2px; }

.ar-pf-input,
select.ar-pf-select,
.ar-pf-textarea {
    width: 100%;
    background: var(--ar-input-bg-dark) !important;
    border: 1px solid var(--ar-input-border-dark) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: #F9FAFB !important;
    font-size: 0.93rem !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}
[data-theme="light"] .ar-pf-input,
[data-theme="light"] select.ar-pf-select,
[data-theme="light"] .ar-pf-textarea {
    background: var(--ar-input-bg-light) !important;
    border-color: var(--ar-input-border-light) !important;
    color: var(--ar-text-primary-light) !important;
}
.ar-pf-input:focus,
select.ar-pf-select:focus,
.ar-pf-textarea:focus {
    border-color: var(--ar-gold) !important;
    box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.2) !important;
}
.ar-pf-input::placeholder,
.ar-pf-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
[data-theme="light"] .ar-pf-input::placeholder,
[data-theme="light"] .ar-pf-textarea::placeholder {
    color: #9CA3AF !important;
}
select.ar-pf-select option {
    background: #13182A;
    color: #FFFFFF;
}
[data-theme="light"] select.ar-pf-select option {
    background: #FFFFFF;
    color: #111827;
}

/* Input with icon addon */
.ar-input-addon-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}
.ar-input-addon-wrap .ar-addon-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ar-gold);
    font-size: 14px;
    pointer-events: none;
    z-index: 3;
}
.ar-input-addon-wrap .ar-pf-input.has-icon {
    padding-left: 40px !important;
}

/* Primary Cosmic Button */
.ar-btn-primary {
    background: linear-gradient(135deg, var(--ar-gold) 0%, var(--ar-gold-dark) 100%);
    color: #0B0E14 !important;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
}
.ar-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(246, 183, 60, 0.4);
    color: #0B0E14 !important;
}

/* Secondary / Outline Button */
.ar-btn-outline {
    background: transparent;
    border: 1px solid var(--ar-gold);
    color: var(--ar-gold) !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    padding: 8px 18px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}
.ar-btn-outline:hover {
    background: var(--ar-gold);
    color: #0B0E14 !important;
}

/* Danger Button */
.ar-btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #EF4444 !important;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.ar-btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #EF4444;
}

/* ─────────────────────────────────────────────────────────────
   Modern Cosmic Tabs
   ───────────────────────────────────────────────────────────── */
.ar-dash-tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ar-card-border-dark);
    border-radius: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
[data-theme="light"] .ar-dash-tabs {
    background: #F3F4F6;
    border-color: #E5E7EB;
}
.ar-dash-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}
[data-theme="light"] .ar-dash-tab {
    color: #4B5563;
}
.ar-dash-tab:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .ar-dash-tab:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.04);
}
.ar-dash-tab.active {
    background: linear-gradient(135deg, var(--ar-gold) 0%, var(--ar-gold-dark) 100%) !important;
    color: #0B0E14 !important;
    box-shadow: 0 4px 14px rgba(246, 183, 60, 0.35);
}

/* ─────────────────────────────────────────────────────────────
   Modern Cosmic Tables
   ───────────────────────────────────────────────────────────── */
.ar-table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--ar-card-border-dark);
    background: rgba(255, 255, 255, 0.02);
}
[data-theme="light"] .ar-table-responsive {
    border-color: var(--ar-card-border-light);
    background: #FFFFFF;
}

.ar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    text-align: left;
}
.ar-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ar-gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ar-card-border-dark);
    white-space: nowrap;
}
[data-theme="light"] .ar-table th {
    background: #F9FAFB;
    color: #92400E;
    border-bottom-color: var(--ar-card-border-light);
}
.ar-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--ar-text-primary-dark);
    font-size: 0.92rem;
    vertical-align: middle;
}
[data-theme="light"] .ar-table td {
    border-bottom-color: rgba(0, 0, 0, 0.05);
    color: var(--ar-text-primary-light);
}
.ar-table tbody tr {
    transition: background 0.2s ease;
}
.ar-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}
[data-theme="light"] .ar-table tbody tr:hover {
    background: #F9FAFB;
}
.ar-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.ar-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
}
.ar-badge.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.ar-badge.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.ar-badge.info {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.ar-badge.gold {
    background: rgba(246, 183, 60, 0.15);
    color: var(--ar-gold);
    border: 1px solid rgba(246, 183, 60, 0.3);
}
[data-theme="light"] .ar-badge.gold {
    color: var(--ar-gold-dark);
}

.ar-amount-credit {
    color: #10B981;
    font-weight: 700;
    font-size: 0.95rem;
}
.ar-amount-debit {
    color: #EF4444;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ─────────────────────────────────────────────────────────────
   Wallet Balance Hero Card
   ───────────────────────────────────────────────────────────── */
.ar-wallet-overview-card {
    background: linear-gradient(135deg, rgba(22, 12, 51, 0.9) 0%, rgba(19, 24, 42, 0.95) 100%);
    border: 1px solid rgba(246, 183, 60, 0.25);
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
[data-theme="light"] .ar-wallet-overview-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border-color: rgba(217, 119, 6, 0.25);
    box-shadow: 0 10px 30px rgba(74, 14, 122, 0.06);
}
.ar-wallet-overview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(246, 183, 60, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ar-wallet-balance-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ar-wallet-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(246, 183, 60, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid rgba(246, 183, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ar-wallet-icon-box i {
    font-size: 24px;
    color: var(--ar-gold);
}
[data-theme="light"] .ar-wallet-icon-box i { color: var(--ar-gold-dark); }
.ar-wallet-val-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: var(--ar-text-secondary-dark);
    margin: 0 0 4px;
}
[data-theme="light"] .ar-wallet-val-title { color: var(--ar-text-secondary-light); }
.ar-wallet-val-amount {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ar-gold);
    margin: 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 6px;
}
[data-theme="light"] .ar-wallet-val-amount { color: var(--ar-gold-dark); }

/* ─────────────────────────────────────────────────────────────
   Referral & Info Cards
   ───────────────────────────────────────────────────────────── */
.ar-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ar-card-border-dark);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    transition: all 0.25s ease;
}
[data-theme="light"] .ar-info-card {
    background: #F9FAFB;
    border-color: var(--ar-card-border-light);
}
.ar-info-card:hover {
    border-color: rgba(246, 183, 60, 0.3);
    transform: translateY(-2px);
}
.ar-info-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ar-gold);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
[data-theme="light"] .ar-info-card-title { color: #92400E; }
.ar-info-card-body p {
    font-size: 0.88rem;
    color: var(--ar-text-secondary-dark);
    line-height: 1.55;
    margin-bottom: 12px;
}
[data-theme="light"] .ar-info-card-body p { color: var(--ar-text-secondary-light); }

.ar-referral-copy-wrap {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.ar-referral-copy-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ar-card-border-dark);
    border-radius: 10px;
    padding: 10px 14px;
    color: #F3F4F6;
    font-size: 0.85rem;
    outline: none;
}
[data-theme="light"] .ar-referral-copy-input {
    background: #FFFFFF;
    border-color: var(--ar-card-border-light);
    color: #111827;
}
.ar-referral-copy-btn {
    background: var(--ar-gold);
    color: #0B0E14;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ar-referral-copy-btn:hover {
    background: var(--ar-gold-dark);
    color: #FFFFFF;
}

/* ─────────────────────────────────────────────────────────────
   Empty State
   ───────────────────────────────────────────────────────────── */
.ar-empty-state {
    padding: 48px 20px;
    text-align: center;
    color: var(--ar-text-secondary-dark);
}
[data-theme="light"] .ar-empty-state { color: var(--ar-text-secondary-light); }
.ar-empty-icon {
    font-size: 42px;
    color: rgba(246, 183, 60, 0.4);
    margin-bottom: 14px;
}
.ar-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ar-text-primary-dark);
    margin: 0 0 6px;
}
[data-theme="light"] .ar-empty-title { color: var(--ar-text-primary-light); }
.ar-empty-desc {
    font-size: 0.88rem;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   Dark Theme Friendly Modal (Reviews, etc.)
   ───────────────────────────────────────────────────────────── */
.ar-modal .modal-content {
    background: #13182A !important;
    border: 1px solid var(--ar-card-border-dark) !important;
    border-radius: 18px !important;
    color: #F3F4F6 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}
[data-theme="light"] .ar-modal .modal-content {
    background: #FFFFFF !important;
    border-color: var(--ar-card-border-light) !important;
    color: #111827 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}
.ar-modal .modal-header {
    border-bottom: 1px solid var(--ar-card-border-dark) !important;
    padding: 18px 24px !important;
}
[data-theme="light"] .ar-modal .modal-header {
    border-bottom-color: var(--ar-card-border-light) !important;
}
.ar-modal .modal-title {
    color: var(--ar-gold) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
}
[data-theme="light"] .ar-modal .modal-title {
    color: #92400E !important;
}
.ar-modal .close {
    color: rgba(255, 255, 255, 0.7) !important;
    text-shadow: none !important;
    opacity: 1 !important;
    outline: none !important;
}
[data-theme="light"] .ar-modal .close {
    color: #4B5563 !important;
}
.ar-modal .modal-body {
    padding: 24px !important;
}

/* Star Rating inside Modal */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 1.8rem;
    gap: 6px;
    padding: 8px 0;
}
.star-rating input { display: none; }
.star-rating label {
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0;
}
[data-theme="light"] .star-rating label { color: #D1D5DB; }
.star-rating label::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--ar-gold) !important;
}
