/* Timer Feature Styles */
/* Styles specific to the meditation timer feature */

.timer-display {
    text-align: center;
    font-size: 3em;
    font-weight: 200;
    color: #2d3748;
    margin: 20px 0;
    font-variant-numeric: tabular-nums;
}

.timer-controls-top {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.timer-controls-bottom {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-start-pause {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #48bb78;
    color: white;
}

.btn-start-pause:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.btn-start-pause:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-start-pause.paused {
    background: #ecc94b;
    animation: pulse-yellow 2s ease-in-out infinite;
}

.btn-start-pause.paused:hover {
    background: #d69e2e;
}

@keyframes pulse-yellow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 201, 75, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(236, 201, 75, 0);
    }
}

.btn-end {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2d3748;
    color: white;
}

.btn-end:hover {
    background: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 55, 72, 0.4);
}

.btn-end:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-end.active {
    background: #e53e3e;
}

.btn-end.active:hover {
    background: #c53030;
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.4);
}

.timer-settings {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    align-items: center;
}

.timer-setting-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.timer-setting-group label {
    font-size: 0.9em;
    color: #718096;
    font-weight: 500;
}

.timer-select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #2d3748;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.timer-select:hover {
    border-color: #cbd5e0;
}

.timer-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.additional-time {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    font-size: 1.1em;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
}

.additional-time span {
    font-weight: 700;
    color: #667eea;
    font-size: 1.3em;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .additional-time {
        margin-top: 30px;
        padding: 20px;
        font-size: 1.2em;
    }
    
    .additional-time span {
        font-size: 1.5em;
    }
}

@media (min-width: 768px) {
    .timer-display {
        font-size: 4em;
        margin: 30px 0;
    }
    
    .timer-settings {
        gap: 20px;
    }
    
    .timer-select {
        min-width: 160px;
    }
    
    .btn-start-pause {
        max-width: 400px;
        font-size: 20px;
        padding: 18px 40px;
    }
}