/* Pausa Terapia - Component Styles */

:root {
    --primary: #5B7F61;
    --primary-dark: #4A6B50;
    --secondary: #E8967D;
    --accent: #9B8EC4;
    --success: #81B29A;
    --warning: #F2CC8F;
    --danger: #E07A5F;
    --calm-blue: #7BAFD4;
    --soft-green: #8BAF91;
    --gradient: linear-gradient(135deg, #5B7F61 0%, #7BAFD4 100%);
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FAF8F5;
}

.app-body {
    background-color: #FAF8F5;
    padding-bottom: 80px;
}

.gradient-bg {
    background: var(--gradient);
}

.mood-scale-button {
    transition: all 0.3s ease;
    background: white;
    border: 2px solid #E8E0D8;
    border-radius: 16px;
}

.mood-scale-button:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(107, 143, 113, 0.15);
}

.mood-scale-button.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

.breathing-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient);
    transition: transform 4s ease-in-out;
}

.breathing-circle.inhale {
    transform: scale(1.3);
}

.breathing-circle.hold {
    transform: scale(1.3);
}

.breathing-circle.exhale {
    transform: scale(1);
}

.emotion-button {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 16px;
}

.emotion-button:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.emotion-button.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.progress-day {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.progress-day:hover {
    transform: scale(1.1);
}

.progress-day.mood-1,
.progress-day.mood-2,
.progress-day.mood-3 {
    background: #F9E2DB;
    color: #C05A3F;
}

.progress-day.mood-4,
.progress-day.mood-5,
.progress-day.mood-6 {
    background: #FCF2E0;
    color: #A08050;
}

.progress-day.mood-7,
.progress-day.mood-8 {
    background: #E2F0E9;
    color: #4A6B50;
}

.progress-day.mood-9,
.progress-day.mood-10 {
    background: #C5E1D3;
    color: #3A5B40;
}

.streak-fire {
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-bottom {
    backdrop-filter: blur(10px);
    background: rgba(250, 248, 245, 0.95);
    border-top: 1px solid rgba(45, 52, 54, 0.08);
}

.floating-button {
    box-shadow: 0 4px 20px rgba(224, 122, 95, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 640px) {
    .breathing-circle {
        width: 150px;
        height: 150px;
    }

    .progress-day {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
