/* =========================
   TEMA MONTERREY
========================= */
.theme-monterrey{
  --m-teal: #19e6d1;
  --m-purple: #4b32d1;
  --m-deep: #0b1022;
  --m-red: #d81b2c;

  --panel-glass: rgba(255,255,255,0.70);
  --inner: rgba(255,255,255,0.92);
  --stroke: rgba(15, 23, 42, 0.12);
}

.theme-monterrey .content{
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.theme-monterrey.page-qr .screen{
  align-items: center;
}

.theme-monterrey .panel{
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(180deg, var(--panel-glass), rgba(255,255,255,0.45));
  border: 5px solid rgba(25,230,209,0.40);
  box-shadow: 0 20px 50px rgba(0,0,0,0.14);
  overflow: hidden;
}

.theme-monterrey .panel__top{
  padding: 8px 10px 14px;
  text-align: center;
}

.theme-monterrey .panel__brand{
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: linear-gradient(90deg, var(--m-teal), var(--m-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-monterrey .panel__sub{
  margin-top: 6px;
  font-weight: 800;
  font-size: 18px;
  color: rgba(15,23,42,0.76);
}

.theme-monterrey .panel__inner{
  background: var(--inner);
  border-radius: 18px;
  border: 2px solid rgba(15, 23, 42, 0.08);
  padding: 14px;
}

.theme-monterrey .panel__bar{
  border-radius: 14px;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: linear-gradient(90deg,
    rgba(25,230,209,0.35),
    rgba(75,50,209,0.18),
    rgba(216,27,44,0.22)
  );

  border: 2px solid rgba(15,23,42,0.08);
  font-weight: 900;
  color: #0f172a;
}

.theme-monterrey .bar__icon{
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}

.theme-monterrey .bar__icon svg{
  width: 22px;
  height: 22px;
  color: #0f172a;
}

.theme-monterrey .scan-box{
  margin-top: 14px;
  background: linear-gradient(180deg, #0b1022, #070b18);
  border-radius: 18px;
  padding: 18px;
  border: 4px solid rgba(216,27,44,0.65);
  box-shadow: inset 0 0 0 4px rgba(25,230,209,0.22);
}

.theme-monterrey .scan-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.10), rgba(255,255,255,0) 58%);
  overflow: hidden;
}

.theme-monterrey .scan-frame::before{
  content:"";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  border: 4px solid rgba(25,230,209,0.55);
}

.theme-monterrey .scan-frame::after{
  content:"";
  position:absolute;
  inset: 18px;
  border-radius: 14px;
  background:
    linear-gradient(var(--m-red), var(--m-red)) left  top    / 44px 6px no-repeat,
    linear-gradient(var(--m-red), var(--m-red)) left  top    / 6px 44px no-repeat,

    linear-gradient(var(--m-red), var(--m-red)) right top    / 44px 6px no-repeat,
    linear-gradient(var(--m-red), var(--m-red)) right top    / 6px 44px no-repeat,

    linear-gradient(var(--m-red), var(--m-red)) left  bottom / 44px 6px no-repeat,
    linear-gradient(var(--m-red), var(--m-red)) left  bottom / 6px 44px no-repeat,

    linear-gradient(var(--m-red), var(--m-red)) right bottom / 44px 6px no-repeat,
    linear-gradient(var(--m-red), var(--m-red)) right bottom / 6px 44px no-repeat;
  pointer-events: none;
}

.theme-monterrey .scan-ball{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 62px;
  opacity: .35;
  transform: translateY(-6px);
}

.theme-monterrey .scan-pill{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(25,230,209,0.20);
  border: 2px solid rgba(25,230,209,0.35);
  color: #e8fbff;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.theme-monterrey .tips{
  margin: 14px 8px 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(15,23,42,0.76);
  font-weight: 800;
}

.theme-monterrey .tips li{
  display: flex;
  gap: 10px;
  align-items: center;
}

.theme-monterrey .tip-ic{
  width: 22px;
  text-align: center;
}

.theme-monterrey .action-btn{
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  cursor: pointer;

  background: linear-gradient(90deg, var(--m-teal), var(--m-purple), var(--m-red));
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.theme-monterrey .action-btn:active{
  transform: translateY(1px);
}

.theme-monterrey .bolt{ margin-right: 6px; }

/* =========================
   FOTO
========================= */
.theme-monterrey.page-foto .topbar{
  background: linear-gradient(90deg,
    rgba(25,230,209,0.20),
    rgba(75,50,209,0.14),
    rgba(216,27,44,0.16)
  );
  border: 2px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.theme-monterrey.page-foto .topbar__title{
  font-weight: 900;
  background: linear-gradient(90deg, var(--m-teal), var(--m-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-monterrey.page-foto .nav-btn{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 12px;
}

.theme-monterrey.page-foto .capture-panel{
  background: rgba(255,255,255,0.88);
  border-top: 2px solid rgba(15,23,42,0.08);
  box-shadow: 0 -18px 40px rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
}

.theme-monterrey.page-foto .effects-btn{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15,23,42,0.10);
}

.theme-monterrey.page-foto.effects-on .effects-btn{
  background: linear-gradient(90deg,
    rgba(25,230,209,0.18),
    rgba(75,50,209,0.12),
    rgba(216,27,44,0.14)
  );
  border-color: rgba(25,230,209,0.35);
}

.theme-monterrey.page-foto .shutter{
  box-shadow:
    0 18px 36px rgba(0,0,0,0.18),
    inset 0 0 0 4px rgba(255,255,255,0.28);
}

.theme-monterrey.page-foto .player-card{
  border-color: rgba(15,23,42,0.10);
  box-shadow: inset 0 0 0 4px rgba(25,230,209,0.10);
}

.theme-monterrey.page-foto.effects-on .player-card{
  border-color: rgba(25,230,209,0.55);
  box-shadow:
    0 0 0 3px rgba(25,230,209,0.30),
    0 0 0 6px rgba(75,50,209,0.18);
}

/* =========================
   APP BAR
========================= */
.theme-monterrey .topbar{
  border-bottom: 0;
  border-radius: 16px;
  padding: 0 10px;

  background: linear-gradient(90deg,
    rgba(25,230,209,0.20),
    rgba(75,50,209,0.14),
    rgba(216,27,44,0.16)
  );

  border: 2px solid rgba(15,23,42,0.08);
  backdrop-filter: blur(8px);
}

.theme-monterrey .nav-btn,
.theme-monterrey .icon-btn{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 12px;
}

.theme-monterrey .topbar__center{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.theme-monterrey .wordmark{
  height: 40px;
  width: auto;
  display: block;
}

.theme-monterrey .topbar__subtitle{
  font-weight: 900;
  font-size: 12.5px;
  color: rgba(15,23,42,0.70);
}

.theme-monterrey .brand-logo{
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.scan-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.scan-status{
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
}

.qr-canvas{
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scan-frame.is-live .scan-ball,
.scan-frame.is-live .scan-pill{
  display: none;
}
