#squatOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary, #f5f5f5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.squat-mode {
    text-align: center;
    color: var(--text-primary, #333);
    width: 100%;
    padding: 20px;
}

.squat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
}

.squat-cancel {
    background: var(--bg-tab, #e0e0e0);
    border: none;
    color: var(--text-primary, #333);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
}

.squat-state {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.squat-countdown {
    font-size: 12rem;
    font-weight: bold;
    line-height: 1;
    color: var(--accent, #4f46e5);
    animation: countdownPulse 1s infinite;
}

@keyframes countdownPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.squat-reps {
    font-size: 8rem;
    font-weight: bold;
    line-height: 1;
    color: var(--text-primary, #333);
}

.squat-target {
    font-size: 2rem;
    color: var(--text-muted, #888);
    margin-top: 10px;
}

.squat-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.sq-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    background: var(--bg-tab, #e0e0e0);
    color: var(--text-primary, #333);
}

.sq-btn-plus {
    background: var(--accent, #4f46e5);
    color: white;
}

.squat-rest {
    margin-top: 20px;
}

.rest-label {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.rest-timer {
    font-size: 10rem;
    font-weight: bold;
    line-height: 1;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.squat-complete {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.complete-icon {
    font-size: 6rem;
    animation: bounce 0.6s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.complete-text {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.badge-earned {
    margin: 30px 0;
}

.new-badge {
    background: var(--bg-card, white);
    padding: 15px 25px;
    border-radius: 16px;
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
    animation: slideIn 0.5s;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.new-badge-icon {
    font-size: 2rem;
}

.squat-done-btn {
    background: #10b981;
    border: none;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}
