/* Timer App */
.timer-content {
    padding: 0;
    background: var(--bg-dark);
}

.timer-app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: 400px;
}

.timer-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    border-right: 1px solid var(--border);
}

.timer-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-input-group label {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.time-input-group input {
    padding: 12px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
}

.time-input-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.time-input-group button {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-input-group button:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.time-boosts {
    display: flex;
    gap: 8px;
}

.time-boosts button {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-boosts button:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.timer-buttons {
    display: flex;
    gap: 8px;
}

.timer-buttons button {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timer-buttons button:hover {
    background: var(--bg-light);
}

.timer-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: var(--bg-dark);
    font-weight: 700;
}

.timer-buttons .btn-primary:hover {
    background: var(--primary);
}

.timer-status {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.timer-shell {
    width: 100%;
    padding: 25px;
    background: #1a1a22;
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}

.timer-label {
    display: block;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin-bottom: 10px;
}

.timer-screen {
    padding: 20px 30px;
    background: linear-gradient(180deg, var(--primary) 0%, #00aa55 100%);
    border-radius: 12px;
    color: #032d14;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 10px 30px rgba(0, 255, 136, 0.3);
}

.timer-screen.finished {
    animation: timer-pulse 1s ease-in-out infinite;
}

.timer-screen .divider {
    opacity: 0.7;
}

.selected-time {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.selected-time strong {
    color: var(--primary);
}

@keyframes timer-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            0 10px 30px rgba(0, 255, 136, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            0 15px 40px rgba(0, 255, 136, 0.5);
    }
}
