/* ========================================
   SPARK X - COMPLETE WHITE THEME
   All Pages Styling with Animations
   ======================================== */

/* Root Variables */
:root {
    --primary-green: #10b981;
    --dark-green: #059669;
    --light-green: #34d399;
    --gradient-green: linear-gradient(135deg, #10b981, #059669);
    --glow-green: #10b981;
    
    /* White Theme Colors */
    --bg-white: #ffffff;
    --card-white: #ffffff;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    
    /* Status Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 25px 40px -12px rgba(0, 0, 0, 0.5);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --pop-scale: scale(0.97);
    --pop-scale-light: scale(0.98);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-white) !important;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 14px;
    min-height: 100vh;
    padding-bottom: 80px; /* Space for bottom nav */
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 16px 16px 20px;
}

/* ===== HEADER (Same on all pages) ===== */
.header {
    background: var(--card-white);
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--card-white);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 35px;
    width: auto;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.3);
}

/* Navigation Icons */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-icon {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    position: relative;
    transition: all var(--transition-fast);
    padding: 4px 8px;
    border-radius: 40px;
}

.nav-icon i {
    font-size: 22px;
    margin-bottom: 2px;
    transition: transform var(--transition-fast);
}

/* Pop Animation for Nav Icons */
.nav-icon:active {
    transform: var(--pop-scale);
    background: rgba(16, 185, 129, 0.1);
}

.nav-icon:active i {
    transform: scale(1.1);
}

.nav-icon.active {
    color: var(--primary-green);
    font-weight: 500;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--card-white);
    animation: pulse 2s infinite;
}

/* ===== BOTTOM NAVIGATION (Fixed on all pages) ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-white);
    display: flex;
    justify-content: space-around;
    padding: 8px 12px 12px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 2px solid var(--card-white);
}

.bottom-nav-item {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 40px;
    transition: all var(--transition-fast);
}

.bottom-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
    transition: transform var(--transition-fast);
}

/* Pop Animation for Bottom Nav */
.bottom-nav-item:active {
    transform: var(--pop-scale);
    background: rgba(16, 185, 129, 0.1);
}

.bottom-nav-item:active i {
    transform: scale(1.2);
}

.bottom-nav-item.active {
    color: var(--primary-green);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.08);
}

/* ===== CARDS (White with White Border & Black Shadow) ===== */
.card,
.balance-card,
.plan-card,
.list-item,
.alert,
.modal-content,
.investment-card,
.transaction-card,
.referral-card,
.profile-card,
.settings-card,
.support-card,
.withdraw-card,
.deposit-card,
.auth-card,
.stats-card,
.notification-card,
.team-card,
.commission-card,
.history-card,
.document-card,
.kyc-card,
.wallet-card,
.payment-card,
.reward-card,
.bonus-card,
.activity-card,
.message-card,
.chat-card,
.faq-card,
.terms-card,
.privacy-card,
.about-card,
.contact-card {
    background: var(--card-white) !important;
    border-radius: 24px;
    padding: 18px 16px;
    margin-bottom: 16px;
    border: 2px solid var(--card-white) !important;
    box-shadow: var(--shadow) !important;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Card Hover/Pop Effect */
.card:active,
.balance-card:active,
.plan-card:active,
.list-item:active,
.investment-card:active,
.transaction-card:active,
.referral-card:active,
.stats-card:active,
.notification-card:active,
.wallet-card:active {
    transform: var(--pop-scale-light);
    box-shadow: var(--shadow-lg) !important;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 3px;
}

/* ===== BALANCE CARDS ===== */
.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.balance-card {
    text-align: center;
    padding: 20px 12px;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.balance-card:active::before {
    opacity: 1;
}

.balance-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    animation: countUp 1s ease-out;
}

.balance-amount small {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: normal;
}

/* ===== BUTTONS with POP Animation ===== */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border: 2px solid var(--card-white);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    background: var(--card-white);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:active {
    transform: var(--pop-scale);
    box-shadow: var(--shadow);
}

.btn:active::after {
    animation: ripple 0.6s ease-out;
}

/* Button Variants */
.btn-sparkx {
    background: var(--gradient-green);
    color: white;
    border: 2px solid var(--card-white);
}

.btn-sparkx:active {
    box-shadow: 0 0 25px var(--glow-green);
    background: linear-gradient(135deg, #059669, #10b981);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--card-white);
    color: var(--text-dark);
    background: var(--card-white);
}

.btn-danger {
    background: var(--danger);
    color: white;
    border: 2px solid var(--card-white);
}

.btn-success {
    background: var(--success);
    color: white;
    border: 2px solid var(--card-white);
}

.btn-warning {
    background: var(--warning);
    color: white;
    border: 2px solid var(--card-white);
}

.btn-info {
    background: var(--info);
    color: white;
    border: 2px solid var(--card-white);
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Special Active Pack Button */
.btn-pack {
    background: var(--card-white);
    border: 2px solid var(--card-white);
    box-shadow: var(--shadow);
    padding: 16px 32px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin: 20px 0;
    width: auto;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-pack:active {
    transform: var(--pop-scale);
    box-shadow: var(--shadow-lg);
}

.btn-pack i {
    font-size: 24px;
    animation: bounce 2s infinite;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--card-white);
    border: 2px solid var(--card-white);
    border-radius: 16px;
    color: var(--text-dark);
    font-size: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    transform: scale(1.02);
}

.form-control.error {
    border-color: var(--danger);
    animation: shake 0.5s ease-in-out;
}

.form-control.success {
    border-color: var(--success);
}

/* ===== LIST ITEMS ===== */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 20px;
    cursor: pointer;
}

.list-item:last-child {
    margin-bottom: 0;
}

.list-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.list-item-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.list-item-value {
    font-weight: 700;
    font-size: 16px;
    text-align: right;
    transition: all var(--transition-fast);
}

.list-item:active .list-item-value {
    transform: scale(1.1);
    color: var(--primary-green);
}

.list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary-green);
    font-size: 20px;
    transition: all var(--transition-fast);
}

.list-item:active .list-item-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary-green);
    color: white;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    background: var(--card-white);
    border: 2px solid var(--card-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.badge:active {
    transform: scale(0.95);
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

.badge-danger {
    background: var(--danger);
    color: white;
}

.badge-info {
    background: var(--info);
    color: white;
}

.badge-primary {
    background: var(--primary-green);
    color: white;
}

/* ===== PLANS GRID ===== */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.plan-card {
    text-align: center;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16,185,129,0.1), transparent);
    transition: left 0.7s ease;
}

.plan-card:active::before {
    left: 100%;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.plan-roi {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}

.plan-range {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== PROGRESS BAR ===== */
.progress {
    background: #e5e7eb;
    border-radius: 30px;
    height: 10px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar {
    background: var(--gradient-green);
    height: 100%;
    border-radius: 30px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

/* ===== ALERTS ===== */
.alert {
    padding: 16px 20px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left-width: 6px !important;
    border-left-style: solid !important;
    animation: slideInDown 0.5s ease;
}

.alert-success {
    border-left-color: var(--success) !important;
}

.alert-danger {
    border-left-color: var(--danger) !important;
}

.alert-warning {
    border-left-color: var(--warning) !important;
}

.alert-info {
    border-left-color: var(--info) !important;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 380px;
    padding: 24px;
    animation: scaleIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    transition: all var(--transition-fast);
}

.modal-close:active {
    transform: scale(0.9);
    color: var(--danger);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-white);
    border-radius: 24px;
    border: 2px solid var(--card-white);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.5s ease;
}

.empty-state i {
    font-size: 56px;
    color: #d1d5db;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

/* ===== COPY BUTTON ===== */
.copy-btn {
    background: var(--card-white);
    border: 2px solid var(--card-white);
    box-shadow: var(--shadow-sm);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.copy-btn:active {
    transform: var(--pop-scale);
    box-shadow: var(--shadow);
    background: var(--primary-green);
    color: white;
}

.copy-btn.copied {
    background: var(--success);
    color: white;
    animation: pop 0.3s ease;
}

/* ===== LOADING SPINNER ===== */
.spinner {
    border: 4px solid #e5e7eb;
    border-radius: 50%;
    border-top: 4px solid var(--primary-green);
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 30px auto;
}

.spinner-sm {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.stat-card {
    background: var(--card-white);
    border: 2px solid var(--card-white);
    border-radius: 20px;
    padding: 16px 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:active {
    transform: var(--pop-scale-light);
    box-shadow: var(--shadow-lg);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-green);
    animation: countUp 1s ease-out;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
    background: var(--card-white);
    border-radius: 24px;
    border: 2px solid var(--card-white);
    box-shadow: var(--shadow);
    padding: 8px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-light);
}

.table td {
    padding: 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:active td {
    background: rgba(16, 185, 129, 0.05);
    transform: scale(0.99);
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    background: var(--card-white);
    border: 2px solid var(--card-white);
    border-radius: 60px;
    padding: 4px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 60px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.tab:active {
    transform: var(--pop-scale);
}

.tab.active {
    background: var(--primary-green);
    color: white;
    animation: slideInRight 0.3s ease;
}

/* ===== AVATAR ===== */
.avatar {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    border: 3px solid var(--card-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.avatar:active {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow);
}

/* ===== QR CODE ===== */
.qr-container {
    background: var(--card-white);
    border: 2px solid var(--card-white);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    animation: pulse 2s infinite;
}

/* ===== ANIMATIONS ===== */

/* Keyframe Animations */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes countUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animation Classes */
.animate-pop {
    animation: pop 0.3s ease;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-shake {
    animation: shake 0.5s ease;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

.animate-slide-up {
    animation: slideInUp 0.5s ease;
}

.animate-slide-down {
    animation: slideInDown 0.5s ease;
}

.animate-slide-left {
    animation: slideInLeft 0.5s ease;
}

.animate-slide-right {
    animation: slideInRight 0.5s ease;
}

.animate-scale {
    animation: scaleIn 0.3s ease;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-green { color: var(--primary-green); }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }
.text-white { color: var(--card-white); }
.text-dark { color: var(--text-dark); }

.bg-green { background: var(--primary-green); color: white; }
.bg-danger { background: var(--danger); color: white; }
.bg-success { background: var(--success); color: white; }
.bg-warning { background: var(--warning); color: white; }
.bg-info { background: var(--info); color: white; }
.bg-white { background: var(--card-white); }

/* Margins */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 32px; }

.ml-1 { margin-left: 4px; }
.ml-2 { margin-left: 8px; }
.ml-3 { margin-left: 12px; }
.ml-4 { margin-left: 16px; }

.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mr-4 { margin-right: 16px; }

/* Padding */
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 24px; }
.p-6 { padding: 32px; }

/* Width */
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }

/* Flex */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* Position */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

/* Border Radius */
.rounded-sm { border-radius: 8px; }
.rounded { border-radius: 16px; }
.rounded-lg { border-radius: 24px; }
.rounded-circle { border-radius: 50%; }

/* Active Pack Container */
.active-pack-container {
    text-align: center;
    margin: 24px 0 16px;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

/* Responsive */
@media (min-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

/* Print Styles */
@media print {
    .bottom-nav,
    .header,
    .btn,
    .copy-btn {
        display: none !important;
    }
    
    body {
        background: white;
        padding: 0;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}