/* 深呼吸记录页面专属样式 */

.container-fluid {
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 50%, #FFD93D 100%);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.important-note-card {
    margin: 0 auto 25px auto;
    max-width: 1200px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 6px solid var(--primary);
    box-shadow: 0 10px 40px rgba(255, 184, 0, 0.15);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.note-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.note-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-save-note {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

.btn-save-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.5);
}

.btn-save-note:active {
    transform: scale(0.95);
}

#importantNoteDisplay,
#importantNote {
    width: 100%;
    min-height: 90px;
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 14px;
    padding: 16px;
    font-size: 1.05rem;
    color: var(--text-primary);
    resize: vertical;
    background: #FFF9E6;
    transition: all 0.3s;
    font-weight: 500;
}

#importantNote:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.15);
}

.note-display {
    white-space: pre-line;
    word-break: break-word;
    background: #FFF9E6;
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 14px;
    padding: 16px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.btn-edit-note {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-edit-note:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
}

.header-left h1 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-back {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    border-radius: 50px;
    border: 2px solid var(--primary);
}

.btn-back:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 184, 0, 0.3);
}

.breath-main {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.breath-main-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.breath-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.2);
    transition: all 0.3s;
}

.breath-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 184, 0, 0.25);
}

.history-card {
    max-width: 700px;
    margin: 0 auto;
}

.progress-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    min-height: auto;
}

.week-stats-card,
.week-stats-card-full {
    padding: 25px;
}

.week-stats-card-full {
    margin: 0 auto 25px auto;
    max-width: 1200px;
}

.week-stats-header {
    margin-bottom: 20px;
}

.week-stats-header h3 {
    margin: 0 0 18px 0;
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 800;
}

.week-summary {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    padding: 18px;
    border-radius: 16px;
    border: 2px solid var(--primary-light);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.summary-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.summary-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.week-chart-container {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid var(--primary-light);
}

.week-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 160px;
    gap: 12px;
}

.week-bar-chart .chart-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.week-bar-chart .chart-bar {
    width: 100%;
    background: linear-gradient(to top, var(--primary-light), var(--primary));
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.week-bar-chart .chart-bar.reached {
    background: linear-gradient(to top, var(--primary), var(--accent));
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.week-bar-chart .chart-bar:hover {
    transform: scaleY(1.08);
    transform-origin: bottom;
    filter: brightness(1.1);
}

.week-bar-chart .chart-bar::before {
    content: attr(data-value);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
    background: white;
    padding: 3px 8px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

.week-bar-chart .chart-bar::after {
    content: attr(data-percent);
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
}

.week-bar-chart .chart-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.week-bar-chart .chart-label.today {
    color: var(--primary-dark);
    font-weight: 800;
}

.circle-progress-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 25px;
}

.circle-progress {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #FFF9E6;
    stroke-width: 14;
}

.circle-fill {
    fill: none;
    stroke: #10b981;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.5s ease-out;
}

.progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

#currentMinutes {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.unit {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

.percentage {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timer-display {
    text-align: center;
    margin-bottom: 25px;
}

.timer-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timer-status {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 600;
}

.timer-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timer-btn.start {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.timer-btn.start:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 184, 0, 0.5);
}

.timer-btn.record {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.timer-btn.record:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.45);
}

.timer-btn.pause {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
}

.timer-btn.pause:hover {
    transform: translateY(-3px);
}

.timer-btn.stop {
    background: linear-gradient(135deg, var(--accent) 0%, #FF5252 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.timer-btn.stop:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 107, 107, 0.5);
}

.timer-btn.resume {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.timer-btn.resume:hover {
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1rem;
}

.preset-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.preset-btn {
    padding: 12px 22px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary-dark);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preset-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.35);
}

.preset-btn.custom {
    border-style: dashed;
}

.breath-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tip-card h3, .history-card h3, .reminder-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
    border-bottom: 3px solid var(--primary-light);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 1.2rem;
}

.tips-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip-item {
    display: flex;
    gap: 15px;
    padding: 16px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.tip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 184, 0, 0.2);
}

.tip-icon {
    font-size: 1.8rem;
}

.tip-text strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.tip-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.reminder-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 184, 0, 0.15);
}

.control-group:last-child {
    border-bottom: none;
}

.reminder-mode-group {
    display: flex;
    gap: 10px;
}

.radio-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 14px;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
}

.radio-btn input[type="radio"] {
    display: none;
}

.radio-btn span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.radio-btn:hover {
    border-color: var(--primary);
}

.radio-btn input[type="radio"]:checked + span {
    color: var(--primary-dark);
    font-weight: 700;
}

.radio-btn:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-primary);
}

.hourly-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: #FFF9E6;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.sound-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sound-select {
    padding: 8px 12px;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    font-weight: 500;
}

.sound-select:focus {
    border-color: var(--primary);
}

#testSoundBtn {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border: none;
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(255, 184, 0, 0.3);
}

#testSoundBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.4);
}

.next-reminder {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 12px;
    border: 2px solid var(--primary-light);
}

.current-time-display {
    background: #FFF9E6;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    border: 2px solid var(--primary-light);
    font-weight: 500;
}

#currentTimeWithSeconds {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-left: 6px;
}

.scheduled-reminders {
    border-top: 2px solid var(--primary-light);
    padding-top: 20px;
}

.scheduled-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.scheduled-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.add-scheduled {
    display: flex;
    gap: 10px;
    align-items: center;
}

.add-scheduled input[type="time"] {
    padding: 8px 12px;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    background: white;
    font-weight: 500;
}

.add-scheduled input[type="time"]:focus {
    border-color: var(--primary);
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid var(--primary-light);
    transition: all 0.3s;
}

.reminder-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 184, 0, 0.2);
}

.reminder-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reminder-time {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.reminder-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-delete-reminder {
    background: linear-gradient(135deg, var(--accent) 0%, #FF5252 100%);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.btn-delete-reminder:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background: white;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.breath-logs {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}

.log-date-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    padding: 8px 16px;
    border-radius: 50px;
    margin: 18px 0 12px 0;
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--text-primary);
}

.log-date-header:first-child {
    margin-top: 0;
}

.log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 184, 0, 0.15);
    transition: all 0.2s;
    background: white;
    border-radius: 12px;
    margin-bottom: 8px;
}

.log-item:hover {
    background: #FFF9E6;
    transform: translateX(5px);
}

.log-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.log-duration {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
}

.log-actions {
    display: flex;
    gap: 8px;
}

.btn-edit-small, .btn-delete-small {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    color: var(--text-primary);
    font-weight: 600;
}

.btn-delete-small {
    background: linear-gradient(135deg, var(--accent) 0%, #FF5252 100%);
    color: white;
}

.btn-edit-small:hover, .btn-delete-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.empty-tip {
    text-align: center;
    color: var(--text-light);
    padding: 50px 20px;
    font-size: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.3) 0%, rgba(255, 107, 107, 0.2) 100%);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: white;
    margin: 12% auto;
    padding: 35px;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 80px rgba(255, 184, 0, 0.3);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.input-group {
    margin: 22px 0;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 184, 0, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    background: #FFF9E6;
    color: var(--text-primary);
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.15);
}

.toast {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    display: none;
    z-index: 2000;
    font-weight: 600;
    box-shadow: 0 10px 35px rgba(255, 107, 107, 0.4);
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 25px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 1000px) {
    .breath-main {
        grid-template-columns: 1fr;
    }

    .breath-side {
        order: 2;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .week-summary {
        flex-direction: column;
        gap: 12px;
    }

    .timer-controls {
        flex-direction: column;
    }

    .timer-btn {
        width: 100%;
        justify-content: center;
    }
}
