/**
 * TimerDaddy - Apple Intelligence Timer Component Stylesheet
 * Radiant glowing auras, direct editable digits, quick duration pills, and sleek display modes.
 */

/* -------------------------------------------------------------------------
   Timer Stage Container & Glowing Aura
   ------------------------------------------------------------------------- */
.timer-container {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  margin-bottom: 3.5rem;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

/* Subtle glowing top border accent */
.timer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--ai-gradient-glow);
  opacity: 0.8;
  filter: blur(0.5px);
}

.timer-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0;
  min-height: 260px;
}

/* -------------------------------------------------------------------------
   Timer Digits - Direct Click-to-Edit & Glowing States
   ------------------------------------------------------------------------- */
.timer-digits-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-lg);
  padding: 0.25rem 1rem;
  transition: all var(--transition-fast);
}

.timer-digits-wrapper:hover {
  background: rgba(255, 255, 255, 0.05);
}

.timer-digits-wrapper:hover .edit-hint {
  opacity: 1;
  transform: translateY(0);
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: clamp(3.8rem, 12vw, 7.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  user-select: none;
  margin: 0.5rem 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .timer-digits {
  color: #1d1d1f;
  text-shadow: none;
}

.timer-digits.completed {
  color: var(--success);
  text-shadow: 0 0 35px rgba(16, 185, 129, 0.6);
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.edit-hint {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ai-purple);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

/* Status Badge */
.timer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.timer-status-badge.running {
  background: var(--primary-subtle);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--primary);
  box-shadow: 0 0 15px -2px rgba(168, 85, 247, 0.3);
}

.timer-status-badge.paused {
  background: var(--warning-subtle);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--warning);
}

.timer-status-badge.finished {
  background: var(--success-subtle);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--success);
  box-shadow: 0 0 15px -2px rgba(16, 185, 129, 0.4);
}

/* -------------------------------------------------------------------------
   Direct Time Input Drawer (Prominent & Intuitive)
   ------------------------------------------------------------------------- */
.direct-input-drawer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto 1rem;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quick-type-input-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-type-input-group input {
  width: 78px;
  height: 52px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-input);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.quick-type-input-group input:focus {
  border-color: var(--border-focus);
  box-shadow: var(--focus-ring);
  background-color: rgba(255, 255, 255, 0.12);
}

.quick-type-colon {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   Circular Visual Progress Ring
   ------------------------------------------------------------------------- */
.timer-circle-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 1.5rem auto;
}

.visual-timer-disk {
  width: 290px;
  height: 290px;
  margin: 1.5rem auto;
}

.timer-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
  overflow: visible;
}

.timer-svg-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
}

.timer-svg-progress {
  fill: none;
  stroke: url(#ai-ring-gradient);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear, stroke var(--transition-fast);
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
}

.timer-circle-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-circle-content .timer-digits {
  font-size: 2.9rem;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Horizontal Luminous Progress Bar
   ------------------------------------------------------------------------- */
.timer-progress-container {
  width: 100%;
  max-width: 580px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 1.5rem auto;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.timer-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--ai-gradient-glow);
  border-radius: var(--radius-full);
  transition: width 0.15s linear;
  box-shadow: 0 0 15px 0 rgba(168, 85, 247, 0.6);
}

/* -------------------------------------------------------------------------
   Controls Bar & Apple Secondary Controls
   ------------------------------------------------------------------------- */
.timer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.timer-controls .btn {
  min-width: 130px;
}

.timer-secondary-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.icon-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.icon-control-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.icon-control-btn.is-active {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: rgba(168, 85, 247, 0.4);
}

/* -------------------------------------------------------------------------
   Preset Grid & Duration Chips
   ------------------------------------------------------------------------- */
.presets-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.preset-chip {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-fast);
}

.preset-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.preset-chip.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .preset-chip.active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

/* -------------------------------------------------------------------------
   Fullscreen Mode Overhaul (Robust Cross-Device & Clean Responsive Layout)
   ------------------------------------------------------------------------- */
.timer-container:fullscreen,
.timer-container:-webkit-full-screen,
.timer-container.is-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--bg-body) !important;
  padding: 2rem 1.5rem !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99999 !important;
}

.timer-container:fullscreen::before,
.timer-container:-webkit-full-screen::before,
.timer-container.is-fullscreen::before {
  display: none !important;
}

/* Hide clutter, setups, and secondary links during fullscreen */
.timer-container:fullscreen .presets-grid,
.timer-container:-webkit-full-screen .presets-grid,
.timer-container.is-fullscreen .presets-grid,

.timer-container:fullscreen .direct-input-drawer,
.timer-container:-webkit-full-screen .direct-input-drawer,
.timer-container.is-fullscreen .direct-input-drawer,

.timer-container:fullscreen .timer-secondary-controls,
.timer-container:-webkit-full-screen .timer-secondary-controls,
.timer-container.is-fullscreen .timer-secondary-controls,

.timer-container:fullscreen .edit-hint,
.timer-container:-webkit-full-screen .edit-hint,
.timer-container.is-fullscreen .edit-hint,

.timer-container:fullscreen .timer-quick-adjusters,
.timer-container:-webkit-full-screen .timer-quick-adjusters,
.timer-container.is-fullscreen .timer-quick-adjusters,

.timer-container:fullscreen .interval-config-row,
.timer-container:-webkit-full-screen .interval-config-row,
.timer-container.is-fullscreen .interval-config-row,

.timer-container:fullscreen #cdTargetRow,
.timer-container:-webkit-full-screen #cdTargetRow,
.timer-container.is-fullscreen #cdTargetRow,

.timer-container:fullscreen #studyLogWrapper,
.timer-container:-webkit-full-screen #studyLogWrapper,
.timer-container.is-fullscreen #studyLogWrapper {
  display: none !important;
}

/* Fullscreen Exit Button */
.fullscreen-exit-btn {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.timer-container:fullscreen .fullscreen-exit-btn,
.timer-container:-webkit-full-screen .fullscreen-exit-btn,
.timer-container.is-fullscreen .fullscreen-exit-btn {
  display: inline-flex !important;
}

/* Default Fullscreen Stage & Digits */
.timer-container:fullscreen .timer-stage,
.timer-container:-webkit-full-screen .timer-stage,
.timer-container.is-fullscreen .timer-stage {
  padding: 0 !important;
  min-height: auto !important;
  max-width: 100% !important;
}

.timer-container:fullscreen .timer-digits,
.timer-container:-webkit-full-screen .timer-digits,
.timer-container.is-fullscreen .timer-digits {
  font-size: clamp(5.5rem, 18vw, 13rem);
  line-height: 1;
}

/* Progress bar in fullscreen */
.timer-container:fullscreen .timer-progress-container,
.timer-container:-webkit-full-screen .timer-progress-container,
.timer-container.is-fullscreen .timer-progress-container {
  max-width: min(75vw, 750px) !important;
  height: 14px !important;
  margin: 1.5rem auto !important;
}

/* Circular Timer in Fullscreen (Visual Timer & Homepage Circle Mode) */
.timer-container:fullscreen .timer-circle-wrap,
.timer-container:-webkit-full-screen .timer-circle-wrap,
.timer-container.is-fullscreen .timer-circle-wrap {
  width: min(58vh, 58vw, 480px) !important;
  height: min(58vh, 58vw, 480px) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0.75rem auto !important;
}

.timer-container:fullscreen .timer-circle-wrap .timer-digits,
.timer-container:-webkit-full-screen .timer-circle-wrap .timer-digits,
.timer-container.is-fullscreen .timer-circle-wrap .timer-digits {
  font-size: clamp(2.8rem, 9vmin, 5.2rem) !important;
  line-height: 1 !important;
  margin: 0 !important;
  text-align: center !important;
}

.timer-container:fullscreen .timer-circle-content #vtPercent,
.timer-container:-webkit-full-screen .timer-circle-content #vtPercent,
.timer-container.is-fullscreen .timer-circle-content #vtPercent {
  font-size: clamp(1rem, 2.5vmin, 1.4rem) !important;
  margin-top: 0.4rem !important;
  font-weight: 700 !important;
}

/* Primary Controls in Fullscreen */
.timer-container:fullscreen .timer-controls,
.timer-container:-webkit-full-screen .timer-controls,
.timer-container.is-fullscreen .timer-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.25rem !important;
  margin-top: 2rem !important;
}

.timer-container:fullscreen .timer-controls .btn-lg,
.timer-container:-webkit-full-screen .timer-controls .btn-lg,
.timer-container.is-fullscreen .timer-controls .btn-lg {
  font-size: 1.2rem !important;
  padding: 1rem 2.25rem !important;
}

/* Hide the Fullscreen trigger button inside controls while already in fullscreen */
.timer-container:fullscreen .timer-controls [id*="Fs"],
.timer-container:fullscreen .timer-controls [id*="fs"],
.timer-container:-webkit-full-screen .timer-controls [id*="Fs"],
.timer-container:-webkit-full-screen .timer-controls [id*="fs"],
.timer-container.is-fullscreen .timer-controls [id*="Fs"],
.timer-container.is-fullscreen .timer-controls [id*="fs"] {
  display: none !important;
}

/* Classroom Fullscreen */
.timer-container:fullscreen .classroom-title-input,
.timer-container:-webkit-full-screen .classroom-title-input,
.timer-container.is-fullscreen .classroom-title-input {
  font-size: clamp(1.6rem, 4vw, 2.8rem) !important;
  max-width: min(85vw, 900px) !important;
  margin-bottom: 1.5rem !important;
}

/* Interval Timer Fullscreen */
.timer-container:fullscreen .interval-phase-badge,
.timer-container:-webkit-full-screen .interval-phase-badge,
.timer-container.is-fullscreen .interval-phase-badge {
  font-size: clamp(1.4rem, 3.5vw, 2.5rem) !important;
  padding: 0.55rem 2.5rem !important;
  margin-bottom: 1rem !important;
}

.timer-container:fullscreen .interval-rounds-display,
.timer-container:-webkit-full-screen .interval-rounds-display,
.timer-container.is-fullscreen .interval-rounds-display {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  margin-bottom: 0.75rem !important;
}

/* Pomodoro Fullscreen */
.timer-container:fullscreen .pomodoro-tabs,
.timer-container:-webkit-full-screen .pomodoro-tabs,
.timer-container.is-fullscreen .pomodoro-tabs {
  transform: scale(1.1) !important;
  margin-bottom: 1.75rem !important;
}

.timer-container:fullscreen #pomoTaskInput,
.timer-container:-webkit-full-screen #pomoTaskInput,
.timer-container.is-fullscreen #pomoTaskInput {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  max-width: min(80vw, 600px) !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px dashed var(--border-color) !important;
  border-radius: 0 !important;
}

.timer-container:fullscreen .pomo-stats,
.timer-container:-webkit-full-screen .pomo-stats,
.timer-container.is-fullscreen .pomo-stats {
  font-size: clamp(1rem, 2.2vw, 1.35rem) !important;
  margin-top: 1.25rem !important;
}

/* Stopwatch Fullscreen Laps */
.timer-container:fullscreen .laps-container,
.timer-container:-webkit-full-screen .laps-container,
.timer-container.is-fullscreen .laps-container {
  max-height: 22vh !important;
  overflow-y: auto !important;
  margin-top: 1.5rem !important;
}

/* -------------------------------------------------------------------------
   Stopwatch Laps Table
   ------------------------------------------------------------------------- */
.laps-container {
  margin-top: 2.25rem;
  width: 100%;
  max-width: 620px;
}

.laps-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.98rem;
}

.laps-table th, .laps-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  text-align: right;
}

.laps-table th:first-child, .laps-table td:first-child {
  text-align: left;
}

.laps-table tr.lap-fastest td {
  color: var(--success);
  font-weight: 700;
}

.laps-table tr.lap-slowest td {
  color: var(--danger);
}

/* -------------------------------------------------------------------------
   Pomodoro Mode Tabs
   ------------------------------------------------------------------------- */
.pomodoro-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
}

.pomo-tab-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pomo-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.pomo-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   Interval Timer Display
   ------------------------------------------------------------------------- */
.interval-phase-badge {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1.5rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.interval-phase-badge.work {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 20px -2px rgba(244, 63, 94, 0.4);
}

.interval-phase-badge.rest {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px -2px rgba(16, 185, 129, 0.4);
}

.interval-rounds-display {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------------------
   Classroom Big Screen Mode
   ------------------------------------------------------------------------- */
.classroom-theme {
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 60px -10px rgba(168, 85, 247, 0.4);
}

.classroom-title-input {
  max-width: 520px;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  border: none;
  border-bottom: 2px dashed var(--border-color);
  border-radius: 0;
  background: transparent;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.classroom-title-input:focus {
  border-bottom-color: var(--primary);
  box-shadow: none;
}

/* -------------------------------------------------------------------------
   Light Theme Adaptations for Timers
   ------------------------------------------------------------------------- */
[data-theme="light"] .timer-container {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.08), 0 0 40px -10px rgba(147, 51, 234, 0.12);
}

[data-theme="light"] .timer-container::before {
  opacity: 0.35;
}

[data-theme="light"] .timer-digits-wrapper:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .timer-svg-bg {
  stroke: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .timer-progress-container {
  background-color: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .direct-input-drawer {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .quick-type-input-group input {
  background-color: #ffffff;
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .quick-type-input-group input:focus {
  background-color: #ffffff;
  border-color: var(--border-focus);
}

[data-theme="light"] .icon-control-btn {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .icon-control-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .icon-control-btn.is-active {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: rgba(147, 51, 234, 0.35);
}

[data-theme="light"] .preset-chip {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .preset-chip:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .preset-chip.active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .pomo-tabs {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pomo-tab-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .timer-status-badge {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .fullscreen-exit-btn {
  background: #ffffff;
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

