/* ========== 스탑워치 모달 ========== */
.stopwatch-modal .modal-content {
    max-width: 500px;
    width: 90%;
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
}

.stopwatch-header {
    margin-bottom: 20px;
}

.stopwatch-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stopwatch-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.stopwatch-display {
    font-size: 64px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    letter-spacing: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.stopwatch-progress {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.stopwatch-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 5px;
}

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

.stopwatch-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    line-height: 1;
}

.stopwatch-btn.start {
    background: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.stopwatch-btn.pause {
    background: #FF9800;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.stopwatch-btn.reset {
    background: #9E9E9E;
    box-shadow: 0 4px 12px rgba(158, 158, 158, 0.4);
}

.stopwatch-btn.edit {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.stopwatch-btn.complete {
    background: #f44336;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.stopwatch-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 14px;
    text-align: left;
}

.stopwatch-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.stopwatch-info-label {
    opacity: 0.8;
}

.stopwatch-info-value {
    font-weight: 600;
}

.alarm-sound-btn { transition: background 0.2s, color 0.2s; }
.alarm-sound-btn.active { background: #4CAF50 !important; color: #fff !important; }
.alarm-sound-btn:not(.active) { background: transparent !important; color: #4CAF50 !important; }