/* =============================================================================
   T-FIT — WORKOUT FLOW 2.0 DESIGN SYSTEM (CYAN & VIOLET GLASSMORPHISM)
   ============================================================================= */

:root {
    --wf-bg-dark: #03070B;
    --wf-card-bg: rgba(10, 18, 30, 0.82);
    --wf-card-border: rgba(0, 240, 255, 0.18);
    --wf-cyan: #00F0FF;
    --wf-cyan-glow: rgba(0, 240, 255, 0.4);
    --wf-violet: #7000FF;
    --wf-violet-glow: rgba(112, 0, 255, 0.4);
    --wf-emerald: #10B981;
    --wf-orange: #FF6B00;
    --wf-text-white: #FFFFFF;
    --wf-text-muted: rgba(255, 255, 255, 0.65);
    --wf-text-dim: rgba(255, 255, 255, 0.45);
}

.wf-page-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    background: radial-gradient(circle at 50% 0%, #0d1b30 0%, #03070B 80%);
    color: var(--wf-text-white);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

.wf-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px 16px 40px 16px;
}

/* Header */
.wf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: max(8px, env(safe-area-inset-top));
    margin-bottom: 20px;
}

.wf-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wf-back-btn:active {
    transform: scale(0.92);
}

.wf-header-title-box {
    text-align: center;
}

.wf-header-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.wf-header-sub {
    font-size: 11px;
    color: var(--wf-text-muted);
    margin-top: 2px;
}

.wf-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Glass Cards */
.wf-card {
    background: var(--wf-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--wf-card-border);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Hero Section (Tela 1) */
.wf-hero-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(10, 18, 30, 0.9) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.wf-hero-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 0 16px var(--wf-cyan-glow);
}

.wf-hero-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.wf-hero-desc {
    font-size: 12px;
    color: var(--wf-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.wf-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wf-hero-feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    font-size: 10px;
    color: var(--wf-text-muted);
}

.wf-hero-feat-item svg {
    color: var(--wf-cyan);
}

/* Option Grids (Tela 1) */
.wf-sec-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--wf-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wf-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.wf-options-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.wf-options-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.wf-option-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--wf-text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wf-option-btn:active {
    transform: scale(0.95);
}

.wf-option-btn.selected {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--wf-cyan);
    color: #fff;
    box-shadow: 0 0 12px var(--wf-cyan-glow);
}

/* Thays IA Card (Tela 1 & 2) */
.wf-thays-card {
    background: linear-gradient(160deg, rgba(30, 15, 60, 0.85) 0%, rgba(10, 18, 30, 0.85) 100%);
    border: 1px solid rgba(112, 0, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.wf-thays-sphere-box {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-thays-info {
    flex: 1;
}

.wf-thays-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.wf-thays-badge {
    font-size: 10px;
    font-weight: 800;
    color: var(--wf-cyan);
    letter-spacing: 0.5px;
}

.wf-thays-text {
    font-size: 11px;
    color: var(--wf-text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Primary Action CTA Button */
.wf-btn-primary-cta {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #00F0FF 0%, #7000FF 100%);
    border: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(112, 0, 255, 0.5);
    transition: all 0.2s ease;
    margin-top: 10px;
}

.wf-btn-primary-cta:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(112, 0, 255, 0.3);
}

.wf-btn-primary-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tela 2 — Preparar para o Treino */
.wf-prepare-hero {
    background: linear-gradient(160deg, rgba(15, 30, 55, 0.9) 0%, rgba(10, 18, 30, 0.9) 100%);
    border-color: rgba(0, 240, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.wf-prepare-focus-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--wf-cyan);
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.wf-prepare-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.wf-prepare-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    font-size: 11px;
    color: var(--wf-cyan);
    margin-bottom: 16px;
}

/* 4 Metrics Grid (Tela 2 & 3) */
.wf-metrics-4grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.wf-metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px 4px;
    text-align: center;
}

.wf-metric-label {
    font-size: 8px;
    font-weight: 800;
    color: var(--wf-text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wf-metric-val {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    margin-top: 4px;
}

.wf-metric-unit {
    font-size: 9px;
    font-weight: 600;
    color: var(--wf-text-muted);
}

/* Exercise List (Tela 2) */
.wf-exercise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.wf-exercise-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--wf-cyan);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf-exercise-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #061222;
    flex-shrink: 0;
}

.wf-exercise-info {
    flex: 1;
}

.wf-exercise-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.wf-exercise-meta {
    font-size: 11px;
    color: var(--wf-text-muted);
}

.wf-exercise-arrow {
    color: var(--wf-text-dim);
    font-size: 16px;
}

/* Tela 3 — Execução do Treino */
.wf-player-media-box {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: #061222;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.15);
    margin-bottom: 16px;
}

.wf-player-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf-player-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 11, 0.3);
}

.wf-play-btn-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(10, 18, 30, 0.85);
    border: 2px solid var(--wf-cyan);
    color: var(--wf-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--wf-cyan-glow);
    cursor: pointer;
}

/* Set Control Box (Tela 3) */
.wf-set-control-card {
    background: rgba(10, 18, 30, 0.9);
    border-color: rgba(0, 240, 255, 0.25);
}

.wf-set-numbers-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.wf-set-stat-box {
    text-align: center;
}

.wf-set-stat-lbl {
    font-size: 9px;
    font-weight: 800;
    color: var(--wf-cyan);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wf-set-stat-val {
    font-size: 20px;
    font-weight: 900;
    margin-top: 2px;
}

/* Load Slider */
.wf-load-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.wf-load-btn-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wf-load-slider-input {
    flex: 1;
    accent-color: var(--wf-cyan);
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.wf-prev-load-badge {
    font-size: 11px;
    color: var(--wf-text-muted);
    text-align: center;
    margin-bottom: 16px;
}

/* Descanso Circular Timer */
.wf-rest-timer-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(112, 0, 255, 0.08);
    border: 1px solid rgba(112, 0, 255, 0.25);
    margin-bottom: 16px;
}

.wf-rest-ring-svg {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.wf-rest-ring-bg {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 6;
    fill: none;
}

.wf-rest-ring-fill {
    stroke: var(--wf-cyan);
    stroke-width: 6;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 283;
    transition: stroke-dashoffset 1s linear;
}

.wf-rest-timer-info {
    flex: 1;
}

.wf-rest-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--wf-cyan);
    letter-spacing: 0.5px;
}

.wf-rest-desc {
    font-size: 10px;
    color: var(--wf-text-muted);
    margin-top: 2px;
}

.wf-btn-skip-rest {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

/* Bottom Action Buttons (Tela 3) */
.wf-player-bottom-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.wf-action-sub-btn {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--wf-text-muted);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.wf-progress-bar-box {
    margin-top: 12px;
}

.wf-progress-bar-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 6px;
}

.wf-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wf-cyan) 0%, var(--wf-violet) 100%);
    transition: width 0.3s ease;
}

/* Tela 4 — Treino Concluído */
.wf-congrats-header {
    text-align: center;
    padding: 20px 0;
}

.wf-congrats-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #00F0FF 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wf-camera-card {
    background: linear-gradient(160deg, rgba(20, 35, 60, 0.9) 0%, rgba(10, 18, 30, 0.9) 100%);
    border-color: rgba(0, 240, 255, 0.3);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.wf-camera-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf-camera-trigger-box {
    position: relative;
    z-index: 2;
    text-align: center;
}

.wf-emoji-feedback-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 10px;
}

.wf-emoji-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 22px;
    cursor: pointer;
}

.wf-emoji-btn.selected {
    border-color: var(--wf-cyan);
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 12px var(--wf-cyan-glow);
}

.wf-emoji-lbl {
    font-size: 9px;
    color: var(--wf-text-muted);
}

.wf-final-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    margin-top: 16px;
}

/* Hide global bottom navbar during player mode */
body.wf-player-active .bottom-nav {
    display: none !important;
}




/* =============================================================================
   T-FIT — DEFINITIVE SINGLE WORKOUT EXECUTION PLAYER (100% PERFECT IMAGE 2 MATCH)
   ============================================================================= */

body.wf-player-active {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #03050c !important;
}

body.wf-player-active .bottom-nav,
body.wf-player-active #main-nav,
body.wf-player-active header.main-header {
    display: none !important;
}


.tfit-exec-wrapper {
    width: 100%;
    max-width: 440px;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 6px) + 4px) 10px calc(env(safe-area-inset-bottom, 6px) + 4px) 10px;
    box-sizing: border-box;
    background: radial-gradient(circle at 50% 0%, #0d1b35 0%, #03050c 70%);
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden !important;
}

.tfit-exec-content {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}


/* Header */
.tfit-exec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.tfit-exec-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}

.tfit-exec-close-btn:active {
    transform: /* ═════════════════════════════════════════════════════════════════════════════
   T-FIT — TREINO EM EXECUÇÃO (DESIGN DEFINITIVO FIEL À REFERÊNCIA)
   ═════════════════════════════════════════════════════════════════════════════ */

.tfit-exec-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    background: #020612 radial-gradient(circle at 50% 10%, #061028 0%, #020612 70%, #000208 100%);
    color: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 99999;
    padding-top: env(safe-area-inset-top, 12px);
    padding-bottom: env(safe-area-inset-bottom, 24px);
    box-sizing: border-box;
}

/* Detalhe Luminoso Curvo/Fluido no Topo Direito (Igual à Imagem de Referência) */
.tfit-exec-corner-swoosh {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle at 90% 10%, rgba(0, 240, 255, 0.25) 0%, rgba(47, 115, 255, 0.15) 35%, rgba(138, 43, 226, 0.08) 60%, rgba(0, 0, 0, 0) 80%);
    border-top-right-radius: 40px;
}
.tfit-exec-corner-swoosh::after {
    content: "";
    position: absolute;
    top: 24px;
    right: 0;
    width: 90px;
    height: 120px;
    border-top: 2px solid rgba(0, 240, 255, 0.5);
    border-right: 2px solid rgba(47, 115, 255, 0.6);
    border-top-right-radius: 36px;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.6));
}

.tfit-exec-content {
    width: 100%;
    max-width: 420px;
    padding: 12px 18px 28px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* 1) TOPO DA TELA */
.tfit-exec-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    position: relative;
}

.tfit-exec-back-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 18, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    margin-bottom: 14px;
}
.tfit-exec-back-circle-btn:active {
    transform: scale(0.92);
    border-color: rgba(0, 240, 255, 0.4);
}

.tfit-exec-tag-header {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #00F0FF;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.tfit-exec-header-title-box {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}

.tfit-exec-title-line1 {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.tfit-exec-title-line2 {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #00e5ff;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* 2) CARD PRINCIPAL DO EXERCÍCIO */
.tfit-exec-media-card {
    width: 100%;
    height: 310px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    margin-bottom: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfit-exec-gif-state {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
}

.tfit-exec-gif-img {
    width: 92%;
    height: 92%;
    object-fit: contain;
    background: #FFFFFF;
}

/* Botão YouTube no topo direito do card */
.tfit-exec-yt-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(6, 12, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 7px 12px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}
.tfit-exec-yt-btn:hover {
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}

/* Bottom Badge Row no canto inferior esquerdo */
.tfit-exec-bottom-badge-row {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tfit-exec-count-pill {
    background: #020612;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 7px 18px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.tfit-exec-count-lbl {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #475569;
    text-transform: uppercase;
}

/* Estado de Descanso Dentro do Mesmo Card */
.tfit-exec-rest-state {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #0B1733 0%, #020612 85%);
}

.tfit-exec-badge-rest {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.35);
    border-radius: 20px;
    padding: 6px 14px;
    color: #A855F7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tfit-exec-rest-circle-box {
    width: 75%;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfit-exec-rest-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.tfit-rest-bg-circle {
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 6;
    fill: none;
}

.tfit-rest-fg-circle {
    stroke: url(#restGlowGrad);
    stroke-width: 6;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 553;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.tfit-exec-rest-inner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
}

.tfit-logo-emblem {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #00F0FF 0%, #8A2BE2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 2px;
}

.tfit-exec-rest-lbl {
    font-size: 9px;
    font-weight: 700;
    color: #8E9BAE;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tfit-exec-rest-digits {
    font-size: 42px;
    font-weight: 800;
    color: #00F0FF;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
    margin: 2px 0;
}

.tfit-exec-rest-sub {
    font-size: 10.5px;
    color: #8E9BAE;
    max-width: 80%;
}

/* 3) CARD DE PROGRESSO DE EXERCÍCIOS */
.tfit-exec-steps-card {
    background: rgba(6, 12, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 14px 20px 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tfit-exec-steps-title {
    text-align: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #cbd5e1;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tfit-exec-steps-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.tfit-steps-line-bg {
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.tfit-steps-line-fill {
    position: absolute;
    top: 14px;
    left: 20px;
    height: 3px;
    background: linear-gradient(90deg, #00F0FF, #2F73FF);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
    z-index: 1;
    transition: width 0.4s ease;
}

.tfit-step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tfit-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060D1E;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.tfit-step-inner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.tfit-step-num {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    transition: color 0.3s ease;
}

/* Step States */
.tfit-step-item.step-done .tfit-step-circle {
    background: #00F0FF;
    border-color: #00F0FF;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}
.tfit-step-item.step-done .tfit-step-inner-dot {
    background: #020612;
}
.tfit-step-item.step-done .tfit-step-num {
    color: #00F0FF;
}

.tfit-step-item.step-current .tfit-step-circle {
    background: #020612;
    border-color: #00F0FF;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.9), inset 0 0 10px rgba(0, 240, 255, 0.5);
    transform: scale(1.18);
}
.tfit-step-item.step-current .tfit-step-inner-dot {
    width: 10px;
    height: 10px;
    background: #00F0FF;
    box-shadow: 0 0 8px #00F0FF;
}
.tfit-step-item.step-current .tfit-step-num {
    color: #FFFFFF;
    font-weight: 900;
}

.tfit-step-item.step-future .tfit-step-circle {
    border-color: rgba(255, 255, 255, 0.12);
}

/* 4) CARDS DE MÉTRICAS (3 LADO A LADO) */
.tfit-exec-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.tfit-exec-metric-tile {
    background: rgba(6, 12, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tfit-exec-tile-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.tfit-exec-tile-icon-wrap.icon-cyan {
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}
.tfit-exec-tile-icon-wrap.icon-blue {
    background: rgba(47, 115, 255, 0.15);
    box-shadow: 0 0 14px rgba(47, 115, 255, 0.25);
}
.tfit-exec-tile-icon-wrap.icon-purple {
    background: rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

.tfit-exec-tile-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tfit-exec-tile-val {
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

/* 5) BOTÃO PRINCIPAL (PRÓXIMO EXERCÍCIO) */
.tfit-exec-primary-btn {
    width: 100%;
    height: 56px;
    border-radius: 28px;
    background: linear-gradient(90deg, #00F0FF 0%, #0099FF 100%);
    border: none;
    color: #020612;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.45);
    transition: all 0.2s ease;
    margin-bottom: 12px;
}
.tfit-exec-primary-btn:active {
    transform: scale(0.97);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.tfit-exec-btn-chevron {
    position: absolute;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 6) BOTÃO SECUNDÁRIO (INICIAR DESCANSO) */
.tfit-exec-secondary-btn {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: rgba(6, 12, 26, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.2s ease;
}
.tfit-exec-secondary-btn:active {
    transform: scale(0.97);
    border-color: #00F0FF;
    background: rgba(0, 240, 255, 0.12);
}
