.breathing-exercise {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 1rem;
}

.breathing-exercise h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.exercise-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.technique-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.technique-btn {
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.technique-btn.active {
    background: var(--primary-light);
    color: var(--white);
}

.technique-desc {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

.breathing-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.circle-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 4px solid var(--primary);
    opacity: 0.2;
}

.instruction {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timer {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
}

.exercise-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.exercise-controls select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 4px;
    background: var(--white);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
}

@keyframes breatheIn {
    from {
        transform: scale(1);
        opacity: 0.2;
    }
    to {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes breatheOut {
    from {
        transform: scale(1.2);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .breathing-circle {
        width: 250px;
        height: 250px;
    }
    
    .technique-selector {
        flex-direction: column;
    }
    
    .technique-btn {
        width: 100%;
    }
}