/* Premium Corporate User Dashboard Styles */
:root {
    --primary: #4F46E5;
    --primary-light: #6366F1;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --blue: #3B82F6;
    --orange: #F97316;
    --green: #10B981;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
}

/* Prevent transitions during theme switch */
[data-theme-changing] *,
[data-theme-changing] *::before,
[data-theme-changing] *::after {
    transition: none !important;
}

/* Top Navigation */
.top-nav {
    background: var(--surface-bg, white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-icon svg {
    display: block;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--gray-50);
}

.nav-btn.logout-btn:hover {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: var(--danger);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--surface-bg, white);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.theme-icon {
    position: absolute;
    transition: all 0.3s ease;
    color: var(--gray-900);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--gray-200);
    border-color: var(--primary);
}

[data-theme="dark"] .theme-icon {
    color: var(--gray-900);
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.content-wrapper {
    max-width: 100%;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.welcome-title span {
    color: var(--primary);
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--gray-500);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.stat-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-value.orange {
    color: var(--orange);
}

.stat-value.green {
    color: var(--green);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.action-btn {
    position: relative;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--surface-bg, white);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
}

.action-btn svg {
    flex-shrink: 0;
}

.action-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.action-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.action-btn.primary:hover {
    background: var(--primary-light);
}

.action-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Recent Section */
.recent-section {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    background: var(--gray-50);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Transactions */
.transactions-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    transition: all 0.2s;
}

.transaction-item:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.transaction-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.transaction-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.brand-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
}

.transaction-date {
    font-size: 12px;
    color: var(--gray-500);
}

.transaction-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
}

.status-pending {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
}

.status-approved {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.status-paid {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.empty-state svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 14px;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: var(--surface-bg, white);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.close-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.close-btn:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.balance-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    color: var(--gray-900);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-cancel:hover {
    background: var(--gray-50);
}

.btn-submit {
    background: var(--primary);
    color: white;
}

.btn-submit:hover {
    background: var(--primary-light);
}

/* Wallet Page Styles */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.page-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.wallet-balance-card {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.balance-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.balance-amount {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.balance-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-label {
    font-size: 13px;
    opacity: 0.85;
}

.breakdown-value {
    font-size: 24px;
    font-weight: 700;
}

.balance-info {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.5;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.wallet-tab {
    padding: 0.625rem 1.25rem;
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.wallet-tab:hover {
    background: var(--gray-50);
}

.wallet-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.wallet-section {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.wallet-section:last-child {
    margin-bottom: 0;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wallet-transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    transition: all 0.2s;
}

.wallet-transaction-item:hover {
    background: var(--gray-50);
}

.transaction-info {
    flex: 1;
}

.transaction-brand {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 15px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    font-size: 11px;
}

.transaction-meta {
    display: flex;
    gap: 1rem;
    font-size: 13px;
    color: var(--gray-500);
}

.transaction-type {
    font-style: italic;
}

.transaction-amount-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.transaction-amount.withdrawal {
    color: var(--danger);
}

.status-badge-small {
    padding: 0.125rem 0.625rem;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: lowercase;
}

.status-badge-small.status-pending {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
}

.status-badge-small.status-approved {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.status-badge-small.status-cancelled,
.status-badge-small.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.empty-state-small {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray-500);
    font-size: 14px;
}

/* Withdrawal Page Styles */
.withdraw-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.withdraw-header {
    margin-bottom: 2rem;
}

.withdraw-balance-card {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    display: flex;
    flex-direction: column;
}

.withdraw-balance-card .balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.withdraw-balance-card .balance-header svg {
    opacity: 0.7;
}

.withdraw-balance-card .balance-amount {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0;
}

.withdraw-form-container {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section label {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-size: 15px;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-500);
    pointer-events: none;
}

.amount-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.5rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.amount-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-hint {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.form-hint .highlight {
    color: var(--danger);
    font-weight: 600;
}

.payment-method-tabs {
    display: flex;
    gap: 1rem;
}

.payment-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    background: var(--surface-bg, white);
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-tab:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.payment-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.payment-details {
    margin-top: 2rem;
}

.details-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.info-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.25rem;
    margin: 2rem 0;
}

.info-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

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

.info-list li {
    font-size: 13px;
    color: var(--gray-700);
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.form-footer-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.submit-withdrawal-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-withdrawal-btn:hover:not(:disabled) {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.submit-withdrawal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nav-btn.active {
    background: var(--gray-50);
    border-color: var(--primary);
}

.error-message-inline {
    display: block;
    color: var(--danger);
    font-size: 12px;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .welcome-title {
        font-size: 24px;
    }

    .stat-value {
        font-size: 28px;
    }
}

/* ============================================
   WALLET LEDGER STYLES
   ============================================ */

.ledger-item {
    border-left: 3px solid var(--gray-200);
}

.ledger-item:hover {
    border-left-color: var(--primary);
}

.ledger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ledger-icon.ledger-credit {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.ledger-icon.ledger-debit {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.ledger-credit {
    color: var(--success) !important;
}

.ledger-debit {
    color: var(--danger) !important;
}

.ledger-description {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 0.25rem;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ledger-balance {
    font-size: 11px;
    color: var(--gray-400);
    text-align: right;
    margin-top: 0.125rem;
}

/* Confirmed status badge */
.status-confirmed {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

/* Rejection Reason (shown to user) */
.rejection-reason {
    margin-top: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(239, 68, 68, 0.06);
    border-left: 3px solid var(--danger);
    border-radius: 0 4px 4px 0;
    font-size: 12px;
    color: var(--danger);
    line-height: 1.4;
}

.rejection-reason strong {
    color: #B91C1C;
}

/* Cashback Description (shown to user) */
.cashback-description {
    margin-top: 0.25rem;
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Rejected transaction item */
.rejected-item {
    border-left: 3px solid var(--danger);
    background: rgba(239, 68, 68, 0.02);
}

.rejected-amount {
    color: var(--danger) !important;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Desktop: hide mobile-only navigation elements */
.user-menu-toggle {
    display: none;
}

.mobile-drawer {
    display: none;
}

/* ========================================
   RESPONSIVE DESIGN — Tablet (768px)
   ======================================== */
@media (max-width: 768px) {

    /* Navigation — hide all nav buttons on mobile, use hamburger drawer instead */
    .nav-links {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-container {
        padding: 0 1rem;
        height: 56px;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-btn {
        display: none;
    }

    /* Hamburger Toggle Button */
    .user-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        padding: 6px;
        gap: 4px;
        transition: all 0.2s;
        order: 10;
        margin-left: 0.25rem;
        flex-shrink: 0;
    }

    .user-menu-toggle:hover {
        background: var(--bg-secondary);
    }

    .user-menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .user-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .user-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .user-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Mobile Drawer */
    .mobile-drawer {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
    }

    .mobile-drawer.open {
        display: block;
    }

    .mobile-drawer-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
    }

    .mobile-drawer-content {
        position: relative;
        background: var(--surface-bg, #ffffff);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        animation: slideDown 0.25s ease;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-10px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .mobile-drawer-section {
        margin-bottom: 1rem;
    }

    .mobile-drawer-section:last-child {
        margin-bottom: 0;
    }

    .mobile-drawer-label {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-light);
        padding: 0 0.75rem;
        margin-bottom: 0.5rem;
    }

    .mobile-drawer-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        transition: background 0.15s;
    }

    .mobile-drawer-link:hover,
    .mobile-drawer-link:active {
        background: var(--bg-secondary);
    }

    .mobile-drawer-link svg {
        width: 20px;
        height: 20px;
        color: var(--text-light);
        flex-shrink: 0;
    }

    .mobile-drawer-link.active-link {
        background: var(--primary);
        color: white;
    }

    .mobile-drawer-link.active-link svg {
        color: white;
    }

    .mobile-drawer-link.danger {
        color: #EF4444;
    }

    .mobile-drawer-link.danger svg {
        color: #EF4444;
    }

    .mobile-drawer-divider {
        height: 1px;
        background: var(--border);
        margin: 0.75rem 0;
    }

    /* Main Container */
    .main-container {
        padding: 1.5rem 1rem;
    }

    /* Welcome */
    .welcome-title {
        font-size: 22px;
    }

    .welcome-subtitle {
        font-size: 13px;
    }

    /* Stats Grid — single column */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 26px;
    }

    /* Action Buttons — single column */
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .action-btn {
        padding: 1rem 1.25rem;
    }

    /* Recent Section */
    .recent-section {
        padding: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Filter Tabs — horizontal scroll */
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
        width: 100%;
    }

    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Transactions */
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .transaction-right {
        width: 100%;
        justify-content: space-between;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Wallet Page */
    .page-title {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .wallet-balance-card {
        padding: 1.5rem;
    }

    .balance-amount {
        font-size: 32px;
    }

    .balance-breakdown {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .breakdown-value {
        font-size: 20px;
    }

    /* Wallet Tabs — horizontal scroll */
    .wallet-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    .wallet-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Wallet Transaction Items */
    .wallet-transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .transaction-amount-status {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    /* Withdraw Page */
    .withdraw-wrapper {
        max-width: 100%;
    }

    .withdraw-balance-card {
        padding: 1.25rem;
    }

    .withdraw-balance-card .balance-amount {
        font-size: 32px;
    }

    .withdraw-form-container {
        padding: 1.25rem;
    }

    .balance-display {
        font-size: 24px;
    }
}

/* ========================================
   RESPONSIVE DESIGN — Mobile (480px)
   ======================================== */
@media (max-width: 480px) {

    .nav-container {
        padding: 0 0.75rem;
    }

    .logo-text {
        font-size: 15px;
    }

    .main-container {
        padding: 1rem 0.75rem;
    }

    .welcome-title {
        font-size: 20px;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-header {
        margin-bottom: 0.5rem;
    }

    .action-btn {
        padding: 0.875rem 1rem;
        font-size: 14px;
    }

    .section-title {
        font-size: 16px;
    }

    .page-title {
        font-size: 20px;
    }

    .balance-amount {
        font-size: 28px;
    }

    .balance-breakdown {
        grid-template-columns: 1fr;
    }

    .withdraw-balance-card .balance-amount {
        font-size: 28px;
    }

    .balance-display {
        font-size: 20px;
    }

    .modal-content {
        width: 98%;
        padding: 1.25rem;
    }

    /* Payment method tabs — stack vertically on small screens */
    .payment-method-tabs {
        flex-direction: column;
    }

    /* Profile field — stack label and value vertically */
    .profile-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .profile-field-value {
        text-align: left;
    }

    /* Wallet transaction meta — wrap on small screens */
    .transaction-meta {
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    /* Ledger description — allow wrapping */
    .ledger-description {
        white-space: normal;
    }
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */

/* Profile Header Card */
.profile-header-card {
    position: relative;
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.profile-header-bg {
    height: 120px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #6366F1 100%);
    position: relative;
}

.profile-header-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.2), transparent);
}

.profile-header-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 2rem 2rem;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-status-badge {
    position: absolute;
    bottom: 4px;
    right: -4px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid white;
}

.profile-status-badge.active {
    background: #D1FAE5;
    color: #065F46;
}

.profile-status-badge.suspended {
    background: #FEE2E2;
    color: #991B1B;
}

.profile-status-badge.deactivated {
    background: var(--gray-200);
    color: var(--gray-600);
}

.profile-header-info {
    flex: 1;
    padding-top: 58px;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.profile-email {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.profile-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 13px;
    color: var(--gray-500);
}

.profile-meta-item svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

/* Profile Stats Grid */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-stat-item {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.profile-stat-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.profile-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.profile-stat-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
}

.profile-stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.profile-stat-icon.purple {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.profile-stat-detail {
    display: flex;
    flex-direction: column;
}

.profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.profile-stat-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Profile Sections Grid */
.profile-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Profile Section (Card) */
.profile-section {
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.profile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.profile-section-title svg {
    color: var(--primary);
}

.profile-section-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.profile-edit-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.profile-edit-btn:hover {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--primary);
}

/* Profile Fields (View Mode) */
.profile-fields {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.profile-field:last-child {
    border-bottom: none;
}

.profile-field-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.profile-field-value {
    font-size: 14px;
    color: var(--gray-900);
    font-weight: 600;
    text-align: right;
}

/* Profile Edit Mode */
.profile-edit-mode {
    gap: 0;
}

.profile-form-group {
    margin-bottom: 1.25rem;
}

.profile-form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
    font-size: 13px;
}

.profile-form-group label .required {
    color: var(--danger);
}

.profile-form-group input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    transition: all 0.2s;
    background: var(--surface-bg, white);
}

.profile-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.profile-form-group input:disabled,
.profile-form-group input:read-only {
    background: var(--gray-50);
    color: var(--gray-500);
    cursor: not-allowed;
}

.field-error {
    display: none;
    color: var(--danger);
    font-size: 12px;
    font-weight: 500;
    margin-top: 0.25rem;
}

.field-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.profile-form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-profile-cancel {
    flex: 1;
    padding: 0.625rem 1rem;
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-profile-cancel:hover {
    background: var(--gray-50);
}

.btn-profile-save {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-profile-save:hover:not(:disabled) {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-profile-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Security Note */
.payment-security-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.payment-security-note svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Account Actions */
.profile-actions-section {
    margin-bottom: 2rem;
}

.profile-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-action-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--surface-bg, white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.profile-action-item:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.profile-action-item.danger:hover {
    background: #FEF2F2;
    border-color: #FECACA;
}

.profile-action-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    flex-shrink: 0;
}

.profile-action-icon.danger {
    background: #FEE2E2;
    color: var(--danger);
}

.profile-action-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.profile-action-desc {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.profile-action-item>svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

/* Deactivation Modal */
.deactivate-modal {
    max-width: 480px;
}

.deactivate-warning {
    text-align: center;
    padding: 1rem 0;
}

.deactivate-warning svg {
    color: var(--warning);
    margin-bottom: 1rem;
}

.deactivate-warning h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.deactivate-warning p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.deactivate-warning ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.deactivate-warning ul li {
    font-size: 13px;
    color: var(--gray-700);
    padding: 0.375rem 0 0.375rem 1.5rem;
    position: relative;
}

.deactivate-warning ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
    font-size: 12px;
}

.deactivate-reassure {
    font-size: 13px !important;
    color: var(--green) !important;
    font-weight: 500;
}

.deactivate-confirm-field {
    margin-top: 1rem;
}

.deactivate-confirm-field label {
    display: block;
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.deactivate-confirm-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--danger);
    transition: border-color 0.2s;
}

.deactivate-confirm-field input:focus {
    outline: none;
    border-color: var(--danger);
}

.btn-danger {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: var(--danger);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover:not(:disabled) {
    background: #DC2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 420px;
    padding: 0.875rem 1rem;
    background: var(--surface-bg, white);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--gray-300);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: var(--green);
}

.toast-error {
    border-left-color: var(--danger);
}

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

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    color: var(--green);
}

.toast-error .toast-icon {
    color: var(--danger);
}

.toast-warning .toast-icon {
    color: var(--warning);
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.toast-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* ============================================
   PROFILE PAGE — RESPONSIVE (768px)
   ============================================ */
@media (max-width: 768px) {
    .profile-header-bg {
        height: 80px;
    }

    .profile-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1.25rem 1.5rem;
        margin-top: -40px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

    .profile-header-info {
        padding-top: 0.5rem;
    }

    .profile-name {
        font-size: 20px;
    }

    .profile-meta {
        justify-content: center;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .profile-stat-item {
        padding: 1rem;
    }

    .profile-stat-value {
        font-size: 18px;
    }

    .profile-sections-grid {
        grid-template-columns: 1fr;
    }

    .toast-container {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* ============================================
   PROFILE PAGE — RESPONSIVE (480px)
   ============================================ */
@media (max-width: 480px) {
    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-stat-item {
        padding: 0.875rem;
    }

    .profile-stat-value {
        font-size: 16px;
    }

    .profile-section {
        padding: 1.25rem;
    }

    .profile-form-actions {
        flex-direction: column;
    }

    .btn-profile-cancel,
    .btn-profile-save {
        flex: auto;
    }

    .profile-action-item {
        padding: 0.875rem 1rem;
    }

    .profile-action-desc {
        display: none;
    }

    .deactivate-modal {
        width: 95%;
    }
}