/* FTC Timer specific styles */
.timer-page {
    padding: 120px 0 60px;
}

.timer-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    border: 3px solid #f0f2ff;
}

.phase-indicator {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #333;
    background: #e9ecff;
    border: 1px solid #d6dcff;
    margin-bottom: 16px;
}

.time-display {
    font-size: 6rem;
    font-weight: 900;
    color: #333;
    line-height: 1;
    margin: 10px 0 20px;
}

.progress {
    width: 100%;
    height: 14px;
    background: #eef1ff;
    border: 1px solid #d6dcff;
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0 24px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 14px;
}

.phase-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    color: #555;
    font-weight: 600;
}

.legend {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fafbff;
}

.legend.auto { border-color: #d6ecff; }
.legend.driver { border-color: #d6ffd6; }
.legend.endgame { border-color: #ffe3d6; }

.phase-auto .phase-indicator { background: #e6f2ff; border-color: #cfe6ff; }
.phase-driver .phase-indicator { background: #eaffea; border-color: #d8f5d8; }
.phase-endgame .phase-indicator { background: #fff0e6; border-color: #ffe0cc; }


