/* ===== BACKGROUND GRADIENTS ===== */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaed 100%);
}

.dashboard-main {
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
}

/* ===== NAVIGATION FULL WIDTH FIX ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-bottom: 1px solid #e8eaed;
    border-radius: 12px 12px 0 0;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-left h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f7931a 0%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-left h2 i {
    -webkit-text-fill-color: #f7931a;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* ===== SIDEBAR NAV FULL SPREAD ===== */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    color: #5f6368;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-nav a span {
    flex: 1;
}

.sidebar-nav a i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-nav a:hover {
    background: linear-gradient(135deg, rgba(247,147,26,0.08) 0%, rgba(247,147,26,0.02) 100%);
    color: #1a1a1a;
    transform: translateX(4px);
}

.sidebar-nav a.active {
    background: linear-gradient(135deg, rgba(247,147,26,0.12) 0%, rgba(247,147,26,0.04) 100%);
    color: #f7931a;
    font-weight: 600;
    border-right: 3px solid #f7931a;
}

/* ===== SIDEBAR HEADER ===== */
.sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid #e8eaed;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 24px;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --sidebar-width: 260px;
    --primary: #f7931a;
    --primary-dark: #d67d12;
    --primary-light: rgba(247,147,26,0.1);
    --primary-gradient: linear-gradient(135deg, #f7931a 0%, #f5a623 100%);
    --dark-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f0f2f5;
    color: #1a1a1a;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 1px solid #e8eaed;
    padding: 24px 16px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 24px;
}

.sidebar-logo img { height: 36px; width: auto; }
.sidebar-close { display: none; background: none; border: none; font-size: 1.5rem; color: #5f6368; cursor: pointer; padding: 8px; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #5f6368;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    font-weight: 500;
}
.sidebar-nav a:hover { background: #f0f2f5; color: #1a1a1a; }
.sidebar-nav a.active { background: rgba(247,147,26,0.08); color: #f7931a; }
.sidebar-nav a i { width: 22px; text-align: center; font-size: 1.1rem; }

.sidebar-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; }

/* ===== MAIN CONTENT ===== */
.dashboard-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 24px 32px;
    transition: margin-left 0.3s ease;
    background: #f0f2f5;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 32px;
}

.header-left { display: flex; align-items: center; gap: 16px; }
.hamburger-btn { display: none; background: none; border: none; font-size: 1.5rem; color: #1a1a1a; cursor: pointer; padding: 8px; }
.header-left h2 { font-size: 1.5rem; font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 20px; }

.notification-badge { position: relative; cursor: pointer; }
.notification-badge i { font-size: 1.4rem; color: #5f6368; transition: all 0.2s ease; }
.notification-badge i:hover { color: #f7931a; }
.badge-dot { position: absolute; top: -2px; right: -4px; width: 8px; height: 8px; background: #dc3545; border-radius: 50%; border: 2px solid #fff; }

.user-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: #f7931a;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    color: #ffffff; cursor: pointer; transition: all 0.2s ease;
}
.user-avatar:hover { transform: scale(1.05); }

/* ===== PAGE CONTENT ===== */
.page-content { display: none; }
.page-content.active { display: block; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-badge.online { background: rgba(40,167,69,0.15); color: #28a745; }
.status-badge.offline { background: rgba(220,53,69,0.15); color: #dc3545; }
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== WELCOME CARD ===== */
.welcome-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}
.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247,147,26,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.welcome-card h2 { font-size: 1.8rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 700; position: relative; z-index: 1; }
.welcome-card p { color: #5f6368; font-size: 1rem; position: relative; z-index: 1; }

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: #f7931a;
}
.stat-card h4 { color: #5f6368; font-size: 0.85rem; margin-bottom: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px; }
.stat-card h4 i { color: #f7931a; margin-right: 8px; }
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f7931a 0%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.quick-actions h4 { margin-bottom: 16px; color: #5f6368; font-weight: 500; }
.quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.quick-action-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    color: #1a1a1a;
}
.quick-action-btn:hover {
    border-color: #f7931a;
    background: rgba(247,147,26,0.05);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.quick-action-btn i { color: #f7931a; }

/* ===== LIVE CHAT CTA ===== */
.live-chat-cta {
    background: var(--dark-gradient);
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 32px;
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
}
.live-chat-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247,147,26,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.live-chat-cta-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.live-dot {
    width: 12px; height: 12px; background: #28a745; border-radius: 50%;
    animation: live-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(40,167,69,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(40,167,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(40,167,69,0); }
}
.live-chat-cta-content h4 { color: #ffffff; font-size: 1rem; margin-bottom: 2px; }
.live-chat-cta-content p { color: #cccccc; font-size: 0.9rem; }
.live-chat-cta-content .btn { margin-left: auto; padding: 10px 24px; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }

/* ===== ANNOUNCEMENTS ===== */
.announcements-section {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.announcements-section h3 { margin-bottom: 16px; font-size: 1.1rem; }
.announcements-section h3 i { color: #f7931a; margin-right: 8px; }
.announcement-item { padding: 12px 0; border-bottom: 1px solid #e8eaed; }
.announcement-item:last-child { border-bottom: none; }
.announcement-item strong { display: block; color: #1a1a1a; }
.announcement-item p { color: #5f6368; margin: 4px 0; }
.announcement-item small { color: #9aa0a6; font-size: 0.8rem; }

/* ===== CHAT ===== */
.chat-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.chat-header-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid #e8eaed;
    background: #f8f9fa;
}
.chat-user-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: #f7931a; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.chat-user-name { font-weight: 600; font-size: 0.95rem; }
.chat-user-status { font-size: 0.75rem; color: #5f6368; display: flex; align-items: center; gap: 4px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.online { background: #28a745; }
.status-dot.offline { background: #dc3545; }
.chat-actions button { background: none; border: none; color: #5f6368; cursor: pointer; padding: 6px 10px; border-radius: 8px; transition: all 0.2s ease; }
.chat-actions button:hover { background: #f0f2f5; color: #1a1a1a; }

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 16px 20px;
    background: #eef2f5;
    display: flex;
    flex-direction: column;
}
.chat-date-divider { text-align: center; padding: 12px 0; }
.chat-date-divider span { background: rgba(0,0,0,0.06); padding: 4px 16px; border-radius: 50px; font-size: 0.75rem; color: #5f6368; }
.chat-message { display: flex; margin-bottom: 12px; }
.chat-message.sent { justify-content: flex-end; }
.chat-message.received { justify-content: flex-start; }
.chat-message .message-content {
    max-width: 75%;
    padding: 10px 16px;
    border-radius: 14px;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.5;
}
.chat-message.sent .message-content { background: var(--primary-gradient); color: #ffffff; border-bottom-right-radius: 4px; }
.chat-message.received .message-content { background: #f0f2f5; color: #1a1a1a; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.chat-message .message-content strong { font-weight: 600; font-size: 0.85rem; }
.chat-message .message-time { font-size: 0.6rem; opacity: 0.6; margin-top: 4px; display: block; text-align: right; }

.chat-input-area {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid #e8eaed;
    gap: 10px;
    background: #ffffff;
    align-items: center;
}
.chat-input-area input {
    flex: 1; padding: 12px 20px; border-radius: 50px;
    border: 1.5px solid #e8eaed;
    background: #f5f6f8;
    color: #1a1a1a;
    font-size: 0.95rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.chat-input-area input:focus { border-color: #f7931a; background: #ffffff; }
.chat-input-area button {
    padding: 12px 24px; background: var(--primary-gradient); border: none;
    border-radius: 50px; color: #ffffff; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.chat-input-area button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247,147,26,0.3);
}
.emoji-btn { background: none !important; border: none !important; font-size: 1.3rem; color: #5f6368; cursor: pointer; padding: 8px; }
.emoji-picker { padding: 8px 12px; border-top: 1px solid #e8eaed; display: flex; flex-wrap: wrap; gap: 4px; background: #ffffff; }
.emoji-picker span { font-size: 1.3rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: all 0.2s ease; }
.emoji-picker span:hover { background: #f0f2f5; }

/* ===== RECOVERY FORM ===== */
#recovery-form {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}
#recovery-status-list {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ===== HISTORY ===== */
.history-item {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #e8eaed;
    background: #ffffff;
    transition: all 0.3s ease;
}
.history-item:hover {
    border-color: #f7931a;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.history-item:last-child { margin-bottom: 0; }
.history-item .status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-pending { background: #ffc107; color: #111; }
.status-under-review { background: #17a2b8; color: #fff; }
.status-need-more-information { background: #fd7e14; color: #fff; }
.status-completed { background: #28a745; color: #fff; }
.status-rejected { background: #dc3545; color: #fff; }
.history-item .date { color: #9aa0a6; font-size: 0.8rem; }

/* ===== PROFILE ===== */
.profile-info {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.profile-info p { padding: 8px 0; border-bottom: 1px solid #e8eaed; }
.profile-info p:last-child { border-bottom: none; }
.profile-info strong { color: #5f6368; font-weight: 500; }
.profile-info p i { color: #f7931a; width: 20px; margin-right: 8px; }

#profile-form {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

/* ===== WALLET ===== */
.wallet-container { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wallet-balance-card {
    background: var(--dark-gradient);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
}
.wallet-balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247,147,26,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.wallet-balance-card h4 { color: #888888; font-weight: 500; margin-bottom: 8px; position: relative; z-index: 1; }
.wallet-amount { font-size: 3rem; font-weight: 800; color: #ffffff; position: relative; z-index: 1; }
.wallet-balance-card small { color: #888888; font-size: 0.85rem; position: relative; z-index: 1; }

/* Wallet Actions */
.wallet-actions-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.wallet-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-radius: 14px;
    border: 2px solid #e8eaed;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}
.wallet-action-btn i { font-size: 2rem; }
.wallet-action-btn span { font-weight: 600; font-size: 0.95rem; }
.wallet-action-btn.send-btn {
    border-color: #f7931a;
    background: rgba(247,147,26,0.05);
}
.wallet-action-btn.send-btn:hover {
    background: rgba(247,147,26,0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(247,147,26,0.2);
}
.wallet-action-btn.send-btn i { color: #f7931a; }
.wallet-action-btn.withdraw-btn {
    border-color: #28a745;
    background: rgba(40,167,69,0.05);
}
.wallet-action-btn.withdraw-btn:hover {
    background: rgba(40,167,69,0.12);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(40,167,69,0.2);
}
.wallet-action-btn.withdraw-btn i { color: #28a745; }

.wallet-transactions {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    grid-column: 1 / -1;
}
.wallet-transactions h3 { margin-bottom: 16px; }
.wallet-transactions h3 i { color: #f7931a; margin-right: 8px; }
.no-transactions { color: #5f6368; text-align: center; padding: 20px 0; }
.transaction-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e8eaed; }
.transaction-item:last-child { border-bottom: none; }
.transaction-amount.positive { color: #28a745; }
.transaction-amount.negative { color: #dc3545; }

/* ===== SETTINGS ===== */
.settings-container { display: grid; gap: 24px; }
.settings-card { background: #ffffff; padding: 24px; border-radius: 16px; border: 1px solid #e8eaed; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.settings-card h3 { margin-bottom: 16px; }
.settings-card h3 i { color: #f7931a; margin-right: 8px; }
.setting-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #e8eaed; }
.setting-item:last-child { border-bottom: none; }

.switch { position: relative; width: 50px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; transition: 0.3s; border-radius: 28px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background: #fff; transition: 0.3s; border-radius: 50%; }
.switch input:checked + .slider { background: #f7931a; }
.switch input:checked + .slider:before { transform: translateX(22px); }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: #4a4a4a; }
.form-group label i { color: #f7931a; margin-right: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #e8eaed;
    background: #f8f9fa;
    color: #1a1a1a;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #f7931a;
    outline: none;
    box-shadow: 0 0 0 4px rgba(247,147,26,0.1);
    background: #ffffff;
}

/* ===== BUTTONS ===== */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 28px;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.3s ease;
}
.btn:hover::after { opacity: 1; }
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(247,147,26,0.35);
    color: #ffffff;
}
.btn i { margin-right: 8px; }

/* ===== MODALS ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { transform: translateY(-30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: #1a1a1a; }
.modal-box p { color: #5f6368; font-size: 0.95rem; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; }
.modal-actions .btn { flex: 1; text-align: center; padding: 12px 20px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: 'Inter', sans-serif; }
.modal-actions .btn-primary { background: #f7931a; color: #ffffff; }
.modal-actions .btn-primary:hover { background: #d67d12; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(247,147,26,0.3); }
.modal-actions .btn-secondary { background: #f0f2f5; color: #1a1a1a; }
.modal-actions .btn-secondary:hover { background: #e8eaed; }

.qr-container { text-align: center; }
.qr-container img { max-width: 150px; border-radius: 10px; border: 1px solid #e8eaed; padding: 8px; }
.qr-address { font-size: 0.75rem; color: #5f6368; word-break: break-all; margin: 8px 0; background: #f0f2f5; padding: 8px; border-radius: 8px; }

/* ===== NOTIFICATION TOAST ===== */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 16px 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    min-width: 280px;
    border-left: 4px solid var(--primary);
    animation: slideInRight 0.5s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(40,167,69,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-icon i { color: #28a745; font-size: 1.4rem; }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.95rem; color: #1a1a1a; }
.toast-message { font-size: 0.85rem; color: #5f6368; margin-top: 2px; }
.toast-close { background: none; border: none; color: #9aa0a6; cursor: pointer; padding: 4px; font-size: 1rem; transition: all 0.2s ease; }
.toast-close:hover { color: #1a1a1a; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f2f5; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #f7931a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #d67d12; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wallet-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        padding: 16px;
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-close { display: block; }
    .sidebar-overlay.active { display: block; }
    .dashboard-main {
        margin-left: 0;
        padding: 16px;
        min-height: 100vh;
    }
    .hamburger-btn { display: block; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .live-chat-cta-content { flex-direction: column; text-align: center; }
    .live-chat-cta-content .btn { margin-left: 0; width: 100%; }
    .chat-message .message-content { max-width: 85%; }
    .header-left h2 { font-size: 1.2rem; }
    .welcome-card h2 { font-size: 1.4rem; }
    #recovery-form, #profile-form { padding: 20px; }
    .wallet-balance-card { padding: 20px; }
    .wallet-amount { font-size: 2rem; }
    .wallet-actions-buttons { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .dashboard-main { padding: 12px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 16px; }
    .stat-value { font-size: 1.4rem; }
    .quick-actions-grid { grid-template-columns: 1fr; }
    .header-left h2 { font-size: 1rem; }
    .header-left h2 i { display: none; }
    .chat-messages { height: 300px; padding: 12px; }
    .chat-input-area { flex-wrap: wrap; }
    .chat-input-area input { flex: 1 1 100%; order: 1; }
    .chat-input-area button { order: 2; flex: 1; }
    .wallet-balance-card { padding: 16px; }
    .wallet-amount { font-size: 1.6rem; }
    .settings-card { padding: 16px; }
    .setting-item { flex-wrap: wrap; gap: 8px; }
    .profile-info { padding: 16px; }
    .welcome-card { padding: 20px; }
    .welcome-card h2 { font-size: 1.2rem; }
    .wallet-actions-buttons { grid-template-columns: 1fr; }
    .modal-box { padding: 20px; margin: 10px; }
    .modal-actions { flex-direction: column; }
    .notification-toast { top: 10px; right: 10px; left: 10px; min-width: auto; max-width: none; padding: 14px 16px; }
    #page-history #transaction-history,
    #page-history #history-list { padding: 10px 12px; }
    #page-history .transaction-item { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0; }
}

/* Fix for history tab */
#page-history h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f2f5;
}
#page-history h3 i { color: #f7931a; margin-right: 8px; }
#page-history #transaction-history,
#page-history #history-list {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8eaed;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
#page-history .no-transactions { color: #9aa0a6; text-align: center; padding: 24px 0; font-size: 0.95rem; }