/* ============================================================================
   ACCOUNT MANAGEMENT STYLES
   Lightweight, clean design matching public pages
   ============================================================================ */

/* Account Page Layout */
.account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.account-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.account-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.account-header p {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

/* Mobile Navigation Toggle Button (hidden on desktop) */
.account-nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.account-nav-toggle:hover {
    background: #f7fafc;
    border-color: #38b2ac;
    color: #38b2ac;
}

.account-nav-toggle i {
    font-size: 1.25rem;
}

/* Mobile Navigation Backdrop */
.account-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.account-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Close Button (hidden on desktop) */
.account-nav-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #718096;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    z-index: 10;
}

.account-nav-close:hover {
    background: #f7fafc;
    color: #1a202c;
}

/* Sidebar Navigation */
.account-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.account-nav-section {
    margin-bottom: 2rem;
}

.account-nav-section:last-child {
    margin-bottom: 0;
}

.account-nav-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a0aec0;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
}

.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.account-nav-link i {
    margin-right: 0.75rem;
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.account-nav-link:hover {
    background: #f7fafc;
    color: #38b2ac;
    text-decoration: none;
}

.account-nav-link.active {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
    font-weight: 500;
}

.account-nav-link.active i {
    color: white;
}

/* Account Cards - Matching public page cards */
.account-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.account-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.account-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-card-title i {
    color: #38b2ac;
    font-size: 1.5rem;
}

.account-card-body {
    padding: 1.5rem;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.info-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Large Desktop (≥ 1200px) */
@media (min-width: 1200px) {
    .info-card {
        padding: 2rem;
    }
    
    .account-header h1 {
        font-size: 2.5rem;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .info-card {
        padding: 1.75rem;
    }
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card-icon.primary {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
}

.info-card-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.info-card-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.info-card-icon.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.info-card-icon.secondary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

.info-card-title {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.info-card-description {
    font-size: 0.875rem;
    color: #a0aec0;
    margin: 0;
}

/* Settings List */
.settings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-label {
    font-weight: 500;
    color: #4a5568;
}

.settings-value {
    color: #1a202c;
    font-weight: 600;
}

/* Alerts - Matching public page style */
.account-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-left: 4px solid;
}

.account-alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.account-alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-alert-icon i {
    font-size: 1.25rem;
}

.account-alert-content {
    flex: 1;
}

.account-alert-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.account-alert-message {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.account-alert-message:last-child {
    margin-bottom: 0;
}

.account-alert.success {
    background: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.account-alert.success i {
    color: #10b981;
}

.account-alert.warning {
    background: #fef3c7;
    color: #92400e;
    border-left-color: #f59e0b;
}

.account-alert.warning i {
    color: #f59e0b;
}

.account-alert.danger {
    background: #fee2e2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.account-alert.danger i {
    color: #ef4444;
}

.account-alert.info {
    background: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
}

.account-alert.info i {
    color: #3b82f6;
}

.account-alert .alert-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.account-alert .alert-link:hover {
    text-decoration: none;
}

/* Badges */
.account-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1;
}

.account-badge.success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
}

.account-badge.warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

.account-badge.danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

.account-badge.info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

.account-badge.secondary {
    background-color: #e2e8f0 !important;
    color: #4a5568 !important;
}

/* Form Styles - Matching public pages */
.account-form-group {
    margin-bottom: 1.5rem;
}

.account-form-label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.account-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
    color: #1a202c;
}

.account-form-control:focus {
    outline: none;
    border-color: #38b2ac;
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.1);
}

.account-form-control:disabled {
    background: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
}

.account-form-text {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.5rem;
}

.account-form-help {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.5rem;
    display: block;
}



.account-form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.account-form-check:hover {
    background: #f7fafc;
}

.account-form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.account-form-check-input:checked {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    border-color: #38b2ac;
}

.account-form-check-label {
    flex: 1;
    cursor: pointer;
}

.account-form-check-label strong {
    display: block;
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.account-form-check-description {
    display: block;
    font-size: 0.875rem;
    color: #718096;
}

/* ============================================
   RESPONSIVE DESIGN
   Breakpoints follow Bootstrap 5 standards
   ============================================ */

/* Extra Large Desktop (≥ 1200px) */
@media (min-width: 1200px) {
    .account-container {
        max-width: 1200px;
        padding: 0 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
}

/* Large Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .account-container {
        max-width: 100%;
        padding: 0 1.25rem;
    }
}

/* Tablet & Small Desktop (≤ 991.98px) */
@media (max-width: 991.98px) {
    /* Show mobile toggle button */
    .account-nav-toggle {
        display: flex;
        pointer-events: auto;
    }
    
    /* Show close button */
    .account-nav-close {
        display: block;
    }
    
    /* Transform sidebar into slide-in menu */
    .account-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        margin: 0;
        border-radius: 0;
        padding: 3rem 1.5rem 1.5rem;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        overscroll-behavior: contain; /* Prevent scroll chaining */
        z-index: 1050;
        transition: left 0.3s ease;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    }
    
    .account-sidebar.active {
        left: 0;
    }
    
    /* Adjust navigation sections for mobile */
    .account-nav-section {
        margin-bottom: 1.5rem;
    }
    
    .account-nav-heading {
        font-size: 0.6875rem;
        margin-bottom: 0.5rem;
    }
    
    .account-nav-link {
        padding: 0.875rem 0.75rem;
        font-size: 0.9375rem;
    }
    
    .account-container {
        padding: 0 1rem;
    }
    
    .account-header h1 {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .info-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.375rem;
    }
}

/* Tablet Portrait & Large Phone (≤ 767.98px) */
@media (max-width: 767.98px) {
    .account-container {
        padding: 0 1rem;
    }
    
    .account-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }
    
    .account-header h1 {
        font-size: 1.75rem;
    }
    
    .account-header p {
        font-size: 0.9375rem;
    }
    
    .info-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .account-card {
        margin-bottom: 1.25rem;
    }
    
    .account-card-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .account-card-body {
        padding: 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .info-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }
}

/* Small Phone (≤ 575.98px) */
@media (max-width: 575.98px) {
    .account-container {
        padding: 0 0.75rem;
    }
    
    .account-header {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
    
    .account-header h1 {
        font-size: 1.375rem;
    }
    
    .account-header p {
        font-size: 0.875rem;
    }
    
    .account-card {
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .account-card-header {
        padding: 0.875rem;
    }
    
    .account-card-body {
        padding: 0.875rem;
    }
    
    .account-card-title {
        font-size: 1.125rem;
    }
    
    .info-card {
        padding: 1rem 0.875rem;
        margin-bottom: 0.875rem;
        border-radius: 10px;
    }
    
    .info-card-icon {
        width: 38px;
        height: 38px;
        font-size: 1.125rem;
    }
    
    .info-card-title {
        font-size: 0.75rem;
    }
    
    .info-card-value {
        font-size: 1.5rem;
    }
    
    .info-card-description {
        font-size: 0.75rem;
    }
}

/* Extra Small Phone (≤ 359.98px) */
@media (max-width: 359.98px) {
    .account-container {
        padding: 0 0.625rem;
    }
    
    .account-header h1 {
        font-size: 1.25rem;
    }
    
    .account-header p {
        font-size: 0.8125rem;
    }
    
    .account-card-header,
    .account-card-body {
        padding: 0.75rem;
    }
    
    .info-card {
        padding: 0.875rem 0.75rem;
    }
    
    .info-card-value {
        font-size: 1.375rem;
    }
}

/* Utility Classes */
.text-muted {
    color: #718096 !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.w-100 { width: 100% !important; }

/* Dashboard Specific Styles */

/* Referral Hero Section */
/* Referral Program - Modern & Subtle Design */
.referral-program-card {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafb 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 2rem;
}

.referral-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.referral-badge i {
    font-size: 1rem;
}

.referral-main-title {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.referral-main-description {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefit Items */
.referral-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    transition: all 0.2s ease;
    height: 100%;
}

.referral-benefit-item:hover {
    border-color: #e0f2fe;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.referral-benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 10px;
    color: #0284c7;
    font-size: 1.25rem;
}

.referral-benefit-content h4 {
    color: #1e293b;
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.referral-benefit-content p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Input Card */
.referral-input-card {
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.2s ease;
}

.referral-input-card:hover {
    border-color: #0ea5e9;
    background: #fafbfc;
}

.referral-input-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.referral-input-header i {
    color: #0ea5e9;
    font-size: 1rem;
}

/* Connected Card */
.referral-connected-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.referral-connected-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #16a34a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
}

.referral-connected-card h4 {
    color: #166534;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.referral-connected-card p {
    color: #15803d;
    font-size: 0.875rem;
    margin: 0;
}

.referral-connected-card code {
    background: white;
    color: #166534;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* CTA Card */
.referral-cta-card-new {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.referral-cta-card-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.referral-cta-card-title {
    color: #1e40af;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.referral-cta-card-title i {
    font-size: 1.25rem;
}

.referral-cta-card-description {
    color: #1e40af;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

/* Promo Code Card */
.promo-success-alert {
    background: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.promo-detail-card {
    background: #f8f9fa;
}

.promo-note-alert {
    background: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
}

/* Telegram Access Section */
.telegram-access-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1.5rem;
    color: #334155;
}

.telegram-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0088cc;
}

.telegram-title {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.telegram-description {
    color: #475569;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.telegram-stats {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.telegram-stat-item {
    text-align: center;
}

.telegram-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telegram-stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

/* Subscription Card - No Active */
.subscription-empty-icon {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.subscription-empty-title {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Telegram Benefits List */
.telegram-benefits {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.telegram-benefits-title {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.telegram-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.telegram-benefits-item {
    padding: 0.5rem 0;
    color: #4a5568;
}

.telegram-benefits-item i {
    color: #10b981;
    margin-right: 0.5rem;
}

/* Notification Item */
.notification-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.success {
    background: #d1fae5;
}

.notification-icon.success i {
    color: #10b981;
}

.notification-icon.warning {
    background: #fef3c7;
}

.notification-icon.warning i {
    color: #f59e0b;
}

.notification-icon.info {
    background: #dbeafe;
}

.notification-icon.info i {
    color: #3b82f6;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.8125rem;
    color: #a0aec0;
}

.notification-time i {
    margin-right: 0.25rem;
}

/* Activity Timeline */
.activity-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.activity-dot {
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38b2ac;
}

.activity-action {
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8125rem;
    color: #a0aec0;
}

.activity-time i {
    margin-right: 0.25rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.empty-state-title {
    color: #4a5568;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.empty-state-description {
    color: #718096;
}

/* Recovery Codes */
.recovery-codes-container {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.recovery-code {
    display: inline-block;
    background: white;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: 0.05em;
    min-width: 140px;
}

/* Payment Item */
.payment-item-label {
    display: flex;
    align-items: center;
}

.payment-item-label i {
    margin-right: 0.5rem;
}

/* Link Styles */
.link-teal {
    color: #38b2ac;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-teal:hover {
    color: #319795;
    text-decoration: none;
}

/* Referral CTA Button */
.btn-referral-cta {
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* Input uppercase */
.input-uppercase {
    text-transform: uppercase;
}

/* Referral Code Box */
.referral-code-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.referral-code-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.referral-code-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.75rem;
    display: block;
}

.referral-code-display {
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.referral-code-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    text-align: center;
    outline: none;
}

.referral-code-input:first-child {
    font-size: 1.125rem;
}

.referral-code-hint {
    font-size: 0.8125rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.referral-code-hint i {
    font-size: 0.875rem;
}

/* Referral Contact Cards */
.referral-contact-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.referral-contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.referral-contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.referral-contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.referral-contact-info {
    flex: 1;
    min-width: 0;
}

.referral-contact-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.referral-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #718096;
}

.referral-contact-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.referral-contact-status {
    flex-shrink: 0;
}

.referral-contact-body {
    padding: 1.25rem;
}

.referral-contact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.referral-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.referral-stat-label {
    font-size: 0.75rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.referral-stat-value {
    font-size: 0.9375rem;
    color: #1a202c;
    font-weight: 500;
}

.referral-contact-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Referral Steps */
.referral-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.referral-step {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-left: 2px solid #e2e8f0;
    margin-left: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.referral-step:last-child {
    border-left-color: transparent;
}

.referral-step-number {
    position: absolute;
    left: -1.125rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(56, 178, 172, 0.3);
}

.referral-step-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.referral-step-content p {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Rewards List */
.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.reward-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
}

.reward-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.reward-details {
    flex: 1;
    min-width: 0;
}

.reward-amount {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9375rem;
}

.reward-date {
    font-size: 0.8125rem;
    color: #718096;
    margin-top: 0.125rem;
}

.reward-status {
    flex-shrink: 0;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .account-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .referral-hero {
        padding: 2rem 1.5rem;
    }
    
    .referral-hero-title {
        font-size: 1.5rem;
    }
    
    .referral-hero-description {
        font-size: 1rem;
    }
    
    .referral-steps {
        flex-direction: column;
    }

    .referral-contact-header {
        flex-wrap: wrap;
    }

    .referral-contact-status {
        width: 100%;
        margin-top: 0.5rem;
    }

    .referral-contact-stats {
        grid-template-columns: 1fr;
    }
}

/* Phone Verification Styles */
.phone-verification-icon {
    width: 80px;
    height: 80px;
}

.phone-verification-icon i {
    font-size: 2.5rem;
}

@media (max-width: 576px) {
    .account-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .referral-hero {
        padding: 1.5rem 1rem;
    }
    
    .referral-hero-icon {
        font-size: 3rem;
    }
    
    .referral-hero-title {
        font-size: 1.25rem;
    }

    .reward-item {
        flex-wrap: wrap;
    }

    .reward-status {
        width: 100%;
        margin-top: 0.5rem;
    }
}
