.countdown-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.countdown-container header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.setup-panel, .countdown-display {
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.input-group {
    margin-bottom: 25px;
}

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

.input-group input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

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

.start-btn, .reset-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.start-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.reset-btn {
    background: #ff9800;
    color: white;
    margin-top: 20px;
}

.reset-btn:hover {
    background: #e68900;
}

.countdown-display {
    text-align: center;
}

#eventTitle {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 60px;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.time-label {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

.presets {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    color: var(--text-color);
}

.presets h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.preset-btn {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .timer {
        gap: 10px;
    }
    
    .time-value {
        font-size: 40px;
    }
    
    .time-label {
        font-size: 14px;
    }
}
