/* ============================================================
   StairReward — Urbanova × adidas
   Desktop-First CSS with Mobile Breakpoints
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('https://cdn.fontshare.com/wf/7GWNQ5AHAZORLOWZ7ELKPLOIQITAR5S5/NYLYMGXMB4RANWVNJSIHG2IKPZ44CN5E/MT4CWVHB3N2C6KFUZ75QK4JQ2FYK4J4M.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/7GWNQ5AHAZORLOWZ7ELKPLOIQITAR5S5/NYLYMGXMB4RANWVNJSIHG2IKPZ44CN5E/MT4CWVHB3N2C6KFUZ75QK4JQ2FYK4J4M.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/7GWNQ5AHAZORLOWZ7ELKPLOIQITAR5S5/NYLYMGXMB4RANWVNJSIHG2IKPZ44CN5E/MT4CWVHB3N2C6KFUZ75QK4JQ2FYK4J4M.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('https://cdn.fontshare.com/wf/J6PPRPKWXDUIYA47IXLEQB4R4OPVYDQH/N2ZXAXWEHVMLISD2TIXJC7EF4GOY43L4/NXM4Z4TDCMYWBZ7AVI2N6DQ5VMWNENMU.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/J6PPRPKWXDUIYA47IXLEQB4R4OPVYDQH/N2ZXAXWEHVMLISD2TIXJC7EF4GOY43L4/NXM4Z4TDCMYWBZ7AVI2N6DQ5VMWNENMU.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/J6PPRPKWXDUIYA47IXLEQB4R4OPVYDQH/N2ZXAXWEHVMLISD2TIXJC7EF4GOY43L4/NXM4Z4TDCMYWBZ7AVI2N6DQ5VMWNENMU.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('https://cdn.fontshare.com/wf/CKQBK2QBTCDREE7L3MXZ3PPW7LDNJCWU/OTOY7FQFSFOJVZKJWKO2EHUJLOGBDN4Q/4CO2ETY7NITKLUDKMYJ75RHJSPHOJ7XT.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/CKQBK2QBTCDREE7L3MXZ3PPW7LDNJCWU/OTOY7FQFSFOJVZKJWKO2EHUJLOGBDN4Q/4CO2ETY7NITKLUDKMYJ75RHJSPHOJ7XT.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/CKQBK2QBTCDREE7L3MXZ3PPW7LDNJCWU/OTOY7FQFSFOJVZKJWKO2EHUJLOGBDN4Q/4CO2ETY7NITKLUDKMYJ75RHJSPHOJ7XT.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('https://cdn.fontshare.com/wf/XMXWOHABYLQDJ42L65EFRYNVRY37HQCB/B2O4O6V3JMFM2WDCYQI3A47L5U4THDUL/WN5274VQ3AUBDFP74GB4EC4XYJ3EKVNE.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/XMXWOHABYLQDJ42L65EFRYNVRY37HQCB/B2O4O6V3JMFM2WDCYQI3A47L5U4THDUL/WN5274VQ3AUBDFP74GB4EC4XYJ3EKVNE.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/XMXWOHABYLQDJ42L65EFRYNVRY37HQCB/B2O4O6V3JMFM2WDCYQI3A47L5U4THDUL/WN5274VQ3AUBDFP74GB4EC4XYJ3EKVNE.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('https://cdn.fontshare.com/wf/ZX6AQLSFYVDPN2URWO2MQFGTYYOHIS64/TPYPKOYWFQVNJHLLRXD4KFYX4LUOUW4Z/6QH2ALVTTK7IRVO5MYOQQ3OZNXW5SSS3.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/ZX6AQLSFYVDPN2URWO2MQFGTYYOHIS64/TPYPKOYWFQVNJHLLRXD4KFYX4LUOUW4Z/6QH2ALVTTK7IRVO5MYOQQ3OZNXW5SSS3.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/ZX6AQLSFYVDPN2URWO2MQFGTYYOHIS64/TPYPKOYWFQVNJHLLRXD4KFYX4LUOUW4Z/6QH2ALVTTK7IRVO5MYOQQ3OZNXW5SSS3.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'F37 Gruffy';
  src: url('../fonts/F37Gruffy-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'F37 Gruffy';
  src: url('../fonts/F37Gruffy-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'F37 Gruffy';
  src: url('../fonts/F37Gruffy-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('../fonts/SuisseIntl-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Suisse Intl';
  src: url('../fonts/SuisseIntl-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   0. Design Tokens
   ============================================================ */
:root {
  --color-navy:        #040000; /* Negro adidas */
  --color-navy-light:  #1C1C1E; /* Gris oscuro adidas */
  --color-green:       #77EAB8; /* Mint Green #77EAB8 */
  --color-green-dark:  #4BC693; /* Darker Mint Green hover */
  --color-green-pale:  #E4FBF1; /* Pale Mint Green background */
  --color-blue:        #00327E; /* Azul Urbanova */
  --color-white:       #ffffff;
  --color-light-bg:    #F8FAFF; /* Gris Urbanova */
  --color-text-dark:   #040000; /* Negro adidas para textos sobre fondos claros */
  --color-text-muted:  #898A8D; /* Cool Grey 8C adidas */
  --color-border:      #dddddd;
  --font-heading:      'F37 Gruffy', sans-serif;
  --font-body:         'Suisse Intl', sans-serif;
  --font-serif:        'Lora', serif; /* Fallback para Denton (adidas serif) */
  --radius-card:       12px;
  --radius-btn:        8px;
  --shadow-card:       0 4px 20px rgba(0,0,0,0.15);
  --transition:        0.3s ease;
}

/* ============================================================
   1. Global Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--color-navy);
  color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.client-only-body { /* No constraint */ }

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
input, select, textarea { font-family: inherit; outline: none; }

.text-green { color: var(--color-green) !important; }
.text-blue { color: var(--color-blue) !important; }
.text-dark { color: var(--color-text-dark) !important; }

/* ============================================================
   2. App Container & Screen System
   ============================================================ */
.app-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.mobile-screen-view {
  display: none;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-screen-view.active {
  display: flex;
}

/* ============================================================
   3. Logo Styles & Navigation
   ============================================================ */
.logo-urbanova-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.logo-adidas-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* Screen-1 navbar: bigger logos */
#screen-1 .logo-urbanova-img {
  height: 38px;
}
#screen-1 .logo-adidas-img {
  height: 34px;
}
.logo-light {
  filter: brightness(0) invert(1);
}

.mobile-header-logos,
.mobile-header-logos-sm,
.mobile-header-logos-static {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-header-logos-static {
  padding: 20px 40px;
}
.success-logos {
  justify-content: center;
  padding-top: 30px;
}

.navbar-x {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.8;
}

.top-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  z-index: 10;
}

/* ============================================================
   4. SCREEN 1 — Welcome Landing (01 Bienvenida)
   ============================================================ */
#screen-1 {
  position: relative;
  background-image: url('../assets/portada.png?v=2') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  justify-content: space-between;
}
#screen-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 35, 0.7);
  clip-path: polygon(0 0, 100% 0, 0 65%);
  z-index: 1;
}
.cover-stripe-bg {
  display: none;
}
.welcome-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 80px 30px 30px;
  z-index: 5;
}
.welcome-action-box {
  margin-top: 36px; /* Bajar el botón */
}
.welcome-content {
  margin-top: 40px;
}
.welcome-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.05;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.welcome-tagline {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}
.welcome-tagline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 2px;
  background-color: var(--color-green);
}
.welcome-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin-bottom: 20px;
}
.btn-comenzar-welcome {
  background: var(--color-green);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 750;
  font-size: 15px;
  padding: 12px 36px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,212,85,0.3);
}
.btn-comenzar-welcome:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
}
.welcome-badge-section {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: flex-start; /* Align left */
  gap: 8px; /* Spacing between lines */
  padding-bottom: 10px; /* Raise slightly */
}
.wellness-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 4px;
  color: white;
  text-transform: uppercase;
}
.by-adidas {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

/* ============================================================
   5. SCREEN 2 — Unified Autenticación Split Layout (Mockup Exact Match)
   ============================================================ */
#screen-2 {
  position: relative;
  background-color: #F8FAFF !important; /* Light blue-gray from Figma */
  min-height: 100vh;
  width: 100%;
}

.auth-split-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  width: 100% !important;
  padding: 60px 24px 40px 24px !important;
  box-sizing: border-box !important;
}

.auth-left-panel {
  width: 100% !important;
  max-width: 342px !important;
  margin: 0 auto !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.auth-right-panel {
  display: none !important;
}

.auth-header-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 342px !important;
  height: auto !important;
  margin: 0 auto 32px auto !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  gap: 16px !important;
}

.auth-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}
.auth-logos .logo-urbanova-img {
  height: 42px !important;
  width: auto !important;
  filter: brightness(0) !important;
}
.auth-logos .logo-adidas-img {
  height: 36px !important;
  width: auto !important;
  filter: brightness(0) !important;
}
.auth-x {
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  color: #000000 !important;
  line-height: 1 !important;
  margin: 0 2px !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  opacity: 0.8 !important;
}

.auth-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 28px !important;
  line-height: 34px !important;
  color: #00327E !important;
  text-align: center !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: 0px !important;
  flex-shrink: 0 !important;
}

.auth-subtitle {
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  color: #555555 !important;
  text-align: center !important;
  margin: 0 !important;
  text-transform: none !important;
  flex-shrink: 0 !important;
}

.auth-form {
  display: flex !important;
  flex-direction: column !important;
  width: 342px !important;
  gap: 32px !important; /* 32px gap from Figma autolayout */
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

.auth-input-group {
  margin-bottom: 0px !important;
  width: 100% !important;
}

/* Hide password group by default — JS toggles it for admin */
#auth-password-group {
  display: none !important;
}
#auth-password-group.show {
  display: block !important;
}

.auth-input-label {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #00327E !important;
  margin-bottom: 8px !important;
  text-transform: none !important;
  letter-spacing: 0px !important;
}

.auth-input-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 48px !important;
}

.auth-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #A0AEC0 !important;
  font-size: 16px !important;
  pointer-events: none !important;
}

.auth-input {
  width: 100% !important;
  height: 100% !important;
  border: 1px solid #CEE2FF !important;
  border-radius: 8px !important;
  padding: 0 16px 0 44px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  color: #00327E !important;
  background-color: #ffffff !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}
.auth-input::placeholder {
  color: #A0AEC0 !important;
}
.auth-input:focus {
  border-color: #00327E !important;
  outline: none !important;
}

.auth-field-error {
  color: #F15C67 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center !important;
  gap: 6px !important;
  text-align: left !important;
}

.auth-field-error i {
  font-size: 12px !important;
  color: #F15C67 !important;
}

.auth-input.is-invalid {
  border-color: #F15C67 !important;
}

.auth-checkboxes-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 0px !important; /* Managed by auth-form gap */
}
.auth-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  color: #00327E !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.auth-checkbox-label a {
  color: #00327E !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
}
.auth-custom-checkbox {
  width: 16px !important;
  height: 16px !important;
  border: 1px solid #CEE2FF !important;
  border-radius: 4px !important;
  accent-color: #00327E !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  margin-top: 0px !important;
}

.btn-auth-iniciar {
  width: 264px !important;
  height: 48px !important;
  padding: 0 !important;
  background-color: var(--color-green) !important;
  color: #00327E !important;
  border: none !important;
  border-radius: 24px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  font-family: var(--font-heading) !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(119, 234, 184, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  text-transform: none !important;
  flex-shrink: 0 !important;
}
.btn-auth-iniciar:hover {
  background-color: var(--color-green-dark) !important;
}

.auth-bottom-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  gap: 4px !important;
}

.auth-helper-subtext {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  color: #555555 !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  flex-shrink: 0 !important;
}

.auth-required-legend {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  color: #555555 !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  flex-shrink: 0 !important;
}
.mobile-error-text {
  background: #ffe0e0;
  color: #c00;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 10px;
}

/* ============================================================
   6. SCREEN 3 — Dominio No Autorizado (03 Dominio error)
   ============================================================ */
.error-domain-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-white);
  padding: 40px;
  text-align: center;
}
.error-domain-card {
  max-width: 450px;
}
.error-shield-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  color: #e74c3c;
  font-size: 80px;
}
.error-exclamation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: white;
}
.error-domain-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-navy);
  margin-bottom: 16px;
}
.error-domain-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.btn-error-understood {
  padding: 14px 50px;
  border: none;
  background: var(--color-green);
  border-radius: var(--radius-btn);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  transition: var(--transition);
  cursor: pointer;
}
.btn-error-understood:hover {
  background: var(--color-green-dark);
  color: #001c46;
}

/* ============================================================
   7. SCREEN 4 — Registro Exitoso (04 Registro éxito)
   ============================================================ */
.success-screen-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url('../assets/fondos_varios.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 40px;
}
.success-content {
  text-align: center;
  z-index: 2;
  max-width: 500px;
}
.success-check-circle {
  width: 100px;
  height: 100px;
  border: 4px solid var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-check-circle i {
  font-size: 44px;
  color: var(--color-green);
}
.success-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: #77EAB8;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.success-card-white {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}
.company-detected-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  padding: 0;
  margin-bottom: 0;
  text-align: left;
}
.company-icon-box {
  width: 48px;
  height: 72px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.company-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-info {
  display: flex;
  flex-direction: column;
}
.company-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #718096;
}
.company-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: #001C46;
  margin-top: 2px;
}
.success-card-divider {
  border: 0;
  border-top: 1.5px solid #e2e8f0;
  margin: 18px 0;
  width: 100%;
}
.success-bullets-list {
  text-align: left;
  margin-bottom: 0;
}
.success-bullets-list.text-dark .bullet-item {
  color: #001C46;
  font-weight: 600;
  font-size: 13.5px;
}
.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.bullet-item:last-child {
  margin-bottom: 0;
}
.bullet-item i {
  color: var(--color-green);
  font-size: 16px;
}
.btn-comenzar {
  width: 100%;
  padding: 16px;
  background: var(--color-green);
  color: #001c46;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 16px;
}
.btn-comenzar:hover {
  background: var(--color-green-dark);
  color: #001c46;
}
.session-saved-text {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   8. SCREEN 5 & 8 — Escanear QR (05 & 08 Scan)
   ============================================================ */
.scan-screen-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url('../assets/fondos_varios.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.scan-main-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}
.scan-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: white;
  margin: 24px 0 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.scan-desc {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  line-height: 1.35;
  font-weight: 500;
}
.scan-footer-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  text-align: left;
  line-height: 1.4;
}
.info-number-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid white;
  font-size: 11px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.qr-scanner-controls-box {
  display: block; /* Show simulator controls by default for easy mobile testing */
}
.scan-back-link {
  display: block;
  margin-top: 32px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
}
.scan-back-link:hover {
  color: var(--color-white);
  text-decoration: underline;
}
.qr-camera-scanner-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 24px;
}
#qr-camera-reader-in,
#qr-camera-reader-out {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
}
#qr-camera-reader-in video,
#qr-camera-reader-out video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.qr-scanner-frame-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--color-green);
  border-style: solid;
  border-width: 0;
}
.corner.top-left { top: 0; left: 0; border-top-width: 5px; border-left-width: 5px; }
.corner.top-right { top: 0; right: 0; border-top-width: 5px; border-right-width: 5px; }
.corner.bottom-left { bottom: 0; left: 0; border-bottom-width: 5px; border-left-width: 5px; }
.corner.bottom-right { bottom: 0; right: 0; border-bottom-width: 5px; border-right-width: 5px; }
.scan-bar {
  position: absolute;
  left: 5%;
  width: 90%;
  height: 4px;
  background: var(--color-green);
  box-shadow: 0 0 15px var(--color-green), 0 0 5px var(--color-green), 0 0 30px rgba(119, 234, 184, 0.5);
  animation: scan-line 2.5s ease-in-out infinite;
}
.scan-footer-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  text-align: center;
}

/* ============================================================
   9. SCREEN 6 — Confirmar Inicio (06 Confirmar inicio)
   ============================================================ */
.confirm-start-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-white);
  padding: 40px;
  text-align: center;
  color: var(--color-text-dark);
}
.confirm-start-card {
  max-width: 450px;
  width: 100%;
}
.confirm-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.confirm-floor-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4.5rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.confirm-desc {
  font-size: 16px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}
.warning-badge-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f4f8;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 40px;
  text-align: left;
  font-size: 13px;
  color: #4a5568;
  line-height: 1.4;
}
.warning-badge-box i {
  color: #00327E;
  font-size: 16px;
}
.confirm-action-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.btn-iniciar-recorrido-circle {
  width: 170px !important;
  height: 170px !important;
  border-radius: 50% !important;
  background: var(--color-green) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  border: 4px solid #001c46 !important; /* Urbanova Navy border */
  box-shadow: 0 0 0 3px #ffffff, 0 8px 30px rgba(86, 140, 92, 0.45) !important; /* White inner contour ring + green shadow */
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  animation: pulse-vibrate 1.5s infinite ease-in-out !important; /* Vibrant pulsing like a GIF */
  margin: 0 auto 16px !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
}
.btn-iniciar-recorrido-circle:hover {
  transform: scale(1.08) !important;
  background: var(--color-green-dark) !important;
  box-shadow: 0 0 0 3px #ffffff, 0 8px 35px rgba(86, 140, 92, 0.6) !important;
}
.btn-cancel-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 48px;
  padding: 12px 24px;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: 50px;
  border: 2px solid var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  cursor: pointer;
  margin: 15px auto 0;
}
.btn-cancel-link:hover {
  background: var(--color-text-muted);
  color: white;
}

/* ============================================================
   10. SCREEN 7 — Recorrido Activo (07 Recorrido activo)
   ============================================================ */
.climb-active-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-white);
  padding: 40px;
  text-align: center;
  color: var(--color-text-dark);
}
.climb-active-card {
  max-width: 450px;
  width: 100%;
}
.climb-status-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--color-text-dark);
  background: #f0f0f0;
  padding: 6px 16px;
  border-radius: 50px;
}
.timer-digits-green {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--color-green);
  margin-bottom: 8px;
}
.climb-in-progress-text {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.btn-cancel-climb-red {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 2px solid var(--color-text-muted);
  color: var(--color-text-muted);
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1.5px;
  transition: var(--transition);
  margin-bottom: 20px;
}
.btn-cancel-climb-red:hover {
  background: var(--color-text-muted);
  color: white;
}
.climb-max-limit-text {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ============================================================
   11. SCREEN 9 — Confirmar Finalización (09 Conf Finalización)
   ============================================================ */
.confirm-finalize-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-white);
  padding: 40px;
  text-align: center;
  color: var(--color-text-dark);
}
.confirm-finalize-card {
  max-width: 450px;
  width: 100%;
}
.finalize-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--color-navy);
  margin-bottom: 30px;
}
.finalize-data-grid {
  background: var(--color-light-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.finalize-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.finalize-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}
.finalize-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-navy);
}
.finalize-hint {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}
.btn-finalizar-recorrido-green {
  width: 100%;
  padding: 16px;
  background: var(--color-green);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  margin-bottom: 20px;
}
.btn-finalizar-recorrido-green:hover {
  background: var(--color-green-dark);
}

/* ============================================================
   12. SCREEN 10 — Recorrido No Válido (10 Errores)
   ============================================================ */
.error-screen-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-white);
  padding: 40px;
  text-align: center;
  color: var(--color-text-dark);
}
.error-body-card {
  max-width: 450px;
  width: 100%;
}
.error-x-circle {
  width: 100px;
  height: 100px;
  border: 4px solid #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}
.error-x-circle i {
  font-size: 48px;
  color: #e74c3c;
}
.error-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}
.error-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.btn-error-understood-green {
  padding: 14px 60px;
  border: none;
  background: var(--color-green);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  transition: var(--transition);
  cursor: pointer;
}
.btn-error-understood-green:hover {
  background: var(--color-green-dark);
  color: #001c46;
}

/* ============================================================
   13. SCREEN 11 — Recorrido Exitoso (11 Éxito)
   ============================================================ */
.route-success-points-box {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4rem;
  color: var(--color-green);
  margin-bottom: 24px;
}

/* ============================================================
   14. SCREEN 12 — Ranking (12 Ranking)
   ============================================================ */
.ranking-screen-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-navy);
}
.ranking-navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  padding: 20px;
  height: 60px;
  flex-shrink: 0;
  position: relative !important;
}
.ranking-header-title-box {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.update-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.ranking-tabs,
.winners-tabs {
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  padding: 4px;
  border-radius: 50px;
  width: fit-content;
  margin: 16px auto;
}
.ranking-tab,
.winners-tab {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  background: transparent;
  transition: var(--transition);
}
.ranking-tab.active,
.winners-tab.active {
  background: white;
  color: var(--color-navy);
}

/* Podium Section */
.podium-section {
  background: var(--color-navy);
  padding: 20px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.podium-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  max-width: 600px;
  width: 100%;
}
.podium-card {
  background: white;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px 16px;
  text-align: center;
  position: relative;
  flex: 1;
  transition: var(--transition);
}
.podium-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: white;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}
.badge-gold { background: var(--color-green); }
.badge-silver { background: #90a4ae; }
.badge-bronze { background: #ff9800; }
.podium-card-body { padding-top: 10px; }
.podium-company-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.podium-points {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-text-dark);
  display: block;
}
.podium-pts-label {
  font-size: 12px;
  color: var(--color-text-muted);
}
.podium-first {
  min-height: 180px;
  transform: scale(1.05);
  z-index: 2;
}
.podium-second {
  min-height: 150px;
}
.podium-third {
  min-height: 130px;
}

/* Leaderboard */
.leaderboard-section {
  flex: 1;
  background: white;
  border-radius: 24px 24px 0 0;
  padding: 30px 40px 100px;
}
.leaderboard-list {
  display: flex;
  flex-direction: column;
}
.leaderboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.leaderboard-row.my-row {
  background: var(--color-green-pale);
  padding: 16px 12px;
  border-radius: 8px;
}
.lb-pos {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-dark);
  width: 40px;
}
.lb-company {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  flex: 1;
}
.lb-company-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-navy);
}
.lb-pts {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-green-dark);
}

/* ============================================================
   15. SCREEN 13 — Ganadores (13 Ganadores)
   ============================================================ */
.winners-screen-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-navy);
}
.winners-body {
  flex: 1;
  background: white;
  border-radius: 24px 24px 0 0;
  padding: 30px 40px 100px;
}
.winners-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.winner-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: white;
}
.winner-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-green-pale);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.winner-info-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.win-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-dark);
}
.win-comp {
  font-size: 12px;
  color: var(--color-text-muted);
}
.win-prize {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-blue);
  margin-top: 4px;
}
.winner-type-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-navy);
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}
.winners-privacy-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 20px;
}

/* ============================================================
   16. SCREEN 14 — Profile
   ============================================================ */
.profile-card-details {
  text-align: center;
  background: white;
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-blue);
  margin: 0 auto 16px;
}
.profile-email-lbl {
  color: var(--color-text-muted) !important;
  font-size: 14px;
}
.company-badge-box {
  margin-top: 12px;
}
.company-badge-text {
  background: var(--color-green-pale);
  color: var(--color-green-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.profile-points-balance {
  background: white;
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.pts-lbl {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.pts-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--color-green-dark);
  display: block;
}

/* ============================================================
   17. Bottom Navigation Bar
   ============================================================ */
.mobile-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: white;
  border-top: 1px solid #eee;
  z-index: 100;
  padding: 8px 0;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  font-size: 11px;
  color: var(--color-text-muted);
  background: none;
  transition: var(--transition);
}
.nav-item i, .nav-item-img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  opacity: 0.65 !important;
  transition: opacity 0.2s !important;
}
.nav-item.active i, .nav-item.active .nav-item-img {
  opacity: 1 !important;
}
.nav-item.active {
  color: var(--color-green-dark);
}
.nav-item:hover {
  color: var(--color-navy);
}

.brand-activity-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

/* ============================================================
   18. Common Buttons & Decorations
   ============================================================ */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-mobile-danger {
  background: #e74c3c;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
}
.btn-sm {
  font-size: 12px;
  padding: 6px 12px;
}
.btn-block-mobile {
  width: 100%;
  display: block;
}

.floating-admin-link {
  display: none !important; /* Hidden in production */
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 1000;
  opacity: 0.4;
  transition: var(--transition);
  text-decoration: none;
}
.floating-admin-link:hover {
  opacity: 1;
}

@keyframes scan-line {
  0%, 100% { top: 0; }
  50% { top: calc(100% - 3px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   19. ADMIN / CMS STYLING & SIDEBAR GRID
   ============================================================ */
.admin-only-body {
  background: #f8fafc;
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.admin-sidebar-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.cms-sidebar {
  width: 240px;
  background-image: url('../assets/fondos_varios.webp');
  background-size: cover;
  background-position: center;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  height: 100%;
}

.admin-nav-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  background: transparent;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-nav-btn i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.admin-nav-btn.active {
  background: var(--color-green) !important;
  color: #001c46 !important; /* Use dark navy for better contrast on mint green */
}
.admin-nav-btn.active:hover {
  background: var(--color-green-dark) !important;
}

.admin-main-content {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  background: #f8fafc;
  padding: 40px;
}

/* CMS Table Wrapper style */
.cms-table-wrapper {
  background: white;
}

.cms-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.cms-table-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: #001c46;
  letter-spacing: 0.5px;
}

.cms-table-actions {
  display: flex;
  gap: 8px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 12px;
}

.search-input-wrapper input {
  padding: 8px 12px 8px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  width: 150px;
  outline: none;
  transition: all 0.2s;
}

.search-input-wrapper input:focus {
  border-color: var(--color-green);
}

.cms-btn-primary {
  background: #001c46;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.cms-btn-primary:hover {
  background: #002e6e;
}

.cms-btn-secondary {
  background: white;
  color: #001c46;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.cms-btn-secondary:hover {
  background: #f8fafc;
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
}

.cms-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 11px;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cms-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  color: #334155;
  vertical-align: middle;
}

.cms-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  font-size: 11px;
  color: #64748b;
}

.cms-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  padding: 0;
}

.page-btn.active {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.page-btn:hover:not(.active) {
  background: #f8fafc;
}

/* Export section styling */
.cms-export-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.export-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.cms-export-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--color-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
}

.cms-export-btn.btn-excel {
  color: var(--color-green);
  background: white;
}

.cms-export-btn.btn-excel:hover {
  background: rgba(0, 168, 82, 0.04);
}

.cms-export-btn.btn-csv {
  color: var(--color-green);
  background: white;
}

.cms-export-btn.btn-csv:hover {
  background: rgba(0, 168, 82, 0.04);
}

.cms-export-btn i {
  font-size: 18px;
}

/* Right Section styling */
.cms-bonus-card, .cms-raffle-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
}

.card-subtitle {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: #001c46;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 12px;
}

.add-bonus-floor-row {
  margin-top: 12px;
  text-align: left;
}

.add-bonus-link {
  color: var(--color-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.add-bonus-link:hover {
  text-decoration: underline;
}

.raffle-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px;
}

.raffle-select-group {
  margin-bottom: 16px;
}

.raffle-select-group label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  display: block;
  margin-bottom: 6px;
}

.next-raffle-info {
  font-size: 12px;
  color: #334155;
  margin-bottom: 20px;
}

.next-raffle-info .raffle-date {
  font-weight: 700;
}

.btn-draw {
  background: var(--color-green);
  color: #001c46;
  width: 100%;
  padding: 12px;
  font-size: 13px;
}

.btn-draw:hover {
  background: var(--color-green-dark);
  color: #001c46;
}

.raffle-footer {
  margin-top: 12px;
  text-align: center;
}

.view-history-link {
  color: var(--color-green);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.view-history-link:hover {
  text-decoration: underline;
}

/* Modal styles */
.cms-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 28, 70, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.cms-modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cms-modal-header h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: #001c46;
  margin: 0;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
}

.cms-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cms-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.raffle-result-inner {
  margin-top: 16px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

.drawing-anim {
  text-align: center;
  color: #166534;
  font-size: 13px;
  font-weight: 600;
}

.winner-display {
  text-align: center;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}
.badge-status.exito {
  background: #e8f5e9;
  color: #2e7d32;
}
.badge-status.fallido {
  background: #ffe0e0;
  color: #c00;
}
.badge-optional {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-green);
  margin-left: 6px;
  background: #e8f5e9;
  padding: 2px 6px;
  border-radius: 4px;
}
.card-cms {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}
.card-cms h3 {
  font-family: var(--font-heading);
  color: #001c46;
  font-weight: 800;
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 12px;
}
.cms-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.cms-metric-card {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cms-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-green-pale);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.cms-metric-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #001c46;
  line-height: 1.2;
}
.cms-metric-label {
  font-size: 11px;
  color: #64748b;
}
/* Adjust layout for smaller screens */
@media (max-width: 1024px) {
  .cms-grid-container {
    grid-template-columns: 1fr;
  }
}
/* Blank placeholder *//* ============================================================
   20. RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar */
  .navbar-links { display: none; }
  .top-navbar { padding: 24px 24px; }
  .logo-urbanova-img { height: 42px; }
  .logo-adidas-img { height: 36px; }
  .navbar-x { font-size: 24px; }
  .wellness-badge { font-size: 16px; font-weight: 700; letter-spacing: 3px; }
  .welcome-badge-logos .logo-adidas-img { height: 34px; }
  .by-adidas .logo-adidas-img { height: 28px; }

  /* Welcome Screen */
  .welcome-layout { padding: 80px 24px 24px; }
  .welcome-title { font-size: 2.5rem; line-height: 1.05; }
  .welcome-subtitle { font-size: 1rem; line-height: 1.35; font-style: italic; }

  /* Auth — Mobile: Full-screen form matching Figma 390×844 spec */
  #screen-2 {
    background-color: #F8FAFF !important;
    background-image: none !important; /* No building background on mobile */
    display: none !important;
    min-height: 100vh !important;
    width: 100% !important;
    padding: 0 !important;
    overflow-y: auto !important;
  }
  #screen-2.active {
    display: flex !important;
  }
  #screen-2::before {
    display: none !important;
  }
  .climb-buttons-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .auth-split-layout {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 60px 24px 40px 24px !important;
    box-sizing: border-box !important;
  }
  .scan-header-logos-container {
    width: 342px !important;
    max-width: 342px !important;
    margin: 0 auto 32px auto !important;
    padding-top: 35px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  .scan-header-logos-container .navbar-logos {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 35px !important;
  }
  .scan-header-logos-container .logo-urbanova-img {
    height: 35px !important;
    width: auto !important;
    filter: brightness(0) !important;
  }
  .scan-header-logos-container .navbar-x {
    font-size: 20px !important;
    font-weight: 300 !important;
    color: #001C46 !important;
  }
  .scan-header-logos-container .logo-adidas-img {
    height: 30px !important;
    width: auto !important;
    filter: brightness(0) !important;
  }
  .confirm-start-layout {
    align-items: flex-start !important;
    padding-top: 0px !important;
    min-height: 100% !important;
    background: #F8FAFF !important;
    padding: 0 20px 20px 20px !important;
    box-sizing: border-box !important;
  }
  .confirm-start-card {
    text-align: center !important; box-sizing: border-box !important;
  }
  .auth-left-panel {
    width: 100% !important;
    max-width: 342px !important;
    margin: 0 auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .auth-right-panel {
    display: none !important;
  }

  /* Header block (logos + title + subtitle) */
  .auth-header-block {
    width: 100% !important;
    max-width: 342px !important;
    height: auto !important;
    margin: 0 auto 32px auto !important;
    gap: 16px !important;
  }
  .auth-logos {
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .auth-logos .logo-urbanova-img {
    height: 42px !important;
    filter: brightness(0) !important;
  }
  .auth-logos .logo-adidas-img {
    height: 36px !important;
    filter: brightness(0) !important;
  }
  .auth-x {
    font-size: 24px !important;
    font-weight: 300 !important;
    opacity: 0.8 !important;
  }
  .auth-title {
    font-size: 28px !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    color: #00327E !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  .auth-subtitle {
    font-size: 16px !important;
    text-align: center !important;
    width: 264px !important;
    margin: 0 auto !important;
    color: #555555 !important;
    line-height: 120% !important;
    font-weight: 400 !important;
  }

  /* Form area */
  .auth-form {
    width: 100% !important;
    max-width: 342px !important;
    gap: 20px !important;
    margin: 0 auto !important;
  }
  .auth-input-group {
    margin-bottom: 0px !important;
    width: 100% !important;
    text-align: left !important;
  }
  .auth-input-label {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    font-weight: 800 !important;
    color: #00327E !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  .auth-input-wrapper {
    height: 48px !important;
  }
  .auth-input {
    height: 100% !important;
    padding: 0 16px 0 44px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    border: 1px solid #CEE2FF !important;
    color: #00327E !important;
    box-sizing: border-box !important;
  }
  .auth-input-icon {
    left: 16px !important;
    font-size: 16px !important;
    color: #A0AEC0 !important;
  }

  /* Checkboxes */
  .auth-checkboxes-group {
    gap: 12px !important;
    margin-bottom: 0px !important;
    width: 100% !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .auth-checkbox-label {
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #00327E !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .auth-checkbox-label a {
    color: #00327E !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
  }
  .auth-custom-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin-top: 0 !important;
  }

  /* Helper text and legend */
  .auth-bottom-text {
    margin-top: 12px !important;
  }
  .auth-helper-subtext {
    font-size: 12px !important;
    margin: 0 auto !important;
    color: #555555 !important;
    font-weight: 400 !important;
  }
  .auth-required-legend {
    font-size: 12px !important;
    margin: 4px auto 0 auto !important;
    color: #555555 !important;
    font-weight: 400 !important;
  }

  /* Button */
  .btn-auth-iniciar {
    width: 264px !important;
    height: 48px !important;
    padding: 0 !important;
    font-size: 15px !important;
    border-radius: 24px !important;
    font-weight: 800 !important;
    color: #00327E !important;
    margin: 16px auto 0 auto !important;
    text-transform: none !important;
  }

  /* Scan & Confirmation */
  .success-title {
    font-size: 32px !important;
    white-space: nowrap !important;
    margin-bottom: 20px !important;
  }
  .success-card-white {
    padding: 20px 18px !important;
    margin-bottom: 24px !important;
  }
  .scan-screen-layout {
    align-items: flex-start !important;
    padding-top: 45px !important;
  }
  .scan-main-column {
    padding: 10px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .scan-title {
    font-family: var(--font-heading) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #77EAB8 !important;
    text-transform: none !important;
    white-space: normal !important;
    letter-spacing: 0px !important;
    width: 342px !important;
    max-width: 342px !important;
    height: 76px !important;
    margin: 35px auto 8px auto !important;
    line-height: 1.15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .scan-desc {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 18px !important;
    width: 342px !important;
    max-width: 342px !important;
    height: 36px !important;
    margin: 0 auto 32px auto !important; /* 32px pink gap */
    text-align: center !important;
  }
  .qr-camera-scanner-container {
    width: 237px !important;
    height: 255px !important;
    margin: 0 auto 32px auto !important; /* 32px pink gap */
  }
  .scan-footer-info {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 286px !important;
    max-width: 286px !important;
    height: 44px !important;
    margin: 0 auto 32px auto !important; /* 32px pink gap */
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    background: rgba(242, 248, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  .scan-footer-info .info-icon {
    font-size: 14px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
  }
  .scan-footer-info span {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
  }
  .btn-scan-cancel {
    display: block !important;
    width: 286px !important;
    height: 44px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: 1.5px solid #ffffff !important;
    border-radius: 100px !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: opacity 0.2s !important;
  }
  .btn-scan-cancel:hover {
    opacity: 0.8 !important;
  }
  .qr-scanner-controls-box {
    margin-top: 15px !important;
    padding: 10px !important;
    max-width: 250px !important;
  }
  .scan-back-link {
    display: none !important;
  }
  .confirm-start-layout {
    align-items: flex-start !important;
    padding-top: 0px !important;
    min-height: 100% !important;
    background: #F8FAFF !important;
    padding: 0 20px 20px 20px !important;
    box-sizing: border-box !important;
  }
  .confirm-start-card {
    text-align: center !important;
    width: 342px !important;
    max-width: 342px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 2px solid #CEE2FF !important;
    border-radius: 16px !important;
    padding: 32px 28px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  .confirm-start-header-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important;
    width: 100% !important;
  }
  .confirm-label {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0px !important;
    color: #00327E !important;
    margin: 0 auto !important;
    text-align: center !important;
    text-transform: none !important;
    display: block !important;
    width: 284px !important;
    max-width: 284px !important;
    height: 19px !important;
  }
  .confirm-floor-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    color: #00327E !important;
    margin: 0 auto !important;
    line-height: 58px !important;
    text-align: center !important;
    width: 284px !important;
    max-width: 284px !important;
    height: 58px !important;
  }
  .confirm-desc {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    margin: 0 auto !important;
    line-height: 18px !important;
    text-align: center !important;
    width: 284px !important;
    max-width: 284px !important;
    height: 18px !important;
  }
  .btn-iniciar-recorrido-svg {
    width: 194px !important;
    height: 194px !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform 0.2s ease !important;
  }
  .btn-iniciar-recorrido-svg:hover {
    transform: scale(1.05) !important;
  }
  .warning-badge-box {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 286px !important;
    max-width: 286px !important;
    height: 44px !important;
    margin: 0 auto !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    background: #F2F8FF !important;
    border-radius: 8px !important;
    color: #00327E !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  .info-icon-blue {
    font-size: 14px !important;
    color: #00327E !important;
    flex-shrink: 0 !important;
  }
  .warning-badge-box span {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #00327E !important;
  }
  .btn-scan-cancel-blue {
    display: block !important;
    width: 260px !important;
    height: 48px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: 2px solid #00327E !important;
    border-radius: 24px !important;
    color: #00327E !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: opacity 0.2s !important;
  }
  .btn-scan-cancel-blue:hover {
    opacity: 0.8 !important;
  }
  /* Circular button styles now defined globally */
  .btn-cancel-link {
    display: block !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 24px auto 0 !important;
    padding: 12px 18px !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    border-radius: 50px !important;
    background: transparent !important;
    color: #898A8D !important;
    border: none !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }
  .top-navbar .logo-urbanova-img {
    height: 38px !important;
  }
  .top-navbar .logo-adidas-img {
    height: 32px !important;
  }
  #screen-6, #screen-7, #screen-9 {
    background: #F8FAFF !important;
  }
  
  /* Screen 7 - Recorrido Activo Layout and Card overrides */
  .climb-active-layout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    min-height: auto !important;
    padding: 0 20px 20px 20px !important;
    background: #F8FAFF !important;
  }
  .climb-active-card-wrapper {
    width: 342px !important;
    max-width: 342px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .climb-status-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    color: #00327E !important;
    text-align: center !important;
    width: 342px !important;
    max-width: 342px !important;
    height: 29px !important;
    line-height: 29px !important;
    margin: 0 auto 24px auto !important;
    text-transform: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
  }
  .climb-active-card {
    background: #ffffff !important;
    border: 2px solid #CEE2FF !important;
    border-radius: 16px !important;
    padding: 32px 28px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    text-align: center !important;
    width: 342px !important;
    max-width: 342px !important;
    height: 464px !important;
    min-height: 464px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 0px !important;
  }
  .climb-active-info-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    align-items: center !important;
  }
  .climb-active-timer-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    align-items: center !important;
  }
  .climb-active-card .confirm-label {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #00327E !important;
    margin: 0 auto !important;
    text-transform: none !important;
    display: block !important;
    text-align: center !important;
    width: 308px !important;
    max-width: 308px !important;
    height: 27px !important;
    line-height: 26.8px !important;
  }
  .climb-active-card .confirm-floor-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    color: #00327E !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 208px !important;
    max-width: 208px !important;
    height: 58px !important;
    line-height: 58px !important;
    display: block !important;
  }
  .climb-card-divider {
    border: 0 !important;
    border-top: 2px solid #CEE2FF !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .climb-active-card .timer-digits-green {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 60px !important;
    color: #77EAB8 !important;
    text-shadow:
      1px 1px 0 #62D9A4,
      2px 2px 0 #50C994,
      3px 3px 0 #42B884,
      3px 4px 8px rgba(66, 172, 128, 0.25) !important;
    margin: 0 auto !important;
    text-align: center !important;
    line-height: 79px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: baseline !important;
    width: 204px !important;
    max-width: 204px !important;
    height: 79px !important;
  }
  .climb-in-progress-text {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 27px !important;
    line-height: 27px !important;
    display: block !important;
  }
  .climb-buttons-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .btn-scan-destination-green {
    display: block !important;
    width: 260px !important;
    height: 48px !important;
    margin: 0 auto !important;
    background: #77EAB8 !important;
    border: none !important;
    border-radius: 24px !important;
    color: #001C46 !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: opacity 0.2s !important;
  }
  .btn-scan-destination-green:hover {
    opacity: 0.9 !important;
  }
  .climb-max-limit-text {
    font-size: 12px !important;
    color: #a0aec0 !important;
    margin-top: 15px !important;
    text-align: center !important;
  }

  /* Ranking & Winners */
  .podium-container { gap: 6px; }
  .podium-card { padding: 16px 8px; }
  .podium-points { font-size: 1.1rem; }
  .leaderboard-section { padding: 20px 20px 100px; }

  /* CMS layout collapses on mobile */
  .admin-sidebar-layout { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 15px; }
  .admin-main-content { padding: 20px; }
}

/* QR Code Grid and Print/Download styling */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.qr-grid-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.2s;
}
.qr-grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.qr-grid-card-checkbox {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-green);
}
.qr-grid-code {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-grid-label {
  font-size: 11px;
  font-weight: 700;
  color: #001c46;
  font-family: var(--font-heading);
}
.qr-grid-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.qr-grid-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}
/* Print styling to make physical QR codes print beautifully */
@media print {
  body * {
    visibility: hidden;
  }
  #qr-preview-code, #qr-preview-code * {
    visibility: visible;
  }
  #qr-preview-code {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
}


/* ----- Client Simulator Widget ----- */
.client-simulator-widget {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 260px;
  background: rgba(30, 45, 61, 0.96);
  border: 2px solid var(--color-green);
  border-radius: 12px;
  padding: 16px;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  color: white;
}
@media (max-width: 768px) {
  .client-simulator-widget {
    display: none; /* Hide on real mobile views */
  }
}

@keyframes pulse-vibrate {
  0% { transform: scale(1); }
  15% { transform: scale(1.05); }
  30% { transform: scale(1.02); }
  45% { transform: scale(1.06); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* ============================================================
   Redesigned Screen 11 (Success) Styles
   ============================================================ */
#screen-11 {
  position: relative;
  background-image: url('../assets/tarjetas.png?v=2') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

#screen-11 .ranking-navbar .navbar-x {
  color: #000000 !important;
}

#screen-11 .ranking-navbar .hamburger-menu {
  color: #00327e !important;
}

.success-new-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 85px 24px 30px;
  background: transparent !important;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.success-new-layout .success-floors-grid,
.success-new-layout .success-stats-rows,
.success-new-layout .success-info-alert-box,
.success-new-layout .btn-finalizar-recorrido-new {
  text-transform: none !important;
  width: 100% !important;
  max-width: 320px !important;
  box-sizing: border-box !important;
}

.success-checkmark-wrapper {
  margin-top: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-checkmark-svg-img {
  width: 136px !important;
  height: 136px !important;
  object-fit: contain;
}



#screen-11 .ranking-navbar .logo-urbanova-img,
#screen-11 .ranking-navbar .logo-adidas-img {
  filter: brightness(0) !important;
}

.success-new-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px !important;
  color: #00327e !important;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.success-new-subtitle {
  font-size: 24px !important;
  color: #555555;
  font-weight: 500;
}

.success-new-points {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 72px !important;
  color: #00327e !important;
  margin-top: -5px;
  margin-bottom: 28px;
}

.success-new-points .points-unit {
  font-size: 42px !important;
  font-weight: 800;
  color: #00327e;
}

.success-floors-grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box !important;
}

.floor-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floor-col.floor-col-left {
  margin-right: 32px !important;
}

.floor-col.floor-col-right {
  margin-left: 32px !important;
}

.floor-icon-box {
  color: #00327e;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.floor-info-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floor-label {
  font-size: 11px;
  font-weight: 600;
  color: #555555;
  letter-spacing: 0.3px;
}

.floor-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #00327e !important;
  line-height: 1.2;
}

.floor-divider-line {
  background: #ededed;
  height: 32px;
  width: 1px;
  flex-shrink: 0;
}

.success-stats-rows {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.stats-icon-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-icon-circle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.stats-icon-circle.green-circle {
  background: #77EAB8 !important;
}

.stats-icon-circle.green-circle img {
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) invert(1) !important;
}

.stats-icon-star {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.stats-icon-star img {
  width: 20px !important;
  height: 20px !important;
}

.stats-label {
  font-size: 16px !important;
  font-weight: 600;
  color: #555555;
}

.stats-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px !important;
  color: #00327e !important;
}

.success-info-alert-box {
  background: #f2f8ff;
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  max-width: 320px;
  border: 1px solid #cee2ff;
  margin-bottom: 24px;
  text-align: left;
}

.success-info-alert-box .brand-activity-icon {
  width: 16px !important;
  height: 16px !important;
}

.alert-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #00327e;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.4;
}

.alert-bullet-highlight {
  font-weight: 700;
}

.alert-bullet i {
  color: #00327e;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.alert-line-divider {
  border: 0;
  border-top: 1px solid #d1e5ff;
  margin: 8px 0;
}

.btn-finalizar-recorrido-new {
  text-transform: none !important;
  width: 100%;
  max-width: 320px;
  padding: 14px;
  background: var(--color-green) !important;
  color: #00327e !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  border: none !important;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease, transform 0.1s ease;
  margin-bottom: 20px;
}

.btn-finalizar-recorrido-new:hover {
  background: var(--color-green) !important;
  color: #001c46 !important;
  transform: translateY(-1px);
}

.btn-finalizar-recorrido-new:active {
  transform: translateY(0);
}

/* ============================================================
   Redesigned Screen 12 (Ranking) Styles (Mockup Exact Match)
   ============================================================ */
#screen-12 {
  background: url('/assets/fondos_varios.webp') no-repeat center center !important;
  background-size: cover !important;
}

.ranking-screen-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent !important;
}

.ranking-navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 20px;
  height: 60px;
  flex-shrink: 0;
}

.ranking-header-title-box {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff !important;
  background: transparent !important;
  padding: 10px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ranking-tabs {
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.15) !important;
  padding: 3px;
  border-radius: 50px;
  width: calc(100% - 32px);
  margin: 16px auto;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.ranking-tab {
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7) !important;
  background: transparent;
  transition: var(--transition);
  flex: 1;
  text-align: center;
}

.ranking-tab.active {
  background: #ffffff !important;
  color: #001c46 !important;
}

.podium-section {
  background: rgba(0, 28, 70, 0.5) !important;
  padding: 20px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.podium-card {
  background: #ffffff !important;
  border-radius: 16px 16px 0 0;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  padding: 20px 16px 16px;
  text-align: center;
  position: relative;
  flex: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.podium-company-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: #001c46 !important; /* Dark text */
  margin-bottom: 8px;
  text-transform: uppercase;
}

.podium-points {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #001c46 !important; /* Dark text */
  display: block;
}

.podium-pts-label {
  font-size: 12px;
  color: #a0aec0 !important;
}

/* Bottom Navigation Bar styled for ranking screens (class added by JS) */
.mobile-nav-bar.ranking-active {
  background: rgba(0, 28, 70, 0.85) !important;
  border-top: 1px solid rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(10px);
}

.mobile-nav-bar.ranking-active .nav-item {
  color: rgba(255, 255, 255, 0.6) !important;
}

.mobile-nav-bar.ranking-active .nav-item.active {
  color: var(--color-green) !important;
}

.mobile-nav-bar.ranking-active .nav-item:hover {
  color: #ffffff !important;
}

/* Table Headers for Leaderboard list */
.leaderboard-headers {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 11px;
  font-weight: 700;
  color: #a0aec0;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: transparent !important;
}
.header-pos {
  width: 40px;
}
.header-company {
  flex: 1;
  padding-left: 48px; /* Offset to align with company name (36px logo + 12px gap) */
}
.header-pts {
  text-align: right;
}

/* Custom Premium Metallic Podium Badge Colors and sizes */
.badge-gold {
  background: #FFD700 !important;
  color: #001c46 !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 40px !important;
  font-size: 20px !important;
  top: -22px !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.45) !important;
  border: 2px solid white !important;
}
.badge-silver {
  background: #C0C0C0 !important;
  color: #001c46 !important;
  width: 38px !important;
  height: 38px !important;
  line-height: 34px !important;
  font-size: 17px !important;
  top: -19px !important;
  box-shadow: 0 4px 10px rgba(192, 192, 192, 0.4) !important;
  border: 2px solid white !important;
}
.badge-bronze {
  background: #CD7F32 !important;
  color: #ffffff !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 30px !important;
  font-size: 15px !important;
  top: -17px !important;
  box-shadow: 0 4px 8px rgba(205, 127, 50, 0.45) !important;
  border: 2px solid white !important;
}

.podium-first {
  background: linear-gradient(to bottom, #FFFDF0 0%, #FFFFFF 100%) !important;
  border: 2px solid #FFD700 !important;
  border-bottom: none !important;
}
.podium-second {
  background: linear-gradient(to bottom, #F7FAFC 0%, #FFFFFF 100%) !important;
  border: 2px solid #CBD5E0 !important;
  border-bottom: none !important;
}
.podium-third {
  background: linear-gradient(to bottom, #FFF8F2 0%, #FFFFFF 100%) !important;
  border: 2px solid #ED8936 !important;
  border-bottom: none !important;
}


/* Force profile page header logos to be rendered in black */
#screen-14 .logo-urbanova-img,
#screen-14 .logo-adidas-img {
  filter: brightness(0) !important;
}

/* ============================================================
   Unified Brand Button Styles (UX/OX Co-Branded)
   ============================================================ */
.btn-comenzar-welcome,
.btn-error-understood,
.btn-comenzar,
.btn-finalizar-recorrido-green,
.btn-error-understood-green,
.btn-finalizar-recorrido-new,
#success-finish-btn {
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 320px !important;
  height: auto !important;
  min-height: 52px !important;
  padding: 14px 28px !important;
  background: var(--color-green) !important; /* Coral Urbanova */
  color: #001c46 !important;
  border-radius: 50px !important; /* Unified Pill-shape */
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 4px 15px rgba(119, 234, 184, 0.3) !important;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease !important;
  cursor: pointer !important;
  margin: 0 auto 16px !important;
}

.btn-comenzar-welcome:hover,
.btn-error-understood:hover,
.btn-comenzar:hover,
.btn-finalizar-recorrido-green:hover,
.btn-error-understood-green:hover,
.btn-finalizar-recorrido-new:hover,
#success-finish-btn:hover {
  background: var(--color-green-dark) !important; /* Scarlet adidas */
  color: #001c46 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(75, 198, 147, 0.4) !important;
}

.btn-comenzar-welcome:active,
.btn-error-understood:active,
.btn-comenzar:active,
.btn-finalizar-recorrido-green:active,
.btn-error-understood-green:active,
.btn-finalizar-recorrido-new:active,
#success-finish-btn:active {
  transform: translateY(0) !important;
}

@media (min-width: 768px) {
  /* Welcome Screen layout adjustments for desktop with seamless image blending */
  #screen-1 {
    background-image: none !important;
    background-color: #00122e !important;
    z-index: 0;
  }
  
  #screen-1::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 48vw !important;
    max-width: 100% !important;
    background-image: url('../assets/portada.png?v=2') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    clip-path: none !important;
    z-index: 1 !important;
  }

  #screen-1::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 48vw !important;
    max-width: 100% !important;
    background: linear-gradient(to right, #00122e 0%, rgba(0, 18, 46, 0) 30%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  #screen-1 .top-navbar {
    left: 5% !important;
    padding-left: 0 !important;
    max-width: 700px !important;
    margin-top: 30px !important;
  }

  #screen-1 .welcome-layout {
    position: relative !important;
    z-index: 10 !important;
    max-width: 700px !important;
    margin: 0 auto 0 5% !important;
    padding: 120px 0 60px 0 !important;
  }

  #screen-1 .welcome-title {
    font-size: 5rem !important;
    line-height: 1.0 !important;
    margin-bottom: 24px !important;
    letter-spacing: -2px !important;
  }

  #screen-1 .welcome-subtitle {
    font-size: 1.6rem !important;
    line-height: 1.35 !important;
    margin-bottom: 36px !important;
  }

  #screen-1 .wellness-badge {
    font-size: 20px !important;
    letter-spacing: 5px !important;
  }

  #screen-1 .by-adidas {
    font-size: 18px !important;
  }

  #screen-1 .text-green {
    color: var(--color-green) !important; /* Vibrant green from the mock-up */
  }

  /* Center other layout components for high readability on desktop */
  .success-new-layout,
  .error-screen-layout,
  .error-domain-layout,
  .confirm-start-card,
  .climb-active-card-wrapper,
  .confirm-finalize-card {
    max-width: 540px !important;
    margin: 120px auto 40px auto !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3) !important;
    padding: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  /* Layout transparency and background adjustments for confirmation/active screens */
  .confirm-start-layout,
  .climb-active-layout,
  .confirm-finalize-layout {
    background: transparent !important;
    min-height: 100vh !important;
  }
  
  #screen-6, #screen-7, #screen-9 {
    background: radial-gradient(circle at top right, #00327E, #040000 75%) !important;
  }

  /* Invert navbar logos to white on dark backgrounds */
  #screen-6 .logo-urbanova-img,
  #screen-6 .logo-adidas-img,
  #screen-7 .logo-urbanova-img,
  #screen-7 .logo-adidas-img {
    filter: brightness(0) invert(1) !important;
  }
  #screen-6 .navbar-x,
  #screen-7 .navbar-x {
    color: #ffffff !important;
  }

  /* Align navbar logos to the content left edge on desktop */
  #screen-1 .top-navbar {
    left: 10% !important;
    padding-left: 0 !important;
    max-width: 500px !important;
  }

  #screen-5 .top-navbar,
  #screen-6 .top-navbar,
  #screen-7 .top-navbar,
  #screen-8 .top-navbar {
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 540px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Wide screen dashboard-like layouts for desktop versions of key lists */
  #screen-12, #screen-13 {
    position: relative !important;
    background: radial-gradient(circle at top right, #00122e, #040000 75%) !important;
  }

  .ranking-screen-layout,
  .winners-screen-layout,
  .profile-screen-layout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Header navbar with inline tabs on desktop */
  .ranking-navbar {
    height: auto !important;
    min-height: 140px !important;
    width: 100% !important;
    padding: 24px 80px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    position: relative !important;
  }

  .ranking-navbar .navbar-logos {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }

  #screen-12 .ranking-header-title-box,
  #screen-13 .ranking-header-title-box {
    display: block !important;
    text-align: center !important;
    margin-bottom: 25px !important;
  }

  .ranking-tabs {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    max-width: 450px !important;
    width: 100% !important;
    z-index: 10;
  }

  .podium-section {
    min-height: 280px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    background: transparent !important;
    padding: 40px 0 0 0 !important;
    border-right: none !important;
  }

  .podium-container {
    max-width: 800px !important;
    width: 100% !important;
    margin: 0 auto !important;
    gap: 24px !important;
  }

  .podium-card {
    max-width: 220px !important;
    flex: 1 !important;
  }

  .leaderboard-body {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 30px !important;
    padding: 0 40px !important;
    flex: 1 !important;
  }

  .leaderboard-section {
    background: #ffffff !important; /* Clean white background like mockup */
    padding: 60px 80px 100px !important;
    border-radius: 24px 24px 0 0 !important;
    margin-top: 20px !important;
    flex: 1 !important;
  }

  .leaderboard-table {
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .winners-body {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 60px 80px 100px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 30px !important;
  }
  .winners-body .winners-container {
    grid-column: 2 !important;
  }

  /* Split Profile layout into two columns on desktop */
  .profile-screen-layout {
    background: #ffffff !important;
    color: var(--color-text-dark) !important;
  }
  .profile-screen-layout .profile-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .profile-screen-layout .profile-body h2 {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    color: var(--color-navy) !important;
  }
  .profile-screen-layout .profile-card-details {
    grid-column: 1;
    margin-bottom: 0;
    border: 1px solid #edf2f7;
  }
  .profile-screen-layout .profile-points-balance {
    grid-column: 2;
    margin-top: 0 !important;
    height: fit-content;
  }
  .profile-screen-layout .recent-activity-section {
    grid-column: 2;
  }
  .profile-screen-layout .active-checkin-profile-card {
    grid-column: 2;
  }
  .profile-screen-layout .profile-menu-links {
    grid-column: 1;
    margin-top: 20px !important;
  }

  .client-only-body {
    background: radial-gradient(circle at top right, #00327E, #040000 75%) !important;
  }
}

/* Global Logo Sizes - Uniform and enlarged across all screens */
.logo-urbanova-img {
  height: 48px !important;
  width: auto !important;
}
.logo-adidas-img {
  height: 42px !important;
  width: auto !important;
}
.navbar-x, .auth-x {
  font-size: 24px !important;
}

/* Global override to hide the bottom nav bar on all devices */
.mobile-nav-bar {
  display: none !important;
}

/* Hamburger Menu Icon Styles */
.hamburger-menu {
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-size: 20px;
  transition: var(--transition);
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 15;
}
.hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
  .hamburger-menu {
    right: 80px !important;
  }
}

/* Hamburger Dropdown Menu Styles */
.hamburger-dropdown {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  background: #00122e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 9999;
  overflow: hidden;
  width: 180px;
}
.hamburger-dropdown.active {
  display: flex;
  flex-direction: column;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  text-align: left;
  transition: background 0.2s;
  cursor: pointer;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.dropdown-item i {
  font-size: 16px;
  color: var(--color-green);
  width: 20px;
  text-align: center;
}
@media (min-width: 768px) {
  .hamburger-dropdown {
    top: 80px;
    right: 80px;
    width: 220px;
  }
}

/* Styling for Leaderboard & Lists on White Background (Mockup Match) */
#ranking-list-container {
  color: var(--color-text-dark) !important;
}

#ranking-list-container .lb-pts {
  color: var(--color-navy) !important; /* Dark points in list like mockup */
}

/* Empty / Loading / Error messages inside lists */
#ranking-list-container > div[style*="color:#fff"],
#ranking-list-container > div[style*="color: #fff"] {
  color: var(--color-text-dark) !important;
}

/* Table Headers Styling visibility */
.leaderboard-headers {
  color: #718096 !important;
  border-bottom: 2px solid #edf2f7 !important;
}

/* 1. PRIZES VIEW OVERRIDES */
/* Prize Cards */
#ranking-list-container > div[style*="background:linear-gradient"],
#ranking-list-container > div[style*="background: linear-gradient"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}

/* Title of the prize */
#ranking-list-container div[style*="color:#fff"],
#ranking-list-container div[style*="color: #fff"] {
  color: var(--color-navy) !important;
}

/* Description of the prize */
#ranking-list-container p[style*="color:rgba(255,255,255,0.7)"],
#ranking-list-container p[style*="color: rgba(255,255,255,0.7)"] {
  color: #4a5568 !important;
}

/* Requirement box */
#ranking-list-container div[style*="background:rgba(255,255,255,0.06)"],
#ranking-list-container div[style*="background: rgba(255,255,255,0.06)"] {
  background: #edf2f7 !important;
  color: #4a5568 !important;
  border: 1px solid #e2e8f0 !important;
}

/* 2. WINNERS VIEW OVERRIDES */
/* Winner Rows */
#ranking-list-container > div[style*="border-bottom:1px solid rgba(255,255,255,0.08)"],
#ranking-list-container > div[style*="border-bottom: 1px solid rgba(255,255,255,0.08)"] {
  border-bottom: 1px solid #edf2f7 !important;
}

/* Winner Name */
#ranking-list-container div[style*="color:#fff"],
#ranking-list-container div[style*="color: #fff"] {
  color: var(--color-navy) !important;
}

/* Winner Company details */
#ranking-list-container div[style*="color:rgba(255,255,255,0.5)"],
#ranking-list-container div[style*="color: rgba(255,255,255,0.5)"] {
  color: #718096 !important;
}

/* Winner Date */
#ranking-list-container div[style*="color:rgba(255,255,255,0.4)"],
#ranking-list-container div[style*="color: rgba(255,255,255,0.4)"] {
  color: #a0aec0 !important;
}

/* Navigation Back Button Styles */
.back-button {
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-size: 18px;
  transition: var(--transition);
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 15;
}
.back-button:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
  .back-button {
    left: 80px !important;
    top: 32px !important; /* aligned with top row of column stack */
    transform: translateY(-50%) !important;
  }
  .hamburger-menu {
    top: 32px !important; /* aligned with top row of column stack */
    transform: translateY(-50%) !important;
  }
}

/* Center podium card text content */
.podium-card {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Table Headers & Rows Flex Overrides */
.leaderboard-headers {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 12px 8px !important;
  box-sizing: border-box !important;
}

.leaderboard-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 12px 8px !important;
  box-sizing: border-box !important;
}

/* Company view column widths */
.leaderboard-headers.type-company .header-pos,
.leaderboard-row.type-company .lb-pos {
  width: 60px !important;
  flex-shrink: 0;
}
.leaderboard-headers.type-company .header-company,
.leaderboard-row.type-company .lb-company {
  flex: 1 !important;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.leaderboard-headers.type-company .header-pts,
.leaderboard-row.type-company .lb-pts {
  width: 90px !important;
  text-align: right !important;
  flex-shrink: 0;
}

/* People view column widths */
.leaderboard-headers.type-people .header-pos,
.leaderboard-row.type-people .lb-pos {
  width: 50px !important;
  flex-shrink: 0;
}
.leaderboard-headers.type-people .header-name,
.leaderboard-row.type-people .lb-name {
  flex: 1.5 !important;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.leaderboard-headers.type-people .header-company,
.leaderboard-row.type-people .lb-company {
  flex: 1 !important;
  min-width: 0;
}
.leaderboard-headers.type-people .header-pts,
.leaderboard-row.type-people .lb-pts {
  width: 80px !important;
  text-align: right !important;
  flex-shrink: 0;
}

/* Winners view column widths */
.leaderboard-headers.type-winners .header-winner,
.leaderboard-row.type-winners .lb-winner {
  flex: 1.3 !important;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.leaderboard-headers.type-winners .header-company,
.leaderboard-row.type-winners .lb-company {
  flex: 1 !important;
  min-width: 0;
}
.leaderboard-headers.type-winners .header-pts,
.leaderboard-row.type-winners .lb-pts {
  width: 65px !important;
  text-align: center !important;
  flex-shrink: 0;
}
.leaderboard-headers.type-winners .header-prize,
.leaderboard-row.type-winners .lb-prize {
  flex: 1.2 !important;
  min-width: 0;
}
.leaderboard-headers.type-winners .header-date,
.leaderboard-row.type-winners .lb-date {
  width: 80px !important;
  text-align: right !important;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .leaderboard-headers {
    font-size: 10px !important;
    padding: 8px 4px !important;
  }
  .leaderboard-row {
    font-size: 12px !important;
    padding: 10px 4px !important;
  }
  .lb-company-logo {
    width: 24px !important;
    height: 24px !important;
    font-size: 9px !important;
  }
  .lb-winner img, .lb-winner div {
    width: 26px !important;
    height: 26px !important;
  }
}


/* ============================================================
   GLOBAL PROFILE SCREEN STYLES (Mockup Target)
   ============================================================ */
.profile-screen-layout {
  background: #ffffff !important;
  color: var(--color-navy) !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.profile-screen-layout .ranking-navbar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.profile-screen-layout .back-button,
.profile-screen-layout .hamburger-menu {
  color: var(--color-navy) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.profile-screen-layout .profile-body {
  padding: 0 20px 40px 20px !important;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.profile-screen-layout .profile-body h2 {
  color: var(--color-navy) !important;
  font-size: 28px !important;
  margin-bottom: 5px;
  text-align: center;
  font-weight: 700;
}

.profile-screen-layout .profile-card-details {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f0f0f0;
}

.profile-screen-layout .profile-avatar {
  width: 60px;
  height: 60px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 15px;
}

.profile-screen-layout #profile-name-lbl {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 5px;
}

.profile-screen-layout #profile-email-lbl {
  font-size: 13px;
  color: #888;
  margin-bottom: 15px;
}

.profile-screen-layout .company-badge-box {
  background: #ffeaec;
  color: #d32f2f;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.profile-screen-layout .profile-points-balance {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f0f0f0;
}

.profile-screen-layout .pts-lbl {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.profile-screen-layout .pts-val {
  font-size: 42px;
  font-weight: 800;
  color: #9d2235;
}

.profile-screen-layout .recent-activity-section {
  margin-top: 10px;
}

.profile-screen-layout .recent-activity-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-screen-layout .recent-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  padding: 20px 10px;
}

.profile-screen-layout .activity-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.profile-screen-layout .activity-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #f0f0f0;
}

.profile-screen-layout .activity-icon-circle {
  width: 36px;
  height: 36px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: 14px;
  margin-bottom: 10px;
}

.profile-screen-layout .activity-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 5px;
}

.profile-screen-layout .activity-val-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.profile-screen-layout .activity-val-main.red-text {
  color: #9d2235;
}

.profile-screen-layout .activity-val-sub {
  font-size: 11px;
  color: #666;
}

.profile-screen-layout .profile-menu-links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-screen-layout .menu-link-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-navy);
}

.profile-screen-layout .menu-link-left {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 600;
}

.profile-screen-layout .menu-link-left i {
  font-size: 18px;
}

.profile-screen-layout .menu-link-chevron {
  color: #aaa;
  font-size: 14px;
}


/* ============================================================
   WINNERS TABLE OVERLAPPING & COMPRESSION FIXES
   ============================================================ */
.leaderboard-headers.type-winners .header-company {
  padding-left: 0 !important; /* Remove ranking logo offset inheritance */
}

@media (max-width: 480px) {
  /* Ensure all spans inside type-winners wrap text if squeezed and don't overlap */
  .leaderboard-headers.type-winners span,
  .leaderboard-row.type-winners > span {
    font-size: 9px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
    padding: 2px !important;
    display: flex !important;
    align-items: center !important;
  }

  .leaderboard-row.type-winners {
    padding: 10px 2px !important;
  }

  /* Optimize flex shares for 5 columns on narrow screens */
  .leaderboard-headers.type-winners .header-winner,
  .leaderboard-row.type-winners .lb-winner {
    flex: 1.1 !important;
    min-width: 0 !important;
    gap: 4px !important;
  }

  .leaderboard-headers.type-winners .header-company,
  .leaderboard-row.type-winners .lb-company {
    flex: 0.9 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
  }

  .leaderboard-headers.type-winners .header-pts,
  .leaderboard-row.type-winners .lb-pts {
    width: 42px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  .leaderboard-headers.type-winners .header-prize,
  .leaderboard-row.type-winners .lb-prize {
    flex: 1.2 !important;
    min-width: 0 !important;
  }

  .leaderboard-headers.type-winners .header-date,
  .leaderboard-row.type-winners .lb-date {
    width: 58px !important;
    text-align: right !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
  }

  /* Make sure the winner badge avatar is slightly smaller on mobile to save space */
  .leaderboard-row.type-winners .lb-winner img,
  .leaderboard-row.type-winners .lb-winner div {
    width: 22px !important;
    height: 22px !important;
  }
}


/* ============================================================
   REDESIGNED WELCOME SCREEN (Mockup Target)
   ============================================================ */
.welcome-title-new {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.05;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.welcome-title-underline {
  width: 70px;
  height: 2px;
  background-color: var(--color-green);
  margin-bottom: 25px;
}

.welcome-headline-new {
  font-family: var(--font-heading);
  font-weight: 750;
  font-size: 2.2rem;
  line-height: 1.15;
  color: white;
  margin-bottom: 25px;
}

.welcome-wellness-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.welcome-wellness-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -10px !important;
}

.welcome-wellness-box .welcome-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  margin: 0 !important;
}

.welcome-layout .btn-comenzar-welcome {
  background: var(--color-green) !important;
  color: #001c46 !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  padding: 14px 44px !important;
  border-radius: 50px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  box-shadow: 0 4px 15px rgba(236, 82, 98, 0.4) !important;
  width: 80% !important;
  max-width: 280px !important;
  margin: 0 auto !important;
  display: block !important;
}

.welcome-layout .btn-comenzar-welcome:hover {
  background: var(--color-green-dark) !important;
  color: #001c46 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(119, 234, 184, 0.6) !important;
}

.welcome-layout .btn-comenzar-welcome:active {
  transform: scale(0.98) !important;
}

.welcome-badge-section-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 15px;
  width: 100%;
}

.footer-challenge-line {
  flex: 1;
  height: 1px;
  background: var(--color-green);
  opacity: 0.5;
}

.wellness-badge-new {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
}

.by-adidas-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-bottom: 10px;
}

.by-adidas-new img {
  height: 14px;
}

/* Adjustments for Welcome elements on desktop views */
@media (min-width: 768px) {
  .welcome-title-new {
    font-size: 4rem;
  }
  .welcome-headline-new {
    font-size: 2.8rem;
  }
  .welcome-layout .btn-comenzar-welcome {
    margin: 0 !important;
  }
}


/* ============================================================
   WELCOME SCREEN CLARITY & SPACING OVERRIDES
   ============================================================ */

/* Force welcome screen dark overlay to cover 100% of the screen on mobile (removes clip-path) */
@media (max-width: 768px) {
  #screen-1::before {
    clip-path: none !important;
    background: linear-gradient(
      to bottom, 
      rgba(0, 18, 46, 0.85) 0%, 
      rgba(0, 18, 46, 0.65) 50%, 
      rgba(0, 18, 46, 0.9) 100%
    ) !important;
    z-index: 1 !important;
  }
}

/* Correct the separator and footer line colors to be actual green (since --color-green is mapped to coral red in this project) */
.welcome-title-underline {
  background-color: var(--color-green) !important;
}

.footer-challenge-line {
  background: var(--color-green) !important;
  opacity: 0.7 !important;
}

/* Mobile viewport adjustments for cleaner spacing and smaller text (prevents squeezing) */
@media (max-width: 480px) {
  .welcome-layout {
    padding: 70px 24px 20px 24px !important;
    justify-content: flex-start !important;
    gap: 25px !important;
  }

  .welcome-content {
    margin-top: 20px !important;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
  }

  .welcome-title-new {
    font-size: 3rem !important; /* 48px */
    line-height: 3rem !important; /* 48px */
    margin-bottom: 8px !important;
    letter-spacing: 0px !important;
  }

  .welcome-title-underline {
    display: none !important;
  }

  .welcome-headline-new {
    font-size: 2rem !important; /* 32px */
    line-height: 2rem !important; /* 32px */
    margin-bottom: 20px !important;
    letter-spacing: 0px !important;
  }

  .welcome-wellness-box {
    margin-bottom: 25px !important;
    gap: 12px !important;
  }

  .welcome-wellness-icon {
    width: 50px !important;
    height: 50px !important;
  }
  
  .welcome-wellness-icon svg {
    width: 44px !important;
    height: 44px !important;
  }

  .welcome-wellness-box .welcome-subtitle {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    line-height: 18px !important;
    font-style: normal !important;
  }

  .welcome-action-box {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  .welcome-layout .btn-comenzar-welcome {
    font-size: 16px !important;
    width: 264px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 74px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .welcome-badge-section-new {
    display: none !important;
  }
}


/* ============================================================
   WELCOME SCREEN - 100% PERFECT MOCKUP ALIGNMENT
   ============================================================ */

/* Disable old clip-path overlay on mobile and apply left-to-right dark blue gradient overlay */
#screen-1::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to right, 
    rgba(5, 15, 35, 0.95) 0%, 
    rgba(5, 15, 35, 0.8) 45%, 
    rgba(5, 15, 35, 0.4) 65%,
    rgba(5, 15, 35, 0.1) 100%
  ) !important;
  clip-path: none !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Base welcome layout spacing on mobile */
.welcome-layout {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 !important;
  padding: 60px 24px 20px 24px !important;
  z-index: 5 !important;
}

.welcome-content {
  margin-top: 35px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

/* Title text */
.welcome-title-new {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 3rem !important; /* 48px */
  line-height: 3rem !important; /* 48px */
  color: #ffffff !important;
  margin-bottom: 12px !important;
  letter-spacing: 0px !important;
  text-transform: none !important;
}

.welcome-title-underline {
  display: none !important;
}

/* Sub-headline: Sube tu nivel, suma puntos. */
.welcome-headline-new {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 2rem !important; /* 32px */
  line-height: 2rem !important; /* 32px */
  color: #ffffff !important;
  margin-bottom: 25px !important;
  letter-spacing: 0px !important;
}

.welcome-headline-new .text-green {
  color: var(--color-green) !important;
}

/* Wellness box (Icon + tag line) */
.welcome-wellness-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 35px !important;
}

.welcome-wellness-icon {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  margin-top: -12px !important;
}

.welcome-wellness-box .welcome-subtitle {
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #ffffff !important;
  line-height: 18px !important;
  margin: 0 !important;
}

.welcome-wellness-box .welcome-subtitle .text-green {
  color: var(--color-green) !important;
}

/* Comenzar Button alignment */
.welcome-action-box {
  width: 100% !important;
  margin-top: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.welcome-layout .btn-comenzar-welcome {
  background: var(--color-green) !important;
  color: #00327E !important; /* Azul */
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  width: 264px !important;
  height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 74px !important; /* fully rounded */
  border: none !important;
  text-transform: none !important;
  box-shadow: 0 4px 15px rgba(119, 234, 184, 0.3) !important;
  margin-bottom: 12px !important;
}


.welcome-layout .btn-comenzar-welcome:hover {
  background: var(--color-green-dark) !important;
  color: #00327E !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(119, 234, 184, 0.5) !important;
}

/* Footer layout */
.welcome-badge-section-new {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 40px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
}

.footer-challenge-line {
  flex: 1 !important;
  height: 1px !important;
  background: var(--color-green) !important;
  opacity: 0.5 !important;
}

.wellness-badge-new {
  font-family: var(--font-body) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.by-adidas-new {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 16px !important;
  margin-bottom: 5px !important;
  width: 100% !important;
}

.by-adidas-new img {
  height: 14px !important;
}

/* Desktop overrides to make sure it looks great on desktop too */
@media (min-width: 768px) {
  #screen-1::before {
    display: none !important; /* Use desktop split layout overlay instead */
  }
  .welcome-title-new {
    font-size: 4rem !important;
  }
  .welcome-headline-new {
    font-size: 2.8rem !important;
  }
  .welcome-action-box {
    justify-content: flex-start !important;
  }
}

.welcome-wellness-icon-img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}


/* Spacing adjustments to push Comenzar button and Wellness Challenge footer down */
@media (max-width: 480px) {
  .welcome-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* Forces items to distribute all the way down */
    padding: 60px 24px 30px 24px !important; /* Bottom padding pushes Adidas logo slightly higher from home bar */
    height: 100% !important;
  }
  
  .welcome-content {
    margin-top: 15px !important;
    flex-grow: 0 !important;
  }

  .welcome-action-box {
    margin-top: auto !important; /* Pushes the button to fill space */
    margin-bottom: 25px !important;
  }
  
  .welcome-badge-section-new {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  }

  .by-adidas-new {
    margin-bottom: 0 !important;
  }
}


/* ============================================================
   WELCOME SCREEN STRETCH AND POSITION FIX (100% MOCKUP MATCH)
   ============================================================ */

#screen-1 {
  background-position: center bottom !important; /* Pin stairs to the bottom */
}

@media (max-width: 768px) {
  /* Force welcome-layout to fill the viewport height by using absolute positioning */
  .welcome-layout {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 70px 24px 15px 24px !important; /* Reduced bottom padding from 40px to 15px to push things lower */
    height: auto !important;
    box-sizing: border-box !important;
  }

  .welcome-content {
    margin-top: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Ensure Comenzar button is pushed to the bottom */
  .welcome-action-box {
    margin-top: auto !important;
    margin-bottom: 12px !important; /* Reduced margin from 25px to 12px */
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
  }

  .welcome-badge-section-new {
    margin-top: 0 !important;
    margin-bottom: 0px !important; /* Reduced margin from 15px to 0px */
    z-index: 10 !important;
  }

  .by-adidas-new {
    margin-bottom: 0 !important;
    z-index: 10 !important;
  }
}


/* ============================================================
   DESKTOP WELCOME SCREEN REFINEMENTS (LOGO ALIGNMENT, IMAGE & SCALE)
   ============================================================ */

@media (min-width: 768px) {
  /* 1. Restore the climber image on the right */
  #screen-1::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 48vw !important;
    max-width: 100% !important;
    background-image: url('../assets/portada.png?v=2') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    clip-path: none !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  /* 2. Align logos with the text (left: 5%) */
  #screen-1 .top-navbar {
    left: 5% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    max-width: 700px !important;
    top: 30px !important;
  }

  /* 3. Scale up welcome layout typography and button on desktop - Refined to fit within vertical viewport */
  .welcome-title-new {
    font-size: 3.6rem !important;
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
    letter-spacing: -1.5px !important;
  }

  .welcome-title-underline {
    width: 70px !important;
    height: 4px !important;
    margin-bottom: 20px !important;
  }

  .welcome-headline-new {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.5px !important;
  }

  .welcome-wellness-box {
    gap: 15px !important;
    margin-bottom: 30px !important;
  }

  .welcome-wellness-icon {
    width: 48px !important;
    height: 48px !important;
    margin-top: -8px !important;
  }

  .welcome-wellness-icon-img {
    width: 48px !important;
    height: 48px !important;
  }

  .welcome-wellness-box .welcome-subtitle {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  .welcome-action-box {
    justify-content: flex-start !important;
  }

  .welcome-layout .btn-comenzar-welcome {
    font-size: 18px !important;
    padding: 12px 0 !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(236, 82, 98, 0.3) !important;
  }
}


/* ============================================================
   X LOGO SEPARATOR VERTICAL CENTER ALIGNMENT
   ============================================================ */
.navbar-logos, 
.auth-logos, 
.welcome-badge-logos, 
.by-adidas {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.navbar-x, 
.auth-x {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  transform: translateY(3px) !important; /* Push it down to center with logo height */
  font-weight: 300 !important;
}

/* ============================================================
   ADMIN DASHBOARD PREMIUM DESIGN SYSTEM ALIGNMENT
   ============================================================ */
.admin-only-body {
  font-family: var(--font-body), sans-serif !important;
  background: #f8fafc !important;
}

.admin-nav-btn.active {
  background: var(--color-green) !important;
  color: #001c46 !important;
  font-weight: 600 !important;
}
.admin-nav-btn.active:hover {
  background: var(--color-green-dark) !important;
}

/* Sidebar navigation buttons */
.admin-nav-btn {
  font-family: var(--font-body), sans-serif !important;
  border-radius: 8px !important;
  margin: 4px 8px !important;
  width: calc(100% - 16px) !important;
  font-weight: 500 !important;
}

/* Table elements styling */
.cms-table-title {
  font-family: var(--font-body), sans-serif !important;
  color: var(--color-navy) !important;
}

.cms-table th {
  font-family: var(--font-body), sans-serif !important;
  font-weight: 700 !important;
  color: var(--color-navy) !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
}

.cms-table td {
  font-family: var(--font-body), sans-serif !important;
  font-size: 13px !important;
}

/* Buttons style */
.cms-btn-primary {
  background: var(--color-navy) !important;
  font-family: var(--font-body), sans-serif !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
}

.cms-btn-primary:hover {
  background: #0e2246 !important;
  transform: translateY(-1px) !important;
}

.cms-btn-secondary {
  font-family: var(--font-body), sans-serif !important;
  color: var(--color-navy) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
}

.cms-btn-secondary:hover {
  background: #f1f5f9 !important;
  color: var(--color-navy) !important;
}

/* Pagination */
.cms-pagination button {
  font-family: var(--font-body), sans-serif !important;
  border-radius: 6px !important;
}

.cms-pagination span {
  font-family: var(--font-body), sans-serif !important;
}

/* Modal header font */
.cms-modal-header h3 {
  font-family: var(--font-body), sans-serif !important;
  color: var(--color-navy) !important;
}

.card-cms h3 {
  font-family: var(--font-body), sans-serif !important;
}


/* ============================================================
   UPDATED LOGO X SEPARATOR VERTICAL CENTER ALIGNMENT
   ============================================================ */
.navbar-x, 
.auth-x {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  transform: translateY(6px) !important; /* Center character perfectly */
  font-weight: 300 !important;
}

/* ============================================================
   ADMIN DASHBOARD CMS COLOR SYSTEM ALIGNMENT
   ============================================================ */
.cms-sidebar {
  width: 240px !important;
  background: linear-gradient(180deg, #00122e 0%, #000c20 100%) !important; /* Match site navy blue */
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15) !important;
}

/* Match Eliminar button with corporate Coral Red */
button[onclick*="deleteUser"], 
button[id*="delete"], 
button[onclick*="deleteSelected"], 
button.btn-danger,
.cms-table-actions button[onclick*="delete"] {
  background: var(--color-green) !important;
  color: #001c46 !important;
  border-radius: 8px !important;
  border: none !important;
}

button[onclick*="deleteUser"]:hover, 
button[id*="delete"]:hover, 
button[onclick*="deleteSelected"]:hover {
  background: var(--color-green-dark) !important;
}

/* Ensure + Nuevo usuario uses corporate Navy Blue */
.cms-table-actions button[onclick*="openNewUserModal"] {
  background: #00122e !important;
  color: white !important;
  border-radius: 8px !important;
}

/* Apply background image for ranking screens everywhere */
#screen-12, #screen-13 {
  background: url('../assets/fondos_varios.webp') no-repeat center center !important;
  background-size: cover !important;
}


/* Hides empty podium cards properly, bypassing display:flex !important */
.podium-card.hidden-podium-card {
  display: none !important;
}

/* Trophy bounce animation for premium raffle drawing */
@keyframes trophyBounce {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.1); }
  100% { transform: translateY(0) scale(1); }
}

.winner-display-trophy {
  font-size: 40px;
  margin-bottom: 10px;
  display: inline-block;
  animation: trophyBounce 0.8s infinite ease-in-out;
}


/* Force the update-sub to always render below the main ranking title */
.update-sub {
  display: block !important;
  margin-top: 6px !important;
}

/* ============================================================
   MOBILE RESPONSIVE COMPACT OVERRIDES FOR SCREEN 11 & 14
   ============================================================ */
@media (max-width: 768px) {
  /* SCREEN 11 SUCCESS SCREEN ADJUSTMENTS */
  .success-new-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  background: transparent !important;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.success-card {
  width: 342px !important;
  max-width: 100% !important;
  min-height: 538px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
  padding: 24px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.success-card .success-floors-grid,
.success-card .success-stats-rows,
.success-card .success-info-alert-box {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.success-card .btn-finalizar-recorrido-new {
  text-transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px;
  background: var(--color-green) !important;
  color: #00327e !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  border: none !important;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease, transform 0.1s ease;
  margin-top: 15px;
  box-sizing: border-box !important;
}

#screen-11 .ranking-navbar .logo-urbanova-img,
#screen-11 .ranking-navbar .logo-adidas-img {
  filter: brightness(0) !important;
}
  
  .success-checkmark-outer-wrapper {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
  }
  
  .success-checkmark-ring-2 {
    width: 86px !important;
    height: 86px !important;
  }
  
  .success-checkmark-ring-1 {
    width: 70px !important;
    height: 70px !important;
  }
  
  
  
  .success-new-title {
    font-size: 32px !important;
    margin-bottom: 2px !important;
  }
  
  .success-new-subtitle {
    font-size: 24px !important;
  }
  
  .success-new-points {
    font-size: 72px !important;
    margin-top: -2px !important;
    margin-bottom: 12px !important;
  }
  
  .success-floors-grid {
    padding: 10px 14px !important;
    margin-bottom: 12px !important;
    max-width: 320px !important;
  }
  
  .floor-col {
    gap: 14px !important;
  }
  
  .floor-icon-box {
    font-size: 16px !important;
  }
  
  .floor-value {
    font-size: 1.2rem !important;
  }
  
  .success-stats-rows {
    gap: 14px !important;
    margin-bottom: 12px !important;
    max-width: 320px !important;
  }
  
  .stats-row {
    font-size: 13px !important;
  }
  
  .stats-icon-circle {
    width: 32px !important;
    height: 32px !important;
  }
  
  .stats-icon-star {
    width: 32px !important;
    height: 32px !important;
  }
  
  .stats-label {
    font-size: 16px !important;
  }
  
  .stats-value {
    font-size: 16px !important;
  }
  
  .success-info-alert-box {
    padding: 8px 12px !important;
    margin-bottom: 15px !important;
    max-width: 320px !important;
    border-radius: 10px !important;
  }
  
  .alert-bullet {
    font-size: 12px !important;
    gap: 14px !important;
  }
  
  .alert-bullet i {
    font-size: 12px !important;
    margin-top: 1px !important;
  }
  
  .alert-line-divider {
    margin: 6px 0 !important;
  }
  
  .btn-finalizar-recorrido-new {
  text-transform: none !important;
  width: 100%;
  max-width: 320px;
  padding: 14px;
  background: var(--color-green) !important;
  color: #00327e !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  border: none !important;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease, transform 0.1s ease;
  margin-bottom: 20px;
}

  /* SCREEN 14 PROFILE SCREEN ADJUSTMENTS */
  .profile-screen-layout .profile-body {
    padding: 0 16px 15px 16px !important;
    gap: 10px !important;
  }
  
  .profile-screen-layout .profile-body h2 {
    font-size: 24px !important;
    margin-bottom: 2px !important;
  }
  
  .profile-screen-layout .profile-card-details {
    padding: 16px 16px !important;
    border-radius: 12px !important;
  }
  
  .profile-screen-layout .profile-avatar {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  
  .profile-screen-layout #profile-name-lbl {
    font-size: 18px !important;
    margin-bottom: 2px !important;
  }
  
  .profile-screen-layout #profile-email-lbl {
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }
  
  .profile-screen-layout .company-badge-box {
    padding: 4px 12px !important;
    font-size: 10px !important;
  }
  
  .profile-screen-layout .profile-points-balance {
    padding: 12px 16px !important;
    border-radius: 12px !important;
  }
  
  .profile-screen-layout .pts-lbl {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }
  
  .profile-screen-layout .pts-val {
    font-size: 32px !important;
  }
  
  .profile-screen-layout .recent-activity-section {
    margin-top: 4px !important;
  }
  
  .profile-screen-layout .recent-activity-title {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
  
  .profile-screen-layout .recent-activity-grid {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }
  
  .profile-screen-layout .activity-icon-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }
  
  .profile-screen-layout .activity-label {
    font-size: 10px !important;
    margin-bottom: 3px !important;
  }
  
  .profile-screen-layout .activity-val-main {
    font-size: 12px !important;
  }
  
  .profile-screen-layout .activity-val-sub {
    font-size: 9px !important;
  }
  
  .profile-screen-layout .profile-menu-links {
    margin-top: 4px !important;
    gap: 14px !important;
  }
  
  .profile-screen-layout .menu-link-item {
    padding: 12px 16px !important;
    border-radius: 12px !important;
  }
  
  .profile-screen-layout .menu-link-left {
    font-size: 13px !important;
    gap: 10px !important;
  }
  
  .profile-screen-layout .menu-link-left i {
    font-size: 15px !important;
  }
}

/* ============================================================
   ¿Cómo Participar? Modal
   ============================================================ */

.como-participar-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 264px !important;
  height: 24px !important;
  margin-top: 12px !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
}
.como-participar-link:hover {
  opacity: 0.8 !important;
}

.como-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: comoFadeIn 0.3s ease;
}

@keyframes comoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes comoSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.como-modal-card {
  background-color: #ffffff !important;
  background-image: url('../assets/tarjetas.png?v=2') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 16px !important; /* 16px corner radius from Figma */
  width: 342px !important; /* 342px width from Figma */
  height: 537px !important; /* 537px height from Figma */
  padding: 36px 39px 32px !important; /* 36px top, 32px bottom, 39px sides from Figma SVG */
  position: relative !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  animation: comoSlideUp 0.4s ease 0.1s both !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.como-modal-close {
  position: absolute !important;
  top: 9px !important; /* Centered at y=25px (25 - 16 = 9px) from Figma SVG */
  right: 7px !important; /* Centered at x=319px (342 - 319 - 16 = 7px) from Figma SVG */
  background: none !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 22px !important; /* Fits close icon path size from Figma SVG */
  color: #00327E !important;
  cursor: pointer !important;
  line-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: opacity 0.2s !important;
  z-index: 10 !important;
}
.como-modal-close:hover {
  opacity: 0.8 !important;
}

.como-modal-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.como-modal-logos .logo-urbanova-img {
  height: 22px;
  width: auto;
  filter: brightness(0) !important;
}
.como-modal-logos .logo-adidas-img {
  height: 20px;
  width: auto;
  filter: brightness(0) !important;
}
.como-modal-x {
  font-size: 14px;
  color: #999;
  font-weight: 300;
}

.como-modal-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 24px !important; /* 24px from Figma */
  line-height: 29px !important; /* 29px from Figma */
  color: #00327E !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

.como-modal-desc {
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
  font-size: 12px !important; /* 12px from Figma */
  color: #555555 !important;
  text-align: center !important;
  line-height: 18px !important; /* 18px from Figma */
  margin-bottom: 16px !important;
}

.como-modal-steps-label {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 16px !important; /* 16px from Figma */
  line-height: 19px !important; /* 19px from Figma */
  color: #00327E !important;
  margin-bottom: 15px !important;
  text-transform: none !important;
  text-align: center !important;
}

.como-steps {
  display: flex !important;
  flex-direction: column !important;
  background: #F2F8FF !important; /* F2F8FF background from Figma */
  border: 1px solid #CEE2FF !important; /* CEE2FF stroke from Figma */
  border-radius: 8px !important;
  width: 264px !important;
  height: 224px !important;
  box-sizing: border-box !important;
  margin-bottom: 20px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.como-step {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: transparent !important; /* Transparent to show container F2F8FF */
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 74px !important;
  box-sizing: border-box !important;
}

.como-step:not(:last-child) {
  border-bottom: 1px solid #CEE2FF !important; /* 1px CEE2FF divider line */
}

.como-step-num {
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #00327E !important;
  width: 24px !important;
  flex-shrink: 0 !important;
  text-align: left !important;
}

.como-step-icon-wrapper {
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00327E !important;
  flex-shrink: 0 !important;
}

.como-step-icon-svg, .como-step-icon-img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

.como-step-text {
  flex: 1 !important;
}

.como-step-title {
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #00327E !important;
  margin: 0 0 2px 0 !important;
}

.como-step-detail {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  color: #555555 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* RECOMPENSAS TAB LAYOUT */
#como-modal-tab-2 .como-modal-title {
  margin-bottom: 40px !important;
}

.recompensa-list {
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important; /* No background box on Recompensas */
  border: none !important; /* No surrounding border */
  border-radius: 0 !important;
  width: 264px !important;
  box-sizing: border-box !important;
  margin-bottom: 0px !important;
  gap: 24px !important; /* Direct 24px spacing between items from Figma */
  flex-shrink: 0 !important;
}

.recompensa-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 0 !important; /* Floating elements have no inner padding */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.recompensa-icon-wrapper {
  width: 50.5px !important;
  height: 50.5px !important;
  background: transparent !important;
  border: none !important; /* SVG contains its own circle, no border needed */
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.recompensa-icon-img {
  width: 50.5px !important;
  height: 50.5px !important;
  object-fit: contain !important;
}

.recompensa-badge-tag {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  color: #00327E !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.recompensa-badge-tag i {
  font-size: 16px !important;
}

.recompensa-text {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.recompensa-title {
  font-family: var(--font-heading) !important;
  font-size: 16px !important; /* Size 16 from Figma */
  font-weight: 800 !important;
  color: #00327E !important;
  margin: 0 0 4px 0 !important; /* 4px margin bottom from Figma */
}

.recompensa-detail {
  font-family: var(--font-body) !important;
  font-size: 12px !important; /* Size 12 from Figma */
  color: #555555 !important;
  margin: 0 0 4px 0 !important; /* 4px margin bottom from Figma */
  line-height: 18px !important; /* 18px line-height from Figma */
}

.recompensa-req {
  font-family: var(--font-body) !important;
  font-size: 12px !important; /* Size 12 from Figma */
  color: #00327E !important; /* Entire requirement in blue */
  font-weight: 800 !important;
  margin: 0 !important;
}

.recompensa-req strong {
  color: #00327E !important;
  font-weight: 800 !important;
}

#como-modal-tab-1, #como-modal-tab-2 {
  height: 100% !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

/* PAGER INDICATOR DOTS */
.como-modal-pager {
  display: flex !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-top: auto !important; /* Pushes pager and button below it to bottom */
  margin-bottom: 24px !important; /* 24px gap below pager from Figma */
  flex-shrink: 0 !important;
}

.como-pager-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s;
}

.como-pager-dot.active {
  background: #77EAB8;
}

.como-modal-iniciar {
  width: 100% !important;
  height: 48px !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 24px !important; /* rx="24" from Figma SVG */
  margin-bottom: 0px !important;
  background: var(--color-green) !important;
  color: #00327E !important;
  border: none !important;
  text-transform: none !important;
  font-family: var(--font-heading) !important;
  box-shadow: 0 4px 12px rgba(119, 234, 184, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.como-modal-iniciar:hover {
  background: var(--color-green-dark) !important;
}

.como-modal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.como-modal-footer .footer-challenge-line {
  flex: 1;
}
.como-modal-footer .wellness-badge-new {
  font-size: 9px;
}

/* Mobile adjustments for como-participar modal */
@media (max-width: 480px) {
  .como-modal-overlay {
    padding: 16px;
  }
  .como-modal-card {
    max-width: 100% !important;
  }
}

/* Validation styles */
.auth-input.is-invalid {
  border: 1px solid #F15C67 !important;
}

/* ============================================================
   SCREEN 4 — Registro Exitoso: Navbar Override
   Logos left (155px container), hamburger right
   ============================================================ */
#screen-11 .success-new-layout {
  position: relative !important;
  z-index: 15 !important;
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 342px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box !important;
  margin: auto !important;
  padding: 0 10px !important;
}

#screen-4 .ranking-navbar,
#screen-5 .ranking-navbar,
#screen-8 .ranking-navbar,
#screen-11 .ranking-navbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: auto !important;
  height: auto !important;
  padding: 24px 24px !important;
  background: transparent !important;
  border: none !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
}
#screen-4 .ranking-navbar .navbar-logos,
#screen-5 .ranking-navbar .navbar-logos,
#screen-8 .ranking-navbar .navbar-logos,
#screen-11 .ranking-navbar .navbar-logos {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 155px !important;
  height: 35.1px !important;
  overflow: hidden !important;
}
#screen-4 .logo-urbanova-img,
#screen-5 .logo-urbanova-img,
#screen-8 .logo-urbanova-img,
#screen-11 .logo-urbanova-img {
  height: 100% !important;
  width: auto !important;
}
#screen-4 .logo-adidas-img,
#screen-5 .logo-adidas-img,
#screen-8 .logo-adidas-img,
#screen-11 .logo-adidas-img {
  height: 80% !important;
  width: auto !important;
}
#screen-4 .navbar-x,
#screen-5 .navbar-x,
#screen-8 .navbar-x,
#screen-11 .navbar-x {
  font-size: 20px !important;
}
#screen-4 .hamburger-menu,
#screen-5 .hamburger-menu,
#screen-8 .hamburger-menu,
#screen-11 .hamburger-menu {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 18px !important;
}

#screen-4 .success-content {
  max-width: 342px !important;
  width: 100% !important;
  margin-top: 50px !important;
}

#screen-4 .success-check-circle {
  border: none !important;
  width: 74px !important;
  height: 74px !important;
  margin: 0 auto 12px auto !important;


  max-width: none !important;
  flex-shrink: 0 !important;
  display: block !important;
}

#screen-4 .success-title {
  font-family: var(--font-heading) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 32px !important;
  text-transform: none !important;
}

/* ============================================================
   SCREEN 4 — Success Card (280 × 285 adaptar)
   Unified card with WHITE border
   ============================================================ */
.success-card-new {
  width: 280px !important;
  max-width: 280px !important;
  margin: 0 auto 32px auto !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

/* Card header — transparent glassmorphism */
.success-card-header {
  background-color: rgba(1, 12, 56, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 280px !important;
  height: 112px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.success-card-header .company-icon-box {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.success-card-header .company-info {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}

.success-card-header .company-label {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 2px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.success-card-header .company-name {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin-top: 0 !important;
  text-transform: capitalize !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Card body — white bg, fixed 173px height */
.success-card-body {
  background-color: #F8FAFF !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 12px !important;
  height: 173px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.success-card-body .bullet-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #00327E !important;
  margin-bottom: 0 !important;
  line-height: 1.3 !important;
}

.success-card-body .bullet-item i {
  color: #77EAB8 !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   SCREEN 4 — Button & Link
   ============================================================ */
#screen-4 .btn-comenzar {
  text-transform: none !important;
  font-size: 16px !important;
  padding: 14px !important;
  max-width: 280px !important;
  margin: 0 auto !important;
}

.que-puedo-ganar-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 24px !important;
  margin-top: 10px !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
}
.que-puedo-ganar-link:hover {
  opacity: 0.8 !important;
}

#screen-6 .text-green,
#screen-7 .text-green {
  color: #00327E !important;
}

/* ============================================================
   SCREEN 11: RECORRIDO EXITOSO - FINAL LAYOUT OPTIMIZATIONS
   ============================================================ */

/* Force screen to fit dynamic mobile viewport height (dvh) to avoid browser toolbar clipping */
#screen-11 {

  display: none !important;

  position: relative !important;

  background-image: url('../assets/tarjetas.png?v=2') !important;

  background-size: cover !important;

  background-position: center !important;

  background-repeat: no-repeat !important;

  overflow: hidden !important;

  flex-direction: column !important;

  align-items: center !important;

  justify-content: center !important;

  min-height: 100dvh !important;

  height: 100dvh !important;

  box-sizing: border-box !important;

  padding: 0 !important;

}

#screen-11.active {

  display: flex !important;

  position: relative !important;

  background-image: url('../assets/tarjetas.png?v=2') !important;

  background-size: cover !important;

  background-position: center !important;

  background-repeat: no-repeat !important;

  overflow: hidden !important;

  flex-direction: column !important;

  align-items: center !important;

  justify-content: center !important;

  min-height: 100dvh !important;

  height: 100dvh !important;

  box-sizing: border-box !important;

  padding: 0 !important;

}


/* Absolute position for top-left logos, identical to Screen 4 */
#screen-11 .ranking-navbar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: auto !important;
  height: auto !important;
  padding: 24px 24px !important;
  background: transparent !important;
  border: none !important;
}

#screen-11 .ranking-navbar .navbar-logos {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 155px !important;
  height: 35.1px !important;
  overflow: hidden !important;
}

#screen-11 .logo-urbanova-img {
  height: 100% !important;
  width: auto !important;
  display: inline-block !important;
  filter: brightness(0) !important;
}

#screen-11 .logo-adidas-img {
  height: 80% !important;
  width: auto !important;
  display: inline-block !important;
  filter: brightness(0) !important;
}

#screen-11 .ranking-navbar .navbar-x {
  color: #000000 !important;
  font-size: 20px !important;
  display: inline-block !important;
}

/* Compact layout area centered vertically */
#screen-11 .success-new-layout {
  position: relative !important;
  z-index: 15 !important;
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 342px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box !important;
  margin: auto !important;
  padding: 0 10px !important;
}

/* Inner elements spacing adjustments to fit 100% inside screen viewport */
#screen-11 .success-checkmark-wrapper {
  margin: 15px 0 -20px !important;
}

#screen-11 .success-checkmark-svg-img {
  width: 130px !important;
  height: 130px !important;
  object-fit: contain !important;
}

#screen-11 .success-new-title {
  margin: 0 0 2px !important;
  line-height: 1.1 !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #00327e !important;
  white-space: nowrap !important;
}

#screen-11 .success-new-subtitle {
  margin: 0 0 2px !important;
  font-size: 24px !important;
  color: #555555 !important;
  font-weight: 500 !important;
}

#screen-11 .success-new-points {
  margin: 0 0 8px !important;
  line-height: 1.1 !important;
  font-size: 72px !important;
  font-weight: 800 !important;
  color: #00327e !important;
}

#screen-11 .success-new-points .points-unit {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #00327e !important;
}

#screen-11 .success-floors-grid {
  margin-bottom: 8px !important;
  padding: 8px 16px !important;
  box-sizing: border-box !important;
}

#screen-11 .floor-divider-line {
  margin-left: 32px !important;
  margin-right: 32px !important;
  flex-shrink: 0 !important;
}

#screen-11 .floor-col.floor-col-left {
  margin-right: 0 !important;
}

#screen-11 .floor-col.floor-col-right {
  margin-left: 0 !important;
}

#screen-11 .success-stats-rows {
  margin-bottom: 8px !important;
  gap: 8px !important;
}

#screen-11 .success-info-alert-box {
  margin-bottom: 10px !important;
  padding: 8px 12px !important;
}

/* Info icons size 16x16 */
.success-alert-info-icon {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}

.stats-icon-container {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.success-stats-icon {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}

/* Button exact size of 264px * 48px, text capitalized, centered */
#success-finish-btn {
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
  width: 264px !important;
  max-width: 264px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50px !important;
  text-transform: none !important;
  margin: 0 auto !important;
  box-shadow: 0 4px 15px rgba(119, 234, 184, 0.3) !important;
  background: var(--color-green) !important;
  color: #00327e !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

/* ============================================================
   Figma Exact Match Styles for Screen 12 (Ranking)
   ============================================================ */

/* Dark Gradient Podium Cards */
.podium-card {
  border-radius: 16px 16px 0 0 !important;
  border: none !important;
  border-bottom: none !important;
  padding: 24px 12px 16px !important;
  text-align: center !important;
  position: relative !important;
  flex: 1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.podium-first {
  background: linear-gradient(180deg, #FFC401 0%, #8C5C19 100%) !important;
  min-height: 180px !important;
  transform: scale(1.05) !important;
  z-index: 2 !important;
}

.podium-second {
  background: linear-gradient(180deg, #8A909A 0%, #40444A 100%) !important;
  min-height: 150px !important;
}

.podium-third {
  background: linear-gradient(180deg, #8C5C19 0%, #3D2608 100%) !important;
  min-height: 130px !important;
}

/* Position Badges */
.badge-gold { background: #FFC401 !important; border: 2px solid #ffffff !important; }
.badge-silver { background: #8A909A !important; border: 2px solid #ffffff !important; }
.badge-bronze { background: #8C5C19 !important; border: 2px solid #ffffff !important; }

/* Text colors inside podium */
.podium-company-logo {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.podium-points {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 32px !important;
  color: #ffffff !important;
  display: block !important;
  line-height: 1 !important;
}

.podium-pts-label {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500 !important;
}

/* Leaderboard List Container */
.leaderboard-section {
  flex: 1 !important;
  background: #F8FAFF !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 24px 20px 80px !important;
  box-sizing: border-box !important;
  margin-top: 10px !important;
}

/* Table Headers */
.leaderboard-headers {
  display: flex !important;
  justify-content: space-between !important;
  padding: 12px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #00327E !important;
  border-bottom: 1.5px solid rgba(0, 50, 126, 0.15) !important;
  text-transform: capitalize !important;
  margin-bottom: 8px !important;
  background: transparent !important;
  font-family: var(--font-heading) !important;
}

/* Leaderboard Table Row Styles */
.lb-pos {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #00327E !important;
  width: 40px !important;
}

.lb-company, .lb-name {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-weight: 500 !important;
  color: #555555 !important;
  flex: 1 !important;
  font-size: 14px !important;
}

.lb-company-logo {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #EAEEEF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  color: #555555 !important;
  flex-shrink: 0 !important;
}

.lb-pts {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #00327E !important;
  text-align: right !important;
}

/* ============================================================
   Figma Exact Match Design Replica Overrides (Screen 12 & 13)
   ============================================================ */

/* Hide back button in main ranking navigation screens */
#screen-12 .back-button,
#screen-13 .back-button {
  display: none !important;
}

/* Align logos and hamburger menu to corners, identical to main screens */
.ranking-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 24px !important;
  height: 60px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 10 !important;
}

/* Green bold 32px Title for Ranking screen */
#screen-12 .ranking-header-title-box {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #77EAB8 !important;
  text-transform: none !important;
  padding-bottom: 10px !important;
}

/* Correct card gradients: from solid gold/silver/bronze to transparent at the bottom */
.podium-first {
  background: linear-gradient(to bottom, #FFC401 0%, rgba(217, 217, 217, 0) 100%) !important;
  min-height: 180px !important;
  transform: scale(1.05) !important;
  z-index: 2 !important;
}

.podium-second {
  background: linear-gradient(to bottom, #8A909A 0%, rgba(217, 217, 217, 0) 100%) !important;
  min-height: 150px !important;
}

.podium-third {
  background: linear-gradient(to bottom, #8C5C19 0%, rgba(217, 217, 217, 0) 100%) !important;
  min-height: 130px !important;
}

/* ============================================================
   Figma Exact Match Logo Sizing Overrides
   ============================================================ */
.navbar-logos .logo-urbanova-img,
.top-navbar .logo-urbanova-img {
  height: 28px !important;
  width: auto !important;
}
.navbar-logos .logo-adidas-img,
.top-navbar .logo-adidas-img {
  height: 26px !important;
  width: auto !important;
}
.navbar-logos .navbar-x,
.top-navbar .navbar-x {
  font-size: 16px !important;
  transform: none !important;
}

/* ============================================================
   Figma Exact Match Design Replica Overrides V2
   ============================================================ */

/* Hide subtext "Actualizado cada 15 minutos." on screen 12 */
#screen-12 .update-sub {
  display: none !important;
}

/* Tabs menu container styled with solid #07134B background */
.ranking-tabs,
.winners-tabs {
  display: flex !important;
  justify-content: center !important;
  background: #07134B !important;
  padding: 4px !important;
  border-radius: 50px !important;
  width: calc(100% - 32px) !important;
  margin: 16px auto !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: none !important;
}

/* Tab item buttons styling: white unselected, white bg & #00327E text selected */
.ranking-tab,
.winners-tab {
  padding: 8px 14px !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  flex: 1 !important;
  text-align: center !important;
  border: none !important;
}

.ranking-tab.active,
.winners-tab.active {
  background: #ffffff !important;
  color: #00327E !important;
}

/* Large and tall points text inside podium cards */
.podium-points {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 40px !important;
  color: #ffffff !important;
  display: block !important;
  line-height: 1 !important;
  margin-top: 4px !important;
}

.podium-pts-label {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 2px !important;
}

/* Exact table dimension adaptions (342px width, 210px height scrollable, centered) */
.leaderboard-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: #F8FAFF !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 24px 20px 80px !important;
  box-sizing: border-box !important;
}

#leaderboard-headers-row {
  width: 342px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

#ranking-list-container {
  width: 342px !important;
  max-width: 100% !important;
  height: 210px !important;
  overflow-y: auto !important;
  margin: 0 auto !important;
  padding-right: 2px !important;
}

/* Perfect center alignment for table columns */
.header-pos,
.lb-pos {
  width: 70px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.header-company,
.header-name,
.lb-company,
.lb-name {
  flex: 1 !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-width: 0 !important;
}

.header-pts,
.lb-pts {
  width: 90px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* Font styles for leaderboard cells */
.lb-pos {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #555555 !important;
}

.lb-company, .lb-name {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #555555 !important;
}

.lb-pts {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #00327E !important;
}

/* ============================================================
   Figma Exact Match Design Replica Overrides V3 (Final)
   ============================================================ */

/* Hide subtext "Actualizado cada 15 minutos." on screen 12 */
#screen-12 .update-sub {
  display: none !important;
}

/* Hide back button in main ranking navigation screens */
#screen-12 .back-button,
#screen-13 .back-button {
  display: none !important;
}

/* Align logos and hamburger menu to corners, matching main screens */
.ranking-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 15px 20px !important;
  height: 60px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

/* Make hamburger flow in flexbox (not absolute) on ranking/winners/profile screens */
#screen-12 .hamburger-menu,
#screen-13 .hamburger-menu,
#screen-14 .hamburger-menu {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 18px !important;
}

#screen-12 .ranking-navbar .navbar-logos,
#screen-13 .ranking-navbar .navbar-logos,
#screen-14 .ranking-navbar .navbar-logos {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Larger, elegant navbar logo sizes */
.navbar-logos .logo-urbanova-img,
.top-navbar .logo-urbanova-img {
  height: 34px !important;
  width: auto !important;
}
.navbar-logos .logo-adidas-img,
.top-navbar .logo-adidas-img {
  height: 30px !important;
  width: auto !important;
}
.navbar-logos .navbar-x,
.top-navbar .navbar-x {
  font-size: 18px !important;
  transform: none !important;
}

/* Green bold 32px Title for Ranking screen */
#screen-12 .ranking-header-title-box {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #77EAB8 !important;
  text-transform: none !important;
  padding-bottom: 10px !important;
}

/* Correct card gradients: from solid gold/silver/bronze to transparent at the bottom */
.podium-first {
  background: linear-gradient(to bottom, #FFC401 0%, rgba(217, 217, 217, 0) 100%) !important;
  min-height: 180px !important;
  transform: scale(1.05) !important;
  z-index: 2 !important;
}
.podium-second {
  background: linear-gradient(to bottom, #8A909A 0%, rgba(217, 217, 217, 0) 100%) !important;
  min-height: 150px !important;
}
.podium-third {
  background: linear-gradient(to bottom, #8C5C19 0%, rgba(217, 217, 217, 0) 100%) !important;
  min-height: 130px !important;
}

/* Position Badges */
.badge-gold { background: #FFC401 !important; border: 2px solid #ffffff !important; }
.badge-silver { background: #8A909A !important; border: 2px solid #ffffff !important; }
.badge-bronze { background: #8C5C19 !important; border: 2px solid #ffffff !important; }

/* Text colors inside podium */
.podium-company-logo {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.podium-points {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 40px !important;
  color: #ffffff !important;
  display: block !important;
  line-height: 1 !important;
  margin-top: 4px !important;
}
.podium-pts-label {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 2px !important;
}

/* Tabs menu container styled with solid #07134B background */
.ranking-tabs,
.winners-tabs {
  display: flex !important;
  justify-content: center !important;
  background: #07134B !important;
  padding: 4px !important;
  border-radius: 50px !important;
  width: calc(100% - 32px) !important;
  margin: 16px auto !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: none !important;
}
.ranking-tab,
.winners-tab {
  padding: 8px 14px !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  flex: 1 !important;
  text-align: center !important;
  border: none !important;
  text-transform: none !important; /* No uppercase */
}
.ranking-tab.active,
.winners-tab.active {
  background: #ffffff !important;
  color: #00327E !important;
}

/* Leaderboard section */
.leaderboard-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: #F8FAFF !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 24px 20px 80px !important;
  box-sizing: border-box !important;
}

/* Table sizing exactly 328px width, 210px height scrollable, centered */
#leaderboard-headers-row {
  width: 328px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
#ranking-list-container {
  width: 328px !important;
  max-width: 100% !important;
  height: 210px !important;
  overflow-y: auto !important;
  margin: 0 auto !important;
  padding-right: 2px !important;
}

/* Headers & rows display */
.leaderboard-headers {
  display: flex !important;
  justify-content: space-between !important;
  padding: 12px 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #00327E !important;
  border-bottom: 1.5px solid rgba(0, 50, 126, 0.15) !important;
  text-transform: none !important;
  margin-bottom: 8px !important;
  background: transparent !important;
  font-family: var(--font-heading) !important;
}
.leaderboard-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(0, 50, 126, 0.08) !important;
  box-sizing: border-box !important;
}

/* Grid alignment for Company View (3 columns) */
.leaderboard-headers.type-company > span,
.leaderboard-row.type-company > span {
  flex: 1 !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
}

/* Grid alignment for People View (4 columns) */
.leaderboard-headers.type-people > span,
.leaderboard-row.type-people > span {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
}
.leaderboard-headers.type-people .header-pos,
.leaderboard-row.type-people .lb-pos {
  flex: 0.8 !important;
}
.leaderboard-headers.type-people .header-name,
.leaderboard-row.type-people .lb-name {
  flex: 1.2 !important;
}
.leaderboard-headers.type-people .header-company,
.leaderboard-row.type-people .lb-company {
  flex: 1.2 !important;
}
.leaderboard-headers.type-people .header-pts,
.leaderboard-row.type-people .lb-pts {
  flex: 0.8 !important;
}

/* Table content styles */
.lb-pos {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #555555 !important;
}
.lb-company, .lb-name {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #555555 !important;
}
.lb-pts {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #00327E !important;
}

/* ============================================================
   Figma Exact Match Prizes Tab Styling Overrides
   ============================================================ */

.prize-card-new {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  border: 1.5px solid #CEE2FF !important;
  box-shadow: 0 4px 12px rgba(0, 50, 126, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  text-align: left !important; /* Force left align inside ranking section */
}

.prize-card-main {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
}

.prize-card-img-wrapper {
  width: 80px !important;
  height: 80px !important;
  border-radius: 12px !important;
  background: #F2F8FF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border: 1px solid #CEE2FF !important;
}

.prize-card-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* contain to preserve original logos */
  padding: 6px !important; /* padding to look like a premium card container */
  box-sizing: border-box !important;
}

.prize-card-img-placeholder {
  font-size: 28px !important;
  color: #77EAB8 !important;
}

.prize-card-details {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}

.prize-card-badge {
  background: #77EAB8 !important;
  color: #00327E !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  letter-spacing: 0.2px !important;
  display: inline-block !important;
}

.prize-card-title {
  color: #00327E !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
}

.prize-card-desc {
  color: #555555 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.prize-card-footer {
  background: #F2F8FF !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid rgba(0, 50, 126, 0.06) !important;
}

.prize-info-icon {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #00327E !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  flex-shrink: 0 !important;
}

.prize-footer-text {
  font-size: 11px !important;
  color: #00327E !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.prize-footer-text strong {
  font-weight: 700 !important;
}

/* ============================================================
   Figma Exact Match Overrides V4 (3D shadow and CSS Mask)
   ============================================================ */

/* Hide headers row class override */
.hidden-headers-row {
  display: none !important;
}

/* 3D solid shadow effect on bottom of cards */
.prize-card-new {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-bottom: 24px !important; /* Space for shadow */
  border: 1.5px solid #CEE2FF !important;
  box-shadow: 0 6px 0px 0px #CEE2FF !important; /* 3D bottom extrusion shadow */
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  text-align: left !important;
}

/* ============================================================
   Prizes Height Adjustment Override
   ============================================================ */
#ranking-list-container.ranking-list-prizes {
  height: 460px !important; /* Fits min 2 full cards */
  overflow-y: auto !important;
}

/* ============================================================
   Figma Exact Match Winners Tab Styling Overrides
   ============================================================ */

/* Grid alignment for Winners View (5 columns) */
.leaderboard-headers.type-winners > span,
.leaderboard-row.type-winners > span {
  display: flex !important;
  align-items: center !important;
  font-size: 11px !important;
  width: auto !important;
}

.leaderboard-headers.type-winners .header-winner,
.leaderboard-row.type-winners .lb-winner {
  flex: 1.2 !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 6px !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.leaderboard-headers.type-winners .header-company,
.leaderboard-row.type-winners .lb-company {
  flex: 1 !important;
  justify-content: center !important;
  text-align: center !important;
}

.leaderboard-headers.type-winners .header-pts,
.leaderboard-row.type-winners .lb-pts {
  flex: 0.8 !important;
  justify-content: center !important;
  text-align: center !important;
}

.leaderboard-headers.type-winners .header-prize,
.leaderboard-row.type-winners .lb-prize {
  flex: 1.2 !important;
  justify-content: center !important;
  text-align: center !important;
}

.leaderboard-headers.type-winners .header-date,
.leaderboard-row.type-winners .lb-date {
  flex: 0.8 !important;
  justify-content: flex-end !important;
  text-align: right !important;
}

/* Winner items text styles */
.lb-winner {
  font-weight: 500 !important;
  font-size: 11px !important;
  color: #00327E !important;
}
.leaderboard-row.type-winners .lb-prize {
  font-weight: 500 !important;
  font-size: 11px !important;
  color: #555555 !important;
}
.leaderboard-row.type-winners .lb-date {
  font-weight: 500 !important;
  font-size: 10px !important;
  color: #777777 !important;
}

/* ============================================================
   Figma Exact Match Hamburger Dropdown Overrides
   ============================================================ */
.hamburger-dropdown {
  display: none;
  position: fixed !important;
  top: 75px !important; /* Aligned nicely below hamburger icon */
  right: 40px !important; /* Aligned with top-navbar margins */
  background: #00327E !important; /* Figma Relleno: #00327E */
  border: none !important; /* Figma: No stroke */
  border-radius: 8px !important; /* Figma: Apariencia 8px */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  width: 136px !important; /* Figma: W 136px */
  height: 98px !important; /* Figma: H 98px */
  box-sizing: border-box !important;
}

.hamburger-dropdown.active {
  display: flex !important;
  flex-direction: column !important;
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 14px !important;
  height: 32.6px !important; /* H 98px / 3 items = 32.6px */
  color: #ffffff !important; /* Figma text color */
  font-size: 12px !important; /* Figma text size: 12px */
  font-weight: 500 !important;
  font-family: var(--font-body) !important;
  border: none !important;
  background: none !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15) !important;
  width: 100% !important;
  text-align: left !important;
  transition: background 0.2s !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.dropdown-item:last-child {
  border-bottom: none !important;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.dropdown-item i {
  font-size: 12px !important;
  color: #77EAB8 !important; /* Mint green icons */
  width: 16px !important;
  text-align: center !important;
}

@media (min-width: 768px) {
  .hamburger-dropdown {
    top: 80px !important;
    right: 80px !important;
  }
}

/* ============================================================
   Figma Exact Match Hamburger Menu Alignment & White Icons Overrides
   ============================================================ */
.hamburger-dropdown {
  position: absolute !important; /* Absolute relative to app-container! */
  top: 64px !important; /* Closer right below the header sanguche icon */
  right: 20px !important; /* Perfectly locked to the right side of phone screen */
}

/* Icons are white in the menu dropdown */
.dropdown-item i {
  color: #ffffff !important; /* White color icons! */
}

/* ============================================================
   Figma Exact Match Profile Screen Styling Overrides
   ============================================================ */
.profile-screen-layout .profile-body {
  padding: 0 20px 15px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important; /* tight layout to fit one screen */
}

.profile-screen-layout .profile-body h2 {
  color: #00327E !important; /* Navy title */
  font-size: 32px !important; /* Mi perfil bold 32 */
  font-weight: 800 !important;
  font-family: var(--font-heading) !important;
  text-transform: none !important;
  margin-bottom: 2px !important;
  text-align: center !important;
}

.profile-screen-layout .profile-card-details {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 12px 15px !important; /* condensed */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  border: 1.5px solid #CEE2FF !important; /* Figma light blue border */
  box-shadow: none !important;
}

.profile-screen-layout .profile-avatar {
  width: 44px !important; /* condensed */
  height: 44px !important;
  background: #f0f4f8 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  color: var(--color-navy) !important;
  margin-bottom: 6px !important;
}

.profile-screen-layout #profile-name-lbl {
  font-size: 16px !important; /* Pedro Caraz bold 16 */
  font-weight: 700 !important;
  color: #00327E !important;
  margin-bottom: 2px !important;
}

.profile-screen-layout #profile-email-lbl {
  font-size: 12px !important; /* correo regular 12 */
  font-weight: 400 !important;
  color: #777777 !important;
  margin-bottom: 6px !important;
}

/* Company badge solid mint green with white text */
.profile-screen-layout .company-badge-box {
  background: #77EAB8 !important; /* Mint green solid background */
  border: 1px solid #CEE2FF !important; /* Figma light blue border */
  padding: 0 8px !important; /* horizontal padding 8px */
  border-radius: 4px !important; /* border-radius 4px */
  height: 22px !important; /* height 22px */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 4px !important;
  box-sizing: border-box !important;
}

.profile-screen-layout #profile-company-lbl {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #00327E !important; /* Navy text inside badge */
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important; /* Respect JS casing */
}

/* Points Card styles */
.profile-screen-layout .profile-points-balance {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 12px 15px !important; /* condensed */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  border: 1.5px solid #CEE2FF !important; /* Figma light blue border */
  box-shadow: none !important;
}

.profile-screen-layout .pts-lbl {
  font-size: 16px !important; /* Puntos Acumulados bold 16 */
  font-weight: 700 !important;
  color: #00327E !important; /* Navy text */
  font-family: var(--font-heading) !important;
  margin-bottom: 0px !important;
}

.profile-screen-layout .pts-val {
  font-size: 42px !important; /* 10 bold 42 */
  font-weight: 800 !important;
  color: #00327E !important; /* Navy points text */
  margin-top: 0px !important;
  line-height: 1.1 !important;
}

/* Recent activity section title */
.profile-screen-layout .recent-activity-section {
  margin-top: 2px !important;
}

.profile-screen-layout .recent-activity-title {
  font-size: 16px !important; /* Actividad reciente regular 16 */
  font-weight: 400 !important;
  color: #777777 !important; /* Gray text */
  margin-bottom: 8px !important;
  display: block !important;
  text-align: left !important;
}

.profile-screen-layout .recent-activity-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1.5px solid #CEE2FF !important; /* Figma light blue border */
  box-shadow: none !important;
  padding: 12px 10px !important; /* condensed */
}

/* Activity column labels and values */
.profile-screen-layout .activity-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
}

.profile-screen-layout .activity-label {
  font-size: 12px !important; /* los Último son regular 12 */
  font-weight: 400 !important;
  color: #777777 !important;
  margin-bottom: 4px !important;
}

.profile-screen-layout .activity-val-main {
  font-size: 16px !important; /* fecha, 10pts, Piso 8 es bold 16 */
  font-weight: 700 !important;
  color: #00327E !important; /* Navy values */
  line-height: 1.2 !important;
}

.profile-screen-layout .activity-val-sub {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #777777 !important;
}

.profile-screen-layout .activity-icon-circle {
  width: 32px !important;
  height: 32px !important;
  background: #f0f4f8 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--color-navy) !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

.profile-screen-layout .activity-col:not(:last-child)::after {
  content: '' !important;
  position: absolute !important;
  right: 0 !important;
  top: 15% !important;
  height: 70% !important;
  width: 1px !important;
  background: #CEE2FF !important; /* light blue divider */
}

/* Buttons style */
.profile-screen-layout .profile-menu-links {
  margin-top: 5px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important; /* tight layout */
}

.profile-btn-cerrar {
  background: #77EAB8 !important; /* Solid mint green */
  color: #00327E !important; /* Navy text */
  border: none !important;
  border-radius: 24px !important; /* Pill shaped */
  width: 342px !important; /* Figma W: 342px */
  max-width: 100% !important;
  height: 48px !important; /* Figma H: 48px */
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.profile-btn-cerrar:hover {
  opacity: 0.9 !important;
}

.profile-btn-regresar {
  background: #ffffff !important;
  color: #00327E !important; /* Navy text */
  border: 1.5px solid #00327E !important; /* Navy outline */
  border-radius: 24px !important; /* Pill shaped */
  width: 342px !important; /* Figma W: 342px */
  max-width: 100% !important;
  height: 48px !important; /* Figma H: 48px */
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: 0px !important;
  box-sizing: border-box !important;
}
.profile-btn-regresar:hover {
  background: #f0f4f8 !important;
}

/* ============================================================
   Figma Brand Styles Integration for Admin Dashboard (CMS)
   ============================================================ */
.admin-only-body {
  background: var(--color-light-bg) !important;
  color: var(--color-navy) !important;
  font-family: var(--font-body), sans-serif !important;
}

.admin-only-body h1,
.admin-only-body h2,
.admin-only-body h3,
.admin-only-body h4,
.admin-only-body h5,
.admin-only-body h6,
.admin-only-body .cms-table-title,
.admin-only-body .card-subtitle,
.admin-only-body .admin-nav-btn {
  font-family: var(--font-heading), sans-serif !important;
}

/* Sidebar premium matching */
.admin-only-body .cms-sidebar {
  background-image: url('../assets/fondos_varios.webp') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Button brand matching for CMS */
.admin-only-body .cms-btn-primary {
  background: var(--color-green) !important;
  color: var(--color-blue) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.admin-only-body .cms-btn-primary:hover {
  background: var(--color-green-dark) !important;
  color: var(--color-blue) !important;
}

.admin-only-body .cms-btn-secondary {
  background: #ffffff !important;
  color: var(--color-blue) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  border: 1.5px solid var(--color-blue) !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.admin-only-body .cms-btn-secondary:hover {
  background: var(--color-green-pale) !important;
  color: var(--color-blue) !important;
}

/* Main Dashboard Cards brand matching */
.admin-only-body .card-cms,
.admin-only-body .cms-table-wrapper,
.admin-only-body .cms-bonus-card,
.admin-only-body .cms-raffle-card,
.admin-only-body .cms-modal-content {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1.5px solid #CEE2FF !important;
  box-shadow: none !important;
}

/* Table header font weight and brand matching */
.admin-only-body .cms-table th {
  font-family: var(--font-heading), sans-serif !important;
  font-weight: 700 !important;
  color: var(--color-blue) !important;
  background: var(--color-green-pale) !important;
  border-bottom: 1.5px solid #CEE2FF !important;
}

.admin-only-body .cms-table td {
  font-family: var(--font-body), sans-serif !important;
  border-bottom: 1px solid #CEE2FF !important;
}

.admin-only-body .admin-main-content {
  background: var(--color-light-bg) !important;
}
