.tutorial-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.tutorial-link:hover {
    border-bottom-color: var(--primary-color);
}

.pomodoro-app {
    max-width: 500px;
    margin: 0 auto;
}

.timer-modes {
    display: flex;
    background-color: var(--white);
    border-radius: 12px;
    padding: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.mode-btn {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border-radius: 8px;
    font-weight: 600;
    color: #64748B;
    transition: var(--transition);
}

.mode-btn:hover {
    color: var(--text-color);
}

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

.mode-btn.active[data-mode="shortBreak"],
.mode-btn.active[data-mode="longBreak"] {
    background-color: var(--secondary-color);
}

.timer-display {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.timer-circle {
    position: relative;
    width: 280px;
    height: 280px;
}

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

.progress-bg {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 8;
}

.progress-bar {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
}

.progress-bar.break {
    stroke: var(--secondary-color);
}

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

.timer-time {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 10px;
}

.timer-label {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
}

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

.timer-controls .btn {
    min-width: 120px;
}

.start-btn.running {
    background: linear-gradient(135deg, #E53E3E, #C53030);
}

.session-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

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

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748B;
}

.timer-settings {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.timer-settings h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-item label {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 500;
}

.setting-item input[type="number"] {
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

.setting-item input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-item {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-item label {
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .timer-circle {
        width: 240px;
        height: 240px;
    }

    .timer-time {
        font-size: 3rem;
    }

    .session-info {
        gap: 30px;
        padding: 20px;
    }

    .stat-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .mode-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .timer-circle {
        width: 200px;
        height: 200px;
    }

    .timer-time {
        font-size: 2.5rem;
    }

    .timer-label {
        font-size: 0.9rem;
    }

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

    .timer-controls .btn {
        width: 100%;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }
}
