/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-gradient: linear-gradient(180deg, #05040e 0%, #0d0826 40%, #15093a 100%);
  --brand-purple: #85439a; /* Manual Corporativo Centauro */
  --brand-orange: #f79131; /* Manual Corporativo Centauro */
  --live-red: #ff3366;
  --scheduled-green: #00ff87;
  --finished-gray: #888899;
  
  --text-primary: #ffffff;
  --text-secondary: #c8c8e6;
  --panel-bg: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(255, 255, 255, 0.08);
  --glow-shadow: 0 0 25px rgba(247, 145, 49, 0.25);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* WIDGET CONTAINER (Vertical 9:16 Signage Aspect) */
.widget-container {
  width: 100%;
  height: 100%;
  padding: 2vh 4vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(133, 67, 154, 0.22) 0%, transparent 60%);
}

/* SLIDES SYSTEM */
.slide {
  display: none; /* Hidden by default */
  width: 100%;
  height: 92%; /* Leave space for bottom dots */
  flex-direction: column;
  justify-content: space-between;
  animation: fade-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.slide.active {
  display: flex;
}

/* HEADER: Brand Logo & Status Badge */
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 1.8vh;
  height: 5.5vh;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.centauro-logo-img {
  height: 3.8vh;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  font-size: clamp(0.75rem, 1.6vh, 1rem);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--finished-gray);
  display: inline-block;
}

/* Status variants */
.status-badge.live {
  border-color: rgba(255, 51, 102, 0.4);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
}
.status-badge.live .status-dot {
  background-color: var(--live-red);
  animation: blink 1.2s infinite alternate;
}
.status-badge.live .status-text {
  color: var(--live-red);
}

.status-badge.upcoming {
  border-color: rgba(0, 255, 135, 0.4);
}
.status-badge.upcoming .status-dot {
  background-color: var(--scheduled-green);
}
.status-badge.upcoming .status-text {
  color: var(--scheduled-green);
}

.status-badge.finished {
  border-color: var(--panel-border);
}
.status-badge.finished .status-dot {
  background-color: var(--finished-gray);
}
.status-badge.finished .status-text {
  color: var(--text-secondary);
}

/* -----------------------------------------
   SLIDE 1: MAIN BOARD (Scoreboard)
   ----------------------------------------- */
.match-board {
  display: flex;
  flex-direction: column; /* Stacked layout for massive vertical display */
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 2vh;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 3D FLIP CONTAINER */
.flip-container {
  perspective: 1000px;
  width: clamp(220px, 31vh, 350px);
  height: clamp(220px, 31vh, 350px);
  margin-bottom: 1vh;
}

/* FLIPPER CONTAINER */
.flipper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flip state triggered by JS class */
.flipper.flipped {
  transform: rotateY(180deg);
}

/* FRONT & BACK PANELS */
.front, .back {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.front {
  background-color: rgba(255, 255, 255, 0.02);
  z-index: 2;
  transform: rotateY(0deg);
}

.front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: inset 0 8px 12px rgba(255, 255, 255, 0.15), inset 0 -8px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.back {
  background: radial-gradient(circle at 50% 50%, #15093a 0%, #05040e 100%);
  transform: rotateY(180deg);
  border-color: rgba(247, 145, 49, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(247, 145, 49, 0.3);
}

.star-player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.star-name-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(133, 67, 154, 0.95);
  color: #ffffff;
  font-size: clamp(0.75rem, 1.5vh, 1.1rem);
  font-weight: 700;
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.03rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-flag {
  width: 105%;
  height: 105%;
  object-fit: cover;
}

.team-name {
  font-size: clamp(2.2rem, 4.2vh, 3.8rem);
  font-weight: 900;
  letter-spacing: 0.02rem;
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.8vh;
}

/* Center Display: Score & Clock */
.match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.match-clock {
  font-size: clamp(1.2rem, 2.3vh, 1.6rem);
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  padding: 0.4rem 1.5rem;
  border-radius: 20px;
  margin-bottom: 2vh;
  letter-spacing: 0.1rem;
}

.widget-container.live .match-clock {
  color: var(--brand-orange);
  border-color: rgba(247, 145, 49, 0.3);
  text-shadow: 0 0 10px rgba(247, 145, 49, 0.2);
}

.score-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3vw;
  font-size: clamp(5rem, 10vh, 7.5rem);
  font-weight: 900;
  line-height: 1;
}

.score-number {
  background: linear-gradient(180deg, #ffffff 30%, #e0e0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,0.5));
}

.score-divider {
  color: var(--brand-orange);
  opacity: 0.8;
  animation: pulse-divider 2s infinite ease-in-out;
}

/* Upcoming match view (Enriched Flyer) */
.upcoming-info {
  display: none; /* Controlled by JS */
  flex-direction: column;
  align-items: center;
  gap: 0.8vh;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 1.5vh 4vw;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  width: 85%;
}

/* Vertical Sidebars for Flyer Mode */
.sidebar-vertical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Outfit', sans-serif;
  pointer-events: none;
  z-index: 10;
  display: none; /* Hidden by default */
}

.left-sidebar {
  left: calc(50% - (clamp(220px, 31vh, 350px) / 2) - 100px);
  height: 70vh; /* Spans the entire left side */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100px;
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(255, 255, 255, 0.35);
  font-size: clamp(3.8rem, 9vh, 6.8rem); /* Large letters */
  font-weight: 900;
}

.right-sidebar {
  right: calc(50% - (clamp(220px, 31vh, 350px) / 2) - 75px);
  color: var(--brand-orange);
  text-shadow: 0 4px 20px rgba(247, 145, 49, 0.55);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(2.5rem, 6vh, 4rem);
  font-weight: 900;
  letter-spacing: 0.15rem;
  text-align: center;
}

.widget-container.scheduled .sidebar-vertical {
  display: block;
}

.widget-container.scheduled .left-sidebar {
  display: flex;
}

.kickoff-group {
  font-size: clamp(1rem, 2.2vh, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.1rem;
  color: var(--brand-orange);
  text-transform: uppercase;
}

.kickoff-label {
  font-size: clamp(0.75rem, 1.6vh, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.15rem;
  color: var(--text-secondary);
}

.kickoff-time {
  font-size: clamp(2.4rem, 4.5vh, 3.5rem);
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff, #e0e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5vh 0;
}

.kickoff-date {
  font-size: clamp(0.9rem, 1.8vh, 1.2rem);
  font-weight: 500;
  color: var(--text-secondary);
}

.kickoff-stadium {
  font-size: clamp(0.95rem, 1.9vh, 1.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-top: 1vh;
}

.kickoff-city {
  font-size: clamp(0.85rem, 1.7vh, 1.1rem);
  font-weight: 500;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* -----------------------------------------
   SLIDE 2: CATEGORIZED EVENTS
   ----------------------------------------- */
.mini-scoreboard {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  background: rgba(133, 67, 154, 0.05);
  border: 1px solid var(--panel-border);
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  margin-top: 1.5vh;
  margin-bottom: 2vh;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mini-team {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  color: var(--text-secondary);
}

.mini-score {
  font-weight: 900;
  font-size: 1.35rem;
  background: linear-gradient(180deg, #ffffff, #e0e0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mini-clock {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-orange);
  border-left: 1px solid var(--panel-border);
  padding-left: 1rem;
}

.events-container {
  display: flex;
  flex-direction: column;
  gap: 2.2vh; /* Separation between sections */
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 1vw;
  height: 70vh;
}

.events-container::-webkit-scrollbar {
  width: 4px;
}

.events-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

/* Event Section (Goals / Cards / Subs) */
.event-section {
  display: flex;
  flex-direction: column;
  gap: 1vh;
}

.section-title {
  font-size: clamp(0.9rem, 1.8vh, 1.2rem);
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4vh;
  margin-bottom: 0.4vh;
}

.section-list {
  display: flex;
  flex-direction: column;
  gap: 1.2vh; /* Gap between cards in a group */
}

.no-section-events {
  font-size: clamp(0.85rem, 1.6vh, 1.1rem);
  color: var(--text-secondary);
  opacity: 0.35;
  padding-left: 0.5rem;
}

/* -----------------------------------------
   COMPACT-LEFT METADATA EVENT CARDS
   (Flag Left, Massive Player Name Right)
   ----------------------------------------- */
.event-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem; /* Large gap separating metadata column from name */
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 0.9rem 1.3rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  animation: slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

/* Left Column: Stacked Flag, Minute & Icon */
.event-left-column {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65px;
  gap: 0.3rem;
}

.event-team-flag {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.event-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-minute {
  font-weight: 800;
  color: var(--brand-orange);
  font-size: 0.85rem;
}

.event-icon {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right Column: Massive Player details */
.event-right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.event-player-name {
  font-weight: 900;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vh, 1.75rem); /* Massive, highly readable player name! */
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.event-sub-details {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vh, 1.2rem);
  margin-top: 0.3vh;
}

/* Event Types Styling Customizations */
.event-card.goal {
  border-color: rgba(255, 215, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 120, 0, 0.01) 100%);
}
.event-card.goal .event-minute {
  color: #ffd700;
}
.event-card.goal .event-meta {
  border-color: rgba(255, 215, 0, 0.2);
}

.event-card.red_card {
  border-color: rgba(255, 51, 102, 0.25);
  background: rgba(255, 51, 102, 0.04);
}
.event-card.red_card .event-minute {
  color: var(--live-red);
}
.event-card.red_card .event-meta {
  border-color: rgba(255, 51, 102, 0.2);
}

/* -----------------------------------------
   SLIDE 3: CALL TO ACTION (CTA)
   ----------------------------------------- */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  gap: 1.5vh;
  width: 100%;
}

.cta-title {
  font-size: clamp(1.8rem, 3.4vh, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 2.2vh, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 1.5vh;
}

.cta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vh;
  width: 100%;
}

/* Interactive Poll */
.poll-results {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  width: 100%;
  background: rgba(133, 67, 154, 0.04);
  border: 1px solid var(--panel-border);
  padding: 2.2vh 4vw;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.poll-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
}

.poll-team-name {
  font-size: clamp(1.1rem, 2vh, 1.4rem);
  font-weight: 800;
  width: 32%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poll-bar-wrapper {
  flex: 1;
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.poll-bar {
  height: 100%;
  border-radius: 50px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.poll-bar.home {
  background: linear-gradient(90deg, var(--brand-purple), #a246ec);
  box-shadow: 0 0 10px rgba(133, 67, 154, 0.4);
}

.poll-bar.away {
  background: linear-gradient(90deg, var(--brand-orange), #ffae57);
  box-shadow: 0 0 10px rgba(247, 145, 49, 0.4);
}

.poll-percentage {
  font-size: clamp(1.1rem, 2vh, 1.4rem);
  font-weight: 800;
  color: #ffffff;
  width: 15%;
  text-align: right;
}

/* QR Code Section */
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vh;
  margin-top: 1vh;
}

.qr-code-wrapper {
  width: clamp(130px, 15vh, 180px);
  height: clamp(130px, 15vh, 180px);
  background: #ffffff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-code-svg {
  width: 100%;
  height: 100%;
}

.qr-label {
  font-size: clamp(0.9rem, 1.8vh, 1.1rem);
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  margin-top: 0.5vh;
}

/* -----------------------------------------
   SLIDE INDICATORS (Bottom Dots)
   ----------------------------------------- */
.slide-indicators {
  height: 3.5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.indicator {
  width: 16px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.indicator.active {
  width: 32px;
  background: var(--brand-orange);
  box-shadow: 0 0 12px rgba(247, 145, 49, 0.6);
}

/* -----------------------------------------
   FULLSCREEN GOAL OVERLAY (5,000 Nits Strobe)
   ----------------------------------------- */
.goal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 3, 10, 0.97);
  display: none; /* Controlled by JS */
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(20px);
  animation: fade-in 0.3s ease;
}

/* -----------------------------------------------------------
   GOL: diseño SEGURO para 5.000 nits (sin estrobo).
   Fondo OSCURO siempre + borde glow que "respira" entre los dos
   colores de la bandera del anotador (--fc1/--fc2 los pone el JS).
   Evita picos de corriente (inrush), encandilamiento vial y
   mantiene la legibilidad del nombre del jugador.
   Clases legacy (jordan/algeria/.../generic) reutilizan el mismo estilo seguro.
   ----------------------------------------------------------- */
.goal-overlay.dynamic-flash,
.goal-overlay.active-strobe,
.goal-overlay.jordan-flash,
.goal-overlay.algeria-flash,
.goal-overlay.portugal-flash,
.goal-overlay.norway-flash,
.goal-overlay.generic-flash {
  display: flex;
  background: radial-gradient(circle at 50% 30%, #1a0b33 0%, #07030f 72%);
  animation: gol-breath 1.6s ease-in-out infinite;
}
@keyframes gol-breath {
  0%, 100% { box-shadow: inset 0 0 0 1.4vh var(--fc1, #85439a); }
  50%      { box-shadow: inset 0 0 0 1.4vh var(--fc2, #f79131); }
}

/* STANDBY: espacio del anunciante entre inserciones de slides */
.standby {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2vh;
  background: var(--bg-gradient);
}
.standby.show { display: flex; }
.standby-logo { height: 9vh; max-height: 130px; width: auto; object-fit: contain; opacity: 0.95; }
.standby-text {
  font-size: clamp(1.4rem, 3vh, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.2rem;
  color: var(--brand-orange);
  text-transform: uppercase;
}
.standby-sub { font-size: clamp(0.9rem, 1.8vh, 1.2rem); color: var(--text-secondary); }

/* BARRA DE CONTROL DEL OPERADOR (boton publicar). Oculta salvo ?control=1 */
.control-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 12px;
  background: rgba(0, 0, 0, 0.88);
  border-top: 1px solid var(--panel-border);
  z-index: 200;
}
.ctrl-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-orange));
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.ctrl-btn:hover { filter: brightness(1.08); }
.ctrl-btn:disabled { opacity: 0.5; cursor: wait; }
.ctrl-status { font-weight: 600; color: var(--text-secondary); }
.ctrl-status.ok { color: var(--scheduled-green); }
.ctrl-status.err { color: var(--live-red); }

.goal-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vh; /* Slightly reduced gap to accommodate the image on 9:16 vertical */
  width: 90%;
  animation: zoom-pulse 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.goal-player-img-wrapper {
  width: clamp(140px, 20vh, 220px);
  height: clamp(140px, 20vh, 220px);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  transform-origin: center;
  animation: goal-photo-pop-out 3s cubic-bezier(0.25, 1, 0.5, 1) both;
  animation-delay: 0.4s;
}

@keyframes goal-photo-pop-out {
  0% {
    transform: scale(0) rotate(-15deg);
    opacity: 0;
  }
  30% {
    transform: scale(1.8) rotate(5deg);
    opacity: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 255, 255, 0.8);
    z-index: 50;
  }
  65% {
    transform: scale(1.8) rotate(-5deg);
    opacity: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 255, 255, 0.8);
    z-index: 50;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    z-index: 1;
  }
}

.goal-player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goal-title {
  font-size: clamp(3.5rem, 8vh, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.3rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
  animation: shake 0.3s infinite alternate;
}

.goal-details {
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
}

.goal-player {
  font-size: clamp(2.2rem, 4.5vh, 3.5rem);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.goal-team {
  font-size: clamp(1.3rem, 2.5vh, 1.8rem);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.goal-minute {
  font-size: clamp(1.1rem, 2vh, 1.5rem);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.goal-score {
  font-size: clamp(4.5rem, 9vh, 7.5rem);
  font-weight: 900;
  color: #ffffff;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  padding: 1.8vh 8vw;
  margin-top: 2vh;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
}

/* -----------------------------------------
   ANIMATIONS
   ----------------------------------------- */
@keyframes blink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

@keyframes pulse-divider {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes slide-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade-slide-in {
  0% { opacity: 0; transform: scale(0.98) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes zoom-pulse {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0% { transform: rotate(-2deg) scale(1); }
  100% { transform: rotate(2deg) scale(1.04); }
}

/* ============================================================
   OPERATOR CONTROL PANEL & TOTEM PREVIEW STYLES
   ============================================================ */

body.dashboard-mode {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block !important;
  width: 100% !important;
  height: 100vh !important;
  background: radial-gradient(circle at 10% 20%, rgba(133, 67, 154, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(247, 145, 49, 0.08) 0%, transparent 40%),
              #070414 !important;
}

body.dashboard-mode .widget-container {
  display: none !important;
}

body.screen-mode .operator-dashboard {
  display: none !important;
}

.operator-dashboard {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 100vh;
}

/* HEADER */
.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.db-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.db-logo-wrapper {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.db-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.db-subtitle {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--brand-orange);
  display: block;
  margin-bottom: 2px;
}

.db-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.db-header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00ff87;
  box-shadow: 0 0 10px #00ff87;
  animation: pulse-dot-db 1.8s infinite;
}

@keyframes pulse-dot-db {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 255, 135, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

/* CONTENT LAYOUT */
.db-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}

@media (max-width: 1024px) {
  .db-content {
    grid-template-columns: 1fr;
  }
  .db-column-right {
    display: flex;
    justify-content: center;
    position: static;
  }
}

/* LEFT COLUMN CARDS */
.db-column-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.db-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.db-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.card-title i {
  color: var(--brand-orange);
  font-size: 1rem;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.45;
}

/* FORM GRID */
.db-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, .db-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus, .db-select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(247, 145, 49, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--brand-purple) 0%, #a057b5 100%);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(133, 67, 154, 0.25);
  transition: opacity 0.2s, transform 0.1s;
}

.btn-submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.status-msg {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
}

.status-msg.ok { color: #00ff87; }
.status-msg.err { color: #ff3366; }

/* SWITCH CONTAINER */
.switches-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.switch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.switch-container:hover {
  background: rgba(255, 255, 255, 0.03);
}

.switch-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 80%;
}

.switch-label strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.switch-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.switch-wrapper {
  position: relative;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}

.switch-wrapper input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: .3s;
  border-radius: 24px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.switch-wrapper input:checked + .switch-slider {
  background-color: var(--brand-orange);
}

.switch-wrapper input:checked + .switch-slider:before {
  transform: translateX(24px);
}

/* SIMULATION CONSOLE */
.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sim-actions {
  display: flex;
  gap: 12px;
}

.btn-sim-action {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-sim-action:hover {
  background: rgba(247, 145, 49, 0.08);
  border-color: var(--brand-orange);
}

/* VNNOX PUBLISH PANEL */
.publish-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vnnox-meta-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.vnnox-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.vnnox-meta-row:last-child {
  margin-bottom: 0;
}

.vnnox-label {
  color: var(--text-secondary);
}

.vnnox-val {
  font-weight: 600;
  color: #ffffff;
}

.btn-publish-db {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #ffa550 100%);
  color: #0b0317;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(247, 145, 49, 0.2);
  transition: opacity 0.2s, transform 0.1s;
}

.btn-publish-db:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-publish-db:active {
  transform: translateY(0);
}

.publish-status-db {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
}

.publish-status-db.ok { color: #00ff87; }
.publish-status-db.err { color: #ff3366; }

/* RIGHT COLUMN: PREVIEW TOTEM */
.db-column-right {
  position: -webkit-sticky;
  position: sticky;
  top: 30px;
}

.totem-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.totem-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.totem-title i {
  color: var(--brand-orange);
}

.totem-bezel {
  width: 320px;
  height: 569px;
  background: #000000;
  border: 12px solid #201e26;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75),
              0 0 35px rgba(133, 67, 154, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.totem-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.totem-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.totem-base {
  width: 160px;
  height: 10px;
  background: linear-gradient(180deg, #302d38 0%, #15141a 100%);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   TABS DE VISTA PREVIA DOOH
   ============================================================ */
.totem-header-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  gap: 4px;
  box-sizing: border-box;
}

.totem-tab {
  flex: 1;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.totem-tab:hover {
  color: #ffffff;
}

.totem-tab.active {
  background: var(--brand-purple);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(133, 67, 154, 0.25);
}

.totem-bezel-sim {
  width: 320px;
  height: 569px;
  background: #000000;
  border: 12px solid #201e26;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75),
              0 0 35px rgba(133, 67, 154, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrar verticalmente */
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* ============================================================
   CONTENEDOR DE LA PANTALLA SIMULADA
   ============================================================ */
.sim-screen-container {
  width: 256px; /* Ancho default de simulación */
  height: 512px; /* Alto default de simulación */
  background-color: #0d061e;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
  border: 1px dashed rgba(255,255,255,0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ELEMENTOS DE OVERLAY */
.sim-overlay-element {
  position: absolute;
  width: 100%;
  left: 0;
  box-sizing: border-box;
  z-index: 5;
  transition: all 0.2s ease;
}

/* Cintillo Superior (Header) */
.sim-header {
  top: 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
}

.sim-logo {
  height: 18px;
  max-height: 24px;
  border-radius: 4px;
  object-fit: contain;
}

.sim-badge {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

.sim-dot {
  width: 5px;
  height: 5px;
  background-color: #00ff87;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #00ff87;
}

/* Marcador (Scoreboard) */
.sim-scoreboard {
  top: 18%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.sim-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32%;
  gap: 4px;
}

.sim-flag {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sim-team-name {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.sim-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36%;
}

.sim-clock {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--brand-orange);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.sim-score {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.9);
  color: #ffffff;
}

/* Barra de Evento */
.sim-event-bar {
  top: 48%;
  background: rgba(133, 67, 154, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.sim-event-title {
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.sim-event-desc {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Caja de Llamado a la Acción (CTA) */
.sim-cta-box {
  bottom: 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8%;
}

.sim-cta-text {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--brand-orange);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.sim-cta-sub {
  font-size: 0.5rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.sim-qr-wrapper {
  background: #ffffff;
  padding: 4px;
  border-radius: 6px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.sim-qr-code-svg {
  width: 100%;
  height: 100%;
}

.resolution-indicator {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.4);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 8px;
}

/* ============================================================
   SUBIDA Y GRILLA DE MOCKUPS
   ============================================================ */
.upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--brand-orange);
  background: rgba(247, 145, 49, 0.04);
}

.upload-icon {
  font-size: 2rem;
  color: var(--brand-purple);
}

.upload-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.btn-upload-trigger {
  background: rgba(133, 67, 154, 0.15);
  color: #ffffff;
  border: 1px solid var(--brand-purple);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-upload-trigger:hover {
  background: var(--brand-purple);
  box-shadow: 0 0 10px rgba(133, 67, 154, 0.4);
}

.mockups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 12px;
  margin-top: 16px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.mockup-item {
  position: relative;
  aspect-ratio: 1/2; /* vertical */
  border-radius: 8px;
  overflow: hidden;
  background: #0b0317;
  border: 2px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mockup-item:hover, .mockup-item.selected {
  border-color: var(--brand-orange);
  box-shadow: 0 0 10px rgba(247, 145, 49, 0.3);
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-actions {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mockup-item:hover .mockup-actions {
  opacity: 1;
}

.btn-mockup-delete {
  background: #ff3366;
  color: #ffffff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.4);
  transition: transform 0.1s ease;
}

.btn-mockup-delete:hover {
  transform: scale(1.1);
}

/* CHECKBOXES & FORM INPUTS */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  cursor: pointer;
}

