:root {
  --bg-dark: #07070a;
  --panel-bg: #101016;
  --card-bg: #171720;
  --accent: #38bdf8;
  --accent-neon: #0284c7;
  --text-main: #ffffff;
  --text-sub: #8e8e9f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================================================
   SISTEMA DE NOTIFICACIONES TOAST (SIN ALERTS)
   ========================================================= */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background: #151520;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 280px;
  max-width: 400px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s, transform 0.3s;
}

.toast-item.toast-error {
  border-left-color: #ff4545;
}

.toast-item.toast-warning {
  border-left-color: #fbbf24;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #888;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  width: auto;
}

.toast-close-btn:hover {
  color: #fff;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =========================================================
   VISTA 1: SETUP
   ========================================================= */
#setup-view {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 16px;
  overflow-y: auto;
}

.config-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.config-card h1 {
  font-size: 1.5rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 4px;
}

.config-subtitle {
  font-size: 0.82rem;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--text-sub);
}

input, select, button, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2a2a38;
  background: #0c0c12;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}

.source-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.source-btn {
  flex: 1;
  background: #1a1a24;
  border: 1px solid #333;
  padding: 8px;
  cursor: pointer;
  font-size: 0.82rem;
}

.source-btn.active {
  background: var(--accent);
  color: #000;
  font-weight: bold;
  border-color: var(--accent);
}

.member-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.avatar-file-label {
  width: 38px;
  height: 38px;
  background: #20202a;
  border: 1px dashed #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  font-size: 0.8rem;
}

.avatar-file-label input {
  display: none;
}

.member-color-input {
  width: 44px;
  height: 38px;
  padding: 2px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  background: transparent;
}

#members-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 6px;
}

.btn-start {
  background: linear-gradient(135deg, var(--accent), var(--accent-neon));
  color: #000;
  font-weight: 800;
  cursor: pointer;
  border: none;
  padding: 12px;
}

.btn-start:hover {
  opacity: 0.92;
}

/* =========================================================
   VISTA 2: STAGE & EDITOR (MODO NORMAL)
   ========================================================= */
#stage-view {
  display: none;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  overflow: hidden;
}

.cc-stage-container {
  height: 34vh;
  width: 100%;
  background: radial-gradient(circle at 50% 30%, #151824 0%, #08080c 80%);
  border-bottom: 2px solid #20202e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  position: relative;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.cc-members-top-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.cc-member-card {
  flex: 0 1 130px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
}

/* Modo Normal: 100% Cuadradas y Proporcionadas */
.cc-member-photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a24;
  border: 3px solid transparent;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.65;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  position: relative;
}

.cc-member-key-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #444;
  color: var(--singer-color, #fff);
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 4px;
  padding: 1px 5px;
  text-transform: uppercase;
}

.cc-member-name-tag {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #777788;
  transition: all 0.25s ease;
  text-align: center;
}

.cc-member-card.is-singing .cc-member-photo-frame {
  filter: grayscale(0%) brightness(1.05);
  opacity: 1;
  transform: translateY(-3px) scale(1.03);
  border-color: var(--singer-color, var(--accent));
  box-shadow: 0 0 24px var(--singer-color, var(--accent));
}

.cc-member-card.is-singing .cc-member-name-tag {
  color: var(--singer-color, #fff);
  text-shadow: 0 0 10px var(--singer-color, rgba(255, 255, 255, 0.8));
}

/* Letras ocultas en modo edición */
.cc-lyrics-display-area {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.cc-adlibs-dedicated-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.cc-adlib-line-item {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.9));
}

.cc-main-lyrics-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cc-lyrics-main-text {
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.5px;
  white-space: pre-line;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9));
}

/* Área de Thumbnail Mode (Título y Subtítulo) */
.cc-thumbnail-display-area {
  display: none;
  width: 100%;
  max-width: 85vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto 0;
  gap: 8px;
}

.cc-thumb-title {
  font-size: clamp(2.8rem, 4vw, 5.5rem);
  font-weight: 900;
  text-transform: capitalize;
  background: linear-gradient(135deg, #ffe066 0%, #ff7a18 50%, #ff2a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 122, 24, 0.7));
  letter-spacing: 1px;
  line-height: 1.15;
}

.cc-thumb-subtitle {
  font-size: clamp(1.1rem, 1.4vw, 2rem);
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

/* =========================================================
   PANEL INFERIOR DE EDICIÓN
   ========================================================= */
.cc-editor-bottom-panel {
  height: 66vh;
  background: var(--panel-bg);
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  gap: 10px;
  overflow: hidden;
}

.cc-editor-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-btn-group,
.record-buttons-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-ctrl {
  background: #1c1c28;
  border: 1px solid #333348;
  color: #fff;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 6px;
  width: auto;
  transition: all 0.15s ease;
}

.btn-ctrl:hover {
  border-color: var(--accent);
  color: #fff;
}

.cc-transport-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #14141e;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #28283a;
}

.video-hidden-holder {
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  position: absolute;
}

.seek-slider {
  flex: 1;
  height: 6px;
  accent-color: var(--accent);
  cursor: pointer;
  padding: 0;
}

.volume-control-box {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #0c0c12;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.volume-slider {
  width: 55px;
  height: 4px;
  accent-color: var(--accent);
  cursor: pointer;
}

.time-tracker-badge {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.cc-events-workspace {
  flex: 1;
  background: #14141e;
  border: 1px solid #28283a;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.cc-workspace-split {
  display: flex;
  gap: 16px;
  flex: 1;
  overflow: hidden;
}

.cc-col-events,
.cc-col-bank {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #101017;
  border: 1px solid #20202e;
  border-radius: 10px;
  padding: 12px;
}

.cc-events-list,
.cc-lyrics-bank-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.cc-event-card {
  background: #191924;
  border: 1px solid #2a2a3c;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cc-members-checkboxes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.member-chip-toggle {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #444;
  background: #101016;
  color: #888;
}

.member-chip-toggle.active {
  background: var(--chip-color, var(--accent));
  color: #000;
  border-color: var(--chip-color, var(--accent));
}

.cc-event-type-select {
  width: 110px;
  padding: 3px 6px;
  font-size: 0.75rem;
}

.cc-time-input {
  width: 65px;
  padding: 3px 6px;
  font-size: 0.75rem;
}

.btn-del {
  background: transparent;
  border: none;
  color: #ff4545;
  cursor: pointer;
  width: auto;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 2px 6px;
}

.btn-del:hover {
  color: #ff7777;
}

.event-textarea-input {
  width: 100%;
  background: #0d0d14;
  border: 1px solid #29293a;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #fff;
  border-radius: 6px;
  resize: vertical;
  line-height: 1.4;
  font-family: inherit;
}

.event-textarea-input:focus {
  border-color: var(--accent);
}

.cc-bank-card {
  background: #161622;
  border: 1px solid #282838;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.cc-bank-card-content {
  flex: 1;
  user-select: text;
  cursor: text;
}

.cc-bank-card-author {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cc-bank-card-text {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.4;
  white-space: pre-line;
}

.btn-copy-bank {
  background: #20202e;
  border: 1px solid #38384d;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 6px 10px;
  width: auto;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-copy-bank:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn-paste-line {
  background: #20202e;
  border: 1px solid #38384d;
  color: #fff;
  font-size: 0.74rem;
  font-weight: bold;
  padding: 6px 10px;
  width: auto;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-paste-line:hover {
  background: var(--accent);
  color: #000;
}

/* =========================================================
   MODO GRABACIÓN 16:9 RESPONSIVE (CUADRADAS NATIVAS & ESTIRADO PHOTOCARD)
   ========================================================= */
body.clean-recording-mode .cc-stage-container,
body.thumbnail-mode-active .cc-stage-container {
  height: 100vh !important;
  padding: 3.5vh 3vw 5.5vh 3vw !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Fila Superior Default (2 a 6 integrantes): 100% Cuadradas y Nítidas */
body.clean-recording-mode .cc-members-top-row,
body.thumbnail-mode-active .cc-members-top-row {
  width: auto !important;
  max-width: 82vw !important;
  gap: clamp(14px, 1.8vw, 32px) !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

body.clean-recording-mode .cc-member-card,
body.thumbnail-mode-active .cc-member-card {
  flex: 0 0 auto !important;
  width: clamp(160px, 13.5vw, 290px) !important; /* Mismo ancho y alto exactos de 5 miembros */
}

body.clean-recording-mode .cc-member-photo-frame,
body.thumbnail-mode-active .cc-member-photo-frame {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important; /* Cuadradas originales perfectas */
  height: auto !important;
  border-radius: clamp(12px, 1.2vw, 22px) !important;
  border-width: clamp(3px, 0.3vw, 6px) !important;
}

body.clean-recording-mode .cc-member-name-tag,
body.thumbnail-mode-active .cc-member-name-tag {
  font-size: clamp(0.95rem, 1.15vw, 1.6rem) !important;
  margin-top: clamp(8px, 1vh, 16px) !important;
  letter-spacing: 1px !important;
}

body.clean-recording-mode .cc-member-key-badge,
body.thumbnail-mode-active .cc-member-key-badge {
  display: none !important;
}

/* CASO COMPACTO (7 a 8 integrantes) */
body.clean-recording-mode .cc-members-top-row.density-compact,
body.thumbnail-mode-active .cc-members-top-row.density-compact {
  width: 86vw !important;
  max-width: 86vw !important;
  gap: clamp(10px, 1.1vw, 20px) !important;
}

body.clean-recording-mode .cc-members-top-row.density-compact .cc-member-card,
body.thumbnail-mode-active .cc-members-top-row.density-compact .cc-member-card {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: clamp(130px, 10.5vw, 240px) !important;
}

body.clean-recording-mode .cc-members-top-row.density-compact .cc-member-photo-frame,
body.thumbnail-mode-active .cc-members-top-row.density-compact .cc-member-photo-frame {
  aspect-ratio: 1 / 1.18 !important;
}

/* CASO ULTRA COMPACTO (9 a 10 integrantes): Formato Photocard Vertical */
body.clean-recording-mode .cc-members-top-row.density-ultra-compact,
body.thumbnail-mode-active .cc-members-top-row.density-ultra-compact {
  width: 90vw !important;
  max-width: 90vw !important;
  gap: clamp(6px, 0.8vw, 16px) !important;
}

body.clean-recording-mode .cc-members-top-row.density-ultra-compact .cc-member-card,
body.thumbnail-mode-active .cc-members-top-row.density-ultra-compact .cc-member-card {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: clamp(110px, 8.4vw, 200px) !important;
}

body.clean-recording-mode .cc-members-top-row.density-ultra-compact .cc-member-photo-frame,
body.thumbnail-mode-active .cc-members-top-row.density-ultra-compact .cc-member-photo-frame {
  aspect-ratio: 1 / 1.35 !important; /* Estirado vertical elegante, ocupa la misma altura que 5 miembros */
  border-radius: clamp(10px, 0.9vw, 18px) !important;
  border-width: clamp(2.5px, 0.25vw, 5px) !important;
}

body.clean-recording-mode .cc-members-top-row.density-ultra-compact .cc-member-name-tag,
body.thumbnail-mode-active .cc-members-top-row.density-ultra-compact .cc-member-name-tag {
  font-size: clamp(0.78rem, 0.9vw, 1.25rem) !important;
}

/* Área central de lyrics en modo grabación */
body.clean-recording-mode .cc-lyrics-display-area {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 85vw !important;
  max-width: 85vw !important;
  margin: auto 0 !important;
  gap: clamp(10px, 1.5vh, 20px) !important;
}

body.clean-recording-mode .cc-adlib-line-item {
  font-size: clamp(1.1rem, 1.35vw, 2.1rem) !important;
}

body.clean-recording-mode .cc-lyrics-main-text {
  font-size: clamp(1.4rem, 1.75vw, 2.7rem) !important;
}

body.clean-recording-mode .cc-editor-bottom-panel,
body.thumbnail-mode-active .cc-editor-bottom-panel {
  display: none !important;
}

/* =========================================================
   COMPORTAMIENTO EXCLUSIVO DE THUMBNAIL MODE
   ========================================================= */
body.thumbnail-mode-active #thumb-floating-bar {
  display: flex !important;
}

body.thumbnail-mode-active .cc-lyrics-display-area {
  display: none !important;
}

body.thumbnail-mode-active .cc-thumbnail-display-area {
  display: flex !important;
}

/* En Thumbnail Mode, todos los integrantes se iluminan al unísono */
body.thumbnail-mode-active .cc-member-photo-frame {
  filter: grayscale(0%) brightness(1.05) !important;
  opacity: 1 !important;
  transform: translateY(-3px) scale(1.03) !important;
  border-color: var(--singer-color, var(--accent)) !important;
  box-shadow: 0 0 24px var(--singer-color, var(--accent)) !important;
}

body.thumbnail-mode-active .cc-member-name-tag {
  color: var(--singer-color, #fff) !important;
  text-shadow: 0 0 10px var(--singer-color, rgba(255, 255, 255, 0.8)) !important;
}

/* Isla Flotante de Grabación & Thumbnail */
.recording-floating-island {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 250;
  display: none;
  background: rgba(15, 15, 22, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px 10px;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.clean-recording-mode #recording-floating-bar {
  display: flex !important;
}

.btn-island-toggle {
  background: #252535;
  border: 1px solid #444;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  width: auto;
}

.btn-island-toggle:hover {
  background: #333348;
  border-color: var(--accent);
}

.island-expanded-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.recording-floating-island.is-collapsed {
  padding: 4px;
  border-radius: 8px;
}

.recording-floating-island.is-collapsed .island-expanded-controls {
  display: none;
}

.recording-floating-island.is-collapsed .btn-island-toggle {
  padding: 6px 10px;
}

.btn-float {
  background: #252535;
  border: 1px solid #444;
  color: #fff;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  width: auto;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s;
}

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

.btn-float.btn-exit {
  background: #3a1515;
  border-color: #ff4545;
  color: #ff8888;
}

.btn-float.btn-exit:hover {
  background: #ff4545;
  color: #fff;
}

/* =========================================================
   MODALES Y CAJA DE GUARDADO FIX (NO-COLLAPSE)
   ========================================================= */
.app-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid #333;
  border-radius: 14px;
  width: 100%;
  max-width: 500px;
  padding: 20px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.save-modal-box {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

#save-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#save-json-textarea {
  width: 100%;
  word-break: break-all;
  white-space: pre-wrap;
  background: #09090e;
  border: 1px solid #282838;
  border-radius: 8px;
  padding: 10px;
  color: #cbd5e1;
}

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

.modal-header h2 {
  font-size: 1.15rem;
  color: var(--accent);
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: #888;
  font-size: 1.2rem;
  cursor: pointer;
  width: auto;
}

.save-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #20202e;
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto;
  animation: spinLoading 0.75s linear infinite;
}

@keyframes spinLoading {
  to { transform: rotate(360deg); }
}