/* ============================================
   TIMER BIKE ACADEMY - Design System
   ============================================ */

/* Font Faces */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-bold.woff2') format('woff2');
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);

  --accent: #6c63ff;
  --accent-hover: #5a52e0;
  --accent-glow: rgba(108, 99, 255, 0.3);

  --phase-pedaling: #00e676;
  --phase-recovery: #29b6f6;
  --phase-rest: #ffd740;
  --phase-done: #6c63ff;

  --danger: #ff5252;
  --danger-hover: #e04848;
  --success: #00e676;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(255, 255, 255, 0.06);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============ HEADER ============ */
.header {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 32px;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo h1 {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.btn-danger {
  background: rgba(255, 82, 82, 0.15);
  color: var(--danger);
  border: 1px solid rgba(255, 82, 82, 0.2);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-success {
  background: rgba(0, 230, 118, 0.15);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.btn-success:hover {
  background: var(--success);
  color: #000;
}

.btn-warning {
  background: rgba(255, 215, 64, 0.15);
  color: var(--phase-rest);
  border: 1px solid rgba(255, 215, 64, 0.2);
}

.btn-warning:hover {
  background: var(--phase-rest);
  color: #000;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

.btn-icon-only {
  padding: 8px;
  min-width: 36px;
  justify-content: center;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.btn-close:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

/* ============ MAIN CONTENT ============ */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px;
}

/* ============ GLASS CARD ============ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 14px;
}

.empty-state.hidden {
  display: none;
}

/* ============ TREINO CARD ============ */
.treinos-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.treino-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeSlideIn 0.4s ease;
}

.treino-card:hover {
  border-color: rgba(108, 99, 255, 0.2);
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.card-header-left h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-stopped {
  background: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
}

.badge-running {
  background: rgba(0, 230, 118, 0.15);
  color: var(--success);
  animation: pulse-glow 2s infinite;
}

.badge-finished {
  background: rgba(108, 99, 255, 0.15);
  color: var(--accent);
}

.badge-bikes {
  background: rgba(41, 182, 246, 0.15);
  color: var(--phase-recovery);
}

.card-header-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.card-actions-row {
  display: flex;
  gap: 8px;
}

/* Phase Section */
.phase-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.phase-block {
  text-align: center;
}

.phase-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.phase-value {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.phase-timer {
  font-size: 42px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}

.phase-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Phase Colors */
.phase-pedalando {
  color: var(--phase-pedaling);
}

.phase-recuperacao {
  color: var(--phase-recovery);
}

.phase-descanso {
  color: var(--phase-rest);
}

.phase-finalizado {
  color: var(--phase-done);
}

.phase-aguardando {
  color: var(--text-muted);
}

/* Students Section */
.students-section {
  padding: 24px 28px;
}

.students-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.students-header h3 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.students-count {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 22px;
  text-align: center;
}

.students-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.student-row {
  display: grid;
  grid-template-columns: 1fr 130px 120px 36px;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  transition: var(--transition);
  gap: 12px;
}

.student-row:hover {
  background: var(--bg-glass-hover);
}

.student-name {
  font-size: 14px;
  font-weight: 500;
}

.student-stat {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

.student-stat span {
  color: var(--text-primary);
  font-weight: 600;
}

.student-actions {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.btn-aluno-action {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-weight: 700;
}

.btn-aluno-play {
  background: rgba(0, 230, 118, 0.15);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.btn-aluno-play:hover {
  background: var(--success);
  color: #000;
  transform: scale(1.1);
}

.btn-aluno-pause {
  background: rgba(255, 215, 64, 0.15);
  color: var(--phase-rest);
  border: 1px solid rgba(255, 215, 64, 0.2);
}

.btn-aluno-pause:hover {
  background: var(--phase-rest);
  color: #000;
  transform: scale(1.1);
}

.btn-aluno-restart {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-secondary);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.btn-aluno-restart:hover {
  background: var(--text-secondary);
  color: #000;
  transform: scale(1.1);
}

.student-row .btn-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-row .btn-remove:hover {
  color: var(--danger);
  background: rgba(255, 82, 82, 0.1);
}

/* Status badges do aluno no index */
.aluno-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  text-align: center;
  white-space: nowrap;
}

.astatus-warmup {
  background: rgba(255, 152, 0, 0.12);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.2);
}

.astatus-active {
  background: rgba(0, 230, 118, 0.12);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.astatus-paused {
  background: rgba(255, 215, 64, 0.12);
  color: var(--phase-rest);
  border: 1px solid rgba(255, 215, 64, 0.2);
}

.astatus-done {
  background: rgba(108, 99, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.students-list-header {
  display: grid;
  grid-template-columns: 1fr 130px 120px 36px;
  padding: 0 16px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  gap: 12px;
}

.students-list-header span:nth-child(2),
.students-list-header span:nth-child(3) {
  text-align: center;
}

.students-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-sm {
  max-width: 400px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 0;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.modal-body {
  padding: 24px 28px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 28px 24px;
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============ PROGRESS BAR ============ */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

/* ============ TRANSMITIR PAGE ============ */
.transmitir-page {
  background: var(--bg-primary);
  min-height: 100vh;
  padding: 24px;
}

.transmitir-app {
  max-width: 1600px;
  margin: 0 auto;
}

/* Header Card */
.transmitir-header {
  padding: 1px 20px 1px;
  margin-bottom: 5px;
  max-height: 198px;
}

.transmitir-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 2px;
}

.transmitir-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transmitir-col-center {
  align-items: center;
  text-align: center;
}

.transmitir-col-right {
  align-items: flex-end;
  text-align: right;
}

.transmitir-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.transmitir-value {
  font-size: 28px;
  font-weight: 700;
  margin: 4px 0;
}

.transmitir-timer {
  font-size: 72px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 3px;
  line-height: 1;
  margin: 1px 0;
}

.transmitir-sublabel {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  /*margin-top: 12px;*/
}

.transmitir-subvalue {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.transmitir-counters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.counter {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.counter-sep {
  font-size: 24px;
  color: var(--text-muted);
}

/* Mini Cards Alunos - Premium */
.alunos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
}

.mini-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.3), rgba(139, 92, 246, 0.1), rgba(255, 255, 255, 0.05));
  transition: var(--transition);
  animation: fadeSlideIn 0.4s ease;
}

.mini-card:hover {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.5), rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.1));
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.15);
}

.mini-card-inner {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.95), rgba(10, 14, 26, 0.98));
  border-radius: calc(var(--radius-lg) - 2px);
  padding: 3px 9px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}

.mini-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.mini-card-percent {
  font-size: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 12px;
}

.mini-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.mini-stat-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.mini-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.mini-card-footer {
  margin-top: auto;
}

.mini-card-status {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-active {
  background: rgba(0, 230, 118, 0.1);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.15);
}

.status-warmup {
  background: rgba(255, 152, 0, 0.1);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.15);
}

.status-paused {
  background: rgba(255, 215, 64, 0.1);
  color: var(--phase-rest);
  border: 1px solid rgba(255, 215, 64, 0.15);
}

.status-done {
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(108, 99, 255, 0.15);
}

/* ============ CIRCULAR PROGRESS (Individual por aluno) ============ */
.circular-progress {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 4;
}

.progress-ring-fill {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease, stroke 0.4s ease;
}

.progress-ring.spinning {
  animation: spin-ring 3s linear infinite;
  transform-origin: center;
}

.progress-percent {
  position: absolute;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin-ring {
  from {
    transform: rotate(-90deg);
  }

  to {
    transform: rotate(270deg);
  }
}

/* Transmit empty */
.transmitir-empty {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
  font-size: 18px;
  grid-column: 1 / -1;
}

/* ============ PHASE OVERLAY ============ */
.phase-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.phase-overlay.active {
  opacity: 1;
}

.phase-overlay-text {
  font-size: 120px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 8px;
  color: #fff;
  /* Fallback */
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Cores específicas para sobrepor o #fff caso não use style.color no JS */
.phase-overlay-text.phase-pedalando {
  color: var(--phase-pedaling);
}

.phase-overlay-text.phase-recuperacao {
  color: var(--phase-recovery);
}

.phase-overlay-text.phase-descanso {
  color: var(--phase-rest);
}

.phase-overlay-text.phase-warning {
  color: #ffeb3b;
}

.phase-overlay.active .phase-overlay-text {
  transform: scale(1);
  animation: overlay-glow-blink 0.8s ease-in-out infinite alternate;
}

@keyframes overlay-glow-blink {
  0% {
    opacity: 0.8;
    text-shadow: 0 0 20px currentColor, 0 10px 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 70px currentColor, 0 10px 40px rgba(0, 0, 0, 1);
    transform: scale(1.02);
  }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .header {
    padding: 0 16px;
  }

  .header-content {
    height: 60px;
  }

  .logo h1 {
    font-size: 16px;
  }

  .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .main-content {
    padding: 16px;
  }

  .card-header {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .card-header-right {
    align-items: flex-start;
  }

  .phase-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .phase-timer {
    font-size: 32px;
  }

  .students-section {
    padding: 16px;
  }

  .student-row {
    grid-template-columns: 1fr 70px 70px 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal {
    width: 95%;
  }

  .transmitir-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .transmitir-col-center,
  .transmitir-col-right {
    align-items: center;
    text-align: center;
  }

  .transmitir-timer {
    font-size: 48px;
  }
}