/* ============================= */
/* BOSS BABE BUDGET - PREMIUM    */
/* ============================= */

:root {
    /* Boss Babe Theme (Default) */
    --color-primary: #F7EDEE;
    --color-secondary: #D4AF7F;
    --color-accent: #E8B4B8;
    --color-text: #7E6C6C;
    --color-text-light: #B5A3A3;
    --color-success: #A8D5BA;
    --color-warning: #F4D58D;
    --color-danger: #F4A7B9;
    --color-white: #FFFFFF;
    --color-bg: #FFF8F9;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(126, 108, 108, 0.08);
    --shadow-md: 0 4px 16px rgba(126, 108, 108, 0.12);
    --shadow-lg: 0 8px 32px rgba(126, 108, 108, 0.16);
    
    /* Border radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Theme Variations */
[data-theme="lavender"] {
    --color-primary: #E6E6FA;
    --color-secondary: #9370DB;
    --color-accent: #DDA0DD;
    --color-text: #4B0082;
}

[data-theme="mint"] {
    --color-primary: #E0F4F4;
    --color-secondary: #5EAAA8;
    --color-accent: #A8E6CE;
    --color-text: #2C5F5D;
}

/* ============================= */
/* BASE STYLES                   */
/* ============================= */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
    padding-bottom: 150px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .container {
        padding: var(--space-md);
        padding-bottom: 120px;
    }
}

/* ============================= */
/* SCREENS                       */
/* ============================= */

.screen {
    display: none;
    opacity: 0;
    animation: fadeIn var(--transition-base) forwards;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================= */
/* TYPOGRAPHY                    */
/* ============================= */

h1, h2, h3 {
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.2;
}

.screen-title {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ============================= */
/* WELCOME SCREEN                */
/* ============================= */

.welcome-header {
    text-align: center;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.welcome-content {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

/* ============================= */
/* SETUP WIZARD                  */
/* ============================= */

.setup-progress {
    margin-bottom: var(--space-lg);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.setup-step {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
    animation: slideIn var(--transition-base);
}

.setup-step.hidden {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.step-subtitle {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* ============================= */
/* OPTION CARDS                  */
/* ============================= */

.option-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.option-card {
    position: relative;
    background: var(--color-primary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card input[type="radio"]:checked + .option-content {
    transform: scale(1.05);
}

.option-card:has(input:checked) {
    background: var(--color-white);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.option-emoji {
    display: block;
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.option-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

/* ============================= */
/* FORM ELEMENTS                 */
/* ============================= */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.input-large,
input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: var(--space-md);
    font-size: 1.1rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-text);
    transition: all var(--transition-base);
}

.input-large:focus,
input:focus,
select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 127, 0.1);
}

.input-hint {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ============================= */
/* BILLS & SUBSCRIPTIONS         */
/* ============================= */

.bills-list {
    margin-bottom: var(--space-lg);
}

.bill-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.bill-name-input {
    flex: 2;
    padding: var(--space-sm);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-size: 1rem;
    color: var(--color-text);
}

.bill-name-input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.bill-amount-input {
    flex: 1;
    padding: var(--space-sm);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.bill-amount-input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* Old styles - keeping for backwards compatibility */
.checkbox-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bill-amount {
    width: 100px;
    padding: var(--space-sm);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    text-align: right;
}

.bill-amount:disabled {
    opacity: 0.5;
    background: var(--color-primary);
}

/* ============================= */
/* SUMMARY CARD                  */
/* ============================= */

.summary-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-white) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(126, 108, 108, 0.1);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.highlight {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-secondary);
}

.summary-label {
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: var(--color-secondary);
}

.summary-value.large {
    font-size: 1.5rem;
}

/* ============================= */
/* TIP CARD                      */
/* ============================= */

.tip-card {
    background: var(--color-accent);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-secondary);
}

.tip-card p {
    margin: 0;
    line-height: 1.6;
}

.tip-inline {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--color-text);
    animation: tipFadeIn var(--transition-slow);
}

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

/* ============================= */
/* NAVIGATION                    */
/* ============================= */

.setup-nav {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.setup-nav button {
    flex: 1;
}

/* ============================= */
/* DASHBOARD                     */
/* ============================= */

.dashboard-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.dashboard-greeting {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.dashboard-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Safe to Spend Card */
.safe-to-spend-card {
    background: linear-gradient(135deg, var(--color-success) 0%, #B8E6D5 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.safe-to-spend-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, -20px);
    }
}

.safe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.safe-header h2 {
    font-size: 1.3rem;
    color: #2C5F5D;
}

.info-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.info-btn:hover {
    background: var(--color-white);
    transform: scale(1.1);
}

.safe-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2C5F5D;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.safe-subtitle {
    color: #2C5F5D;
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

/* Save Option */
.save-option {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(44, 95, 93, 0.2);
}

.save-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 500;
    color: #2C5F5D;
}

.save-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.save-details {
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
}

.save-details.hidden {
    display: none;
}

.save-details input {
    width: 80px;
    padding: var(--space-sm);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

/* ============================= */
/* QUICK STATS                   */
/* ============================= */

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-base);
}

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ============================= */
/* ACTION BUTTONS                */
/* ============================= */

.action-section {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    text-align: center;
}

/* Grid Layout for Action Cards */
.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .action-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .action-card {
        min-height: 130px;
        padding: 32px;
    }
    
    .action-card-icon {
        font-size: 48px;
    }
    
    .action-card-text {
        font-size: 16px;
    }
}

.action-card {
    background: white;
    border: 2px solid #F7EDEE;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 160px;
    width: 100%;
    text-align: center;
}

.action-card:hover {
    background: #F7EDEE;
    border-color: #D4AF7F;
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(126, 108, 108, 0.12);
}

.action-card-icon {
    font-size: 56px;
    display: block;
    line-height: 1;
}

.action-card-text {
    font-size: 18px;
    font-weight: 600;
    color: #7E6C6C;
    line-height: 1.4;
    display: block;
}

/* Full-width button for overwhelmed */
.action-btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
}

.action-btn-full:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.action-btn-full .action-icon {
    font-size: 1.5rem;
}

/* Legacy button styles (kept for compatibility) */
.action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.action-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-secondary);
    transform: translateX(4px);
}

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

.action-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
}

.action-text {
    flex: 1;
    text-align: left;
}

/* ============================= */
/* BOTTOM NAVIGATION             */
/* ============================= */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-primary);
    display: flex;
    justify-content: space-around;
    padding: var(--space-sm) 0;
    box-shadow: 0 -4px 16px rgba(126, 108, 108, 0.08);
    z-index: 100;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    font-size: 0.75rem;
}

.nav-btn span:first-child {
    font-size: 1.5rem;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--color-secondary);
    background: var(--color-primary);
}

/* ============================= */
/* BUTTONS                       */
/* ============================= */

.btn {
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
}

.btn-ghost:hover {
    background: var(--color-primary);
}

.btn-large {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
}

.btn-back {
    background: var(--color-primary);
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: all var(--transition-base);
}

.btn-back:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* ============================= */
/* MODAL                         */
/* ============================= */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(126, 108, 108, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    animation: modalFadeIn var(--transition-base);
}

.modal.active {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp var(--transition-base);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-primary);
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--color-text);
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-text);
}

.modal-close:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--space-lg);
}

/* ============================= */
/* INSIGHTS SCREEN               */
/* ============================= */

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.insight-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.insight-card h3 {
    margin-bottom: var(--space-md);
}

.insight-text {
    color: var(--color-text);
    line-height: 1.8;
    padding: var(--space-md);
    background: var(--color-primary);
    border-radius: var(--radius-sm);
}

.category-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.category-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.category-bar {
    flex: 1;
    height: 32px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.category-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-sm);
    transition: width var(--transition-slow);
}

.category-label {
    min-width: 120px;
    font-weight: 500;
}

.category-value {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
    color: var(--color-secondary);
}

/* ============================= */
/* MEDITATION SCREEN             */
/* ============================= */

.meditation-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.meditation-option {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.meditation-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.meditation-icon {
    font-size: 3rem;
}

.meditation-info h3 {
    margin-bottom: var(--space-xs);
}

.meditation-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================= */
/* SETTINGS SCREEN               */
/* ============================= */

.settings-section {
    margin-bottom: var(--space-xl);
}

.settings-section h3 {
    margin-bottom: var(--space-md);
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.theme-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.theme-btn:hover,
.theme-btn.active {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.theme-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.theme-pink {
    background: linear-gradient(135deg, #F7EDEE 0%, #D4AF7F 100%);
}

.theme-lavender {
    background: linear-gradient(135deg, #E6E6FA 0%, #9370DB 100%);
}

.theme-mint {
    background: linear-gradient(135deg, #E0F4F4 0%, #5EAAA8 100%);
}

.settings-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-primary);
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.settings-footer p {
    margin-bottom: var(--space-xs);
}

/* ============================= */
/* UTILITIES                     */
/* ============================= */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* ============================= */
/* MOBILE OPTIMIZATIONS          */
/* ============================= */

@media (max-width: 480px) {
    .container {
        padding: var(--space-sm);
    }
    
    .safe-amount {
        font-size: 2.5rem;
    }
    
    .option-cards {
        grid-template-columns: 1fr;
    }
    
    .theme-options {
        grid-template-columns: 1fr;
    }
    
    .action-card {
        min-height: 130px;
        padding: var(--space-lg);
    }
    
    .action-card-icon {
        font-size: 3rem;
    }
    
    .action-card-text {
        font-size: 1rem;
    }
}

/* ============================= */
/* ANIMATIONS & EFFECTS          */
/* ============================= */

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.confetti {
    animation: confetti 1s ease-out;
}

@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}
