/* DUAPASS */
/* V1 - 2025 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primario: #6449d7;
  --primario-hover: #553eba;
  --blanco: #ffffff;
  --blanco-hover: #cbcbcb;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: "Rubik", sans-serif;
  background-color: #121212;
  text-decoration: none;
  background-image:url(/../images/app/bg_duapass.png);
  background-repeat:no-repeat;
  background-position:top left;
}

.boxed {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  top: 0;
  width: 100%;
  color: white;
  z-index: 1000;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0) 100%
  );
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 15px 0;
  font-size: 14px;
}

.logo {
  font-weight: 700;
}

.actions {
  display: flex;
  align-items: center;
}

.actions span {
  margin-left: 0px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #222;
  flex-wrap: wrap;
  min-height:50px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.mayus {
    text-transform: uppercase;
}

.main-nav a,
.main-nav span {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
}

.search {
  display: flex;
  margin-top: 10px;
  flex-grow: 1;
  max-width: 300px;
}

.search input {
  padding: 5px;
  flex: 1;
  border: none;
  border-radius: 4px 0 0 4px;
}

.search button {
  padding: 5px 10px;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
}

main {
  padding-top: 40px;
  flex: 1 0 auto;
}

.hero img {
  width: 100%;
  display: block;
  border-radius: 12px;
  height: 220px;
  object-fit: cover;
}

.eventos {
  padding: 30px 0 30px 0;
}

.eventos h2 {
  font-size: 25px;
  margin-bottom: 20px;
}

.slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #fff;
  border-radius: .30rem;
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}

.slide-date {
  background: var(--primario);
  padding: 5px 10px;
  display: inline-block;
  border-radius: 4px;
  font-size: 0.9em;
  margin-bottom: 10px;
  font-weight: bold;
}

.slide-title {
  font-size: 2em;
  margin: 0;
  font-weight: bold;
  color: #fff;
}

.slide-subtitle {
  margin-top: 8px;
  font-size: 0.9em;
}

.slide-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 5px 15px;
  background: var(--primario);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
}

.slide-btn:hover {
  color: #000 !important;
}

.arrow {
  position: absolute;
  bottom: 0%;
  transform: translateY(-50%);
  background: #ffffff29;
  color: black;
  border: none;
  font-size: 15px;
  cursor: pointer;
  padding: 0px 10px;
  z-index: 10;
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

.cards {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.event-card {
background: #161616;
border-radius: .30rem;
overflow: hidden;
width: 32%;
min-width: 280px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
transition: all 0.2s ease-in-out;
-webkit-backdrop-filter: blur(30px);
border: 1px solid rgba(255, 255, 255, .04);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-info {
  display: flex;
  padding: 14px;
}

.event-date {
  width: 60px;
  text-align: center;
  font-size: 21px;
  font-weight: bold;
  color: #FFF;
  flex-shrink: 0;
}

.event-date span {
  display: block;
  font-size: 13px;
  font-weight: normal;
  color: #6b6b6b;;
}

.event-details {
  padding-left: 12px;
  flex: 1;
}

.event-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.event-details p {
  font-size: 15px;
  color: #6b6b6b;;
  margin: 0;
}

.event-details .location {
  font-size: 13px;
  color: var(--primario);
  margin-top: 5px;
}

footer {
  background: #121212;
  color: white;
  padding: 30px 0;
  font-size: 13px;
  flex-shrink: 0;
  margin-top:20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-links a,
.footer-links span {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;
}

.footer-left .copyright {
  color: #999;
  font-size: 12px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-right span {
  color: white;
  font-size: 13px;
  margin-right: 10px;
}

.footer-right img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.footer-right img:hover {
  transform: scale(1.1);
}

a {
  color: var(--primario);
  text-decoration: none;
  font-weight: 400;
}
a:hover {
  text-decoration: none;
  color: var(--blanco-hover);
}

.link-b:hover {
  color: #363539;!important;
}

.container, .form-container, .login-container, .error-container {
  max-width: 500px;
  width: 95%;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: .30rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

@media (max-width: 480px) {
.container, .form-container, .login-container, .error-container {
  max-width: 370px;
}
}

.container-perfil {
  max-width: 600px;
  width: 95%;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: .30rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

h2 {
  color: #272727;
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.txt-blanco {
    color: #FFF!important;
}

.msg-ok {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 0.75rem 1rem;
  border-radius: .30rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 400;
}

.msg-error {
  background: #ffe0e0;
  border: 1px solid #f44336;
  color: #b71c1c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 400;
}

.btn-google-black {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: white;
  border-radius: .30rem;
  padding: 0.6rem 1rem;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.3s ease;
  gap: 8px;
  border: none;
  margin-bottom: 1rem;
}

.btn-google-black:hover {
  background-color: #222;
  text-decoration: none;
}

.divider {
  color: #aaa;
  margin: 1.5rem 0;
}

@media (max-width: 480px) {
  .container, .form-container, .login-container, .error-container {
    padding: 1.2rem;
    border-radius: .30rem;
  }
  .btn-google-black {
    font-size: 13px;
    padding: 0.5rem 1rem;
  }
}

.profile-card { background: #fff; padding: 2rem; border-radius: .30rem; box-shadow: 0 10px 20px rgba(0,0,0,0.05); max-width: 600px; }
.profile-card h3 { margin-top: 0; font-size: 1.5rem; margin-bottom: 1rem; }
.profile-field { margin-bottom: 1rem; }
.profile-field label { display: block; margin-bottom: 0.5rem; font-weight: 400; }
.profile-field input, .profile-field select { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: .30rem; }
.btn-guardar { background: #ff6600; color: #fff; padding: 0.75rem 2rem; border: none; border-radius: .30rem; cursor: pointer; font-weight: bold; }
.btn-guardar:hover { background: #e65c00; }

input, select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: .30rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: "Rubik", sans-serif;
}

button {
  padding: 0.75rem;
  border-radius: .30rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: "Rubik", sans-serif;
  background-color: var(--primario);
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
}

button:hover {
  background-color: var(--primario-hover);
  text-decoration: none;
}

.dashboard-main {
  min-height: 80vh;
  padding: 40px 20px;
  background-color: #eeeff1;
}

.sidebar-texto {
    color:#00a787;
    font-weight:bold;}

.dashboard-container {
  display: flex;
  max-width: 1250px;
  margin: 0 auto;
  gap: 20px 30px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 20px;
}

.sidebar-box {
  background: #fff;
  border-radius: .30rem;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  width: 300px;
  flex-shrink: 0;
}

.sidebar-user {
  font-weight: 400;
  margin-bottom: 24px;
}

.sidebar-subtitle {
  margin-top: 30px;
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 14px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 8px;
}

.sidebar-menu li a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}

.sidebar-menu li a:hover {
  color: var(--primario);
}

.dashboard-content {
  background: #fff;
  flex-grow: 1;
  border-radius: .30rem;
  padding: 35px;
  min-height: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.dashboard-welcome {
  font-size: 1.6rem;
  font-weight: 400;
}

.dashboard-userid {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #444;
  gap: 10px;
}

.dashboard-userid .copy-btn {
  cursor: pointer;
  color: #666;
}

.dashboard-userid .copy-btn:hover {
  color: #27ae60;
}

.dashboard-userdata {
  display: flex;
  gap: 24px;
  font-size: 1.1rem;
}

.dashboard-category {
  color: #27ae60;
  font-weight: 600;
}

.dashboard-points {
  color: #333;
}

.account-status {
  background: #eafaf1;
  color: #27ae60;
  padding: 16px 20px;
  border-radius: .30rem;
  border: 1.5px solid #27ae60;
  font-weight: 400;
}

.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media (max-width: 600px) {
  .desktop-only {
    display: none !important;
    
  }
  .mobile-only {
    display: block !important;
  }

  .username-desktop {
    display: none;
  }
}

.user-logged {
  display: flex;
  align-items: center;
  position: relative;
}
    .btn-login,
    .btn-register {
      background: #111;
      padding: 6px 14px;
      border-radius: 8px;
      margin-left: 10px;
      text-decoration: none;
      color: white;
      font-weight: 600;
    }

    .btn-register {
      background: var(--primario);
    }

    .btn-register:hover {
      background: var(--primario-hover);
    }
    
    .dropdown span {
      cursor: pointer;
      color: white;
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 150%;
      right: 0;
      background: #1c1c1c;
      list-style: none;
      padding: 10px 0;
      border-radius: .30rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      z-index: 999;
      min-width: 160px;
    }

    .dropdown.open .dropdown-menu {
      display: block;
    }

    .dropdown-menu li a {
      display: block;
      padding: 8px 12px;
      color: white;
      text-decoration: none;
    }

    .dropdown-menu li a:hover {
      background-color: var(--primario);
    }

.avatar {
  width: 25px;
  height: 25px;
  border-radius: 20%;
  object-fit: cover;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.user-name {
  color: white;
  font-weight: 400;
  font-size: 14px;
}

.dropdown-arrow {
  color: white;
}

@media (max-width: 600px) {
  .user-name {
    display: none;
  }
}

@media (max-width: 600px) {
  .cards {
    flex-direction: column;
    gap: 16px;
  }

  .event-card {
    width: 100%;
    min-width: unset;
  }

  .event-info {
    flex-direction: row;
  }
}

.mobile-sidebar-header {
  width: 100%;
  padding: 0 20px;
}

.sidebar-header-inner {
  background: white;
  border-radius: .30rem;
  padding: 0px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.current-section {
  font-weight: 600;
  font-size: 16px;
  color: #000;
}

.sidebar-toggle {
  background: #00a585;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: .30rem;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
}

.membership-card {
  position: relative;
  background: url('/../images/member-fondo.jpg') center/cover no-repeat;
  border-radius: .30rem;
  min-height: 140px;
  color: #fff;
  padding: 24px 24px 72px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.membership-card .logo {
  position: absolute;
  top: 16px;
  right: 24px;
  font-weight: bold;
  font-size: 1rem;
}

.membership-card .logo .cat {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2px 10px;
}

.membership-card .member-info {
  position: absolute;
  left: 24px;
  bottom: 20px;
}

.membership-card .member-info .name {
  font-size: 1.2rem;
  font-weight: 600;
}

.membership-card .member-info .since {
  font-size: 0.9rem;
  color: #ccc;
}

.membership-card .qr {
  position: absolute;
  bottom: 16px;
  right: 24px;
}

.membership-card .qr img {
  height: 56px;
  width: 56px;
  background: #fff;
  padding: 4px;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .sidebar-inner {
    display: none;
    margin-top: 10px;
  }
  .sidebar-box.active .sidebar-inner {
    display: block;
    border-radius: .30rem;
  }
}

@media (max-width: 600px) {
  .sidebar-box {
    width: 100% !important;
    padding: 0 !important;
    border-radius: .30rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
 }

  .sidebar-header-inner {
    border-radius: 0;
  }

  .sidebar-inner {
    background: white;
    padding: 30px 30px 15px 30px;
    border-top: 1px solid #eee;
  }

  .sidebar-menu li {
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .sidebar-subtitle {
    margin: 10px 0 10px 0;
  }
}

.evento-cover {
  margin-top: -32px;
  position: relative;
  z-index: 0;
}

.evento-detalle h1 {
  color: white;
  font-weight: bold;
}

.menu-tabs a {
  text-decoration: none;
  font-weight: 400;
  padding: 10px 0;
  font-size: 16px;
}

.menu-tabs a:hover {
  color: var(--blanco);
}

.eventos-menu {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    margin-top: 20px;
}

.etapa-header-nuevo {display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; font-size: 15px; font-weight: 500; }

.fecha-rango-estilo {text-transform: uppercase; font-size: 11px; color: #999;}

.span-estilo-agotado {background: #e74c3c; color: white; padding: 3px 10px; font-size: 13px; border-radius: 6px;}
.span-estilo-proximamente {background: #e0e0e0; color: #333; padding: 3px 10px; font-size: 13px; border-radius: 6px;}
.span-estilo-estados {display: flex; align-items: center; gap: 10px;}

.acordion-etapa-style {
    background: #fff; border-radius: 4px; margin-bottom: 16px;
}

.sector-item-estilo {display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #eee;}
.div-izquierda {display: flex; align-items: center; gap: 12px; flex: 1;}
.div-izquierda-fondo {width: 4px; height: 32px; border-radius: 2px;}
.div-derecha {display: flex; align-items: center; justify-content: flex-end; min-width: 170px;}
.div-derecha2 {font-weight: 500; margin-right: 12px; text-align: right; width: 70px; color: #bbb;}
.span-derecha-clase {background: #f2f2f2; padding: 6px 14px; border-radius: 6px; font-size: 13px; color: #bbb; font-weight: 400;}

.evento-cover-clase {position: relative; min-height: 340px;}
.div-evento-cover {position: absolute; inset: 0; background: linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)); z-index: 1;backdrop-filter: blur(20px);}
.evento-boxed-clase {position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;top:135px;}
.div-boxed-info-bar {position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.7); padding: 15px 0; border-top: 1.5px solid #f3f4f6; z-index: 2;}
.barra-evento {display: flex; justify-content: flex-start; align-items: center; gap: 30px; color: white; font-size: 16px; font-weight: 400; white-space: nowrap; flex-wrap: wrap;}
.evento-boton-comprar {padding: 6px 18px; background: var(--primario); color: white; font-weight: 500; border: none; border-radius: 6px; text-decoration: none; font-size: 13px;}
.evento-boton-comprar:hover {color: #ffffff;}
.numero-evento-selector {width: 40px;height: 32px;text-align: center;border: 1px solid #ccc;border-radius: 6px;font-size: 15px;color: #333;padding: 0px 0px 0px 14px;margin: 0;vertical-align: middle;}
.boton-evento-sumar {width: 32px; height: 32px; border: none; padding:0px; background: var(--primario); color: white; font-size: 18px; font-weight: 500; border-radius: 6px;}
.boton-evento-restar {width: 32px; padding: 0px; height: 32px; border: none; background: var(--primario); color: white; font-size: 18px; font-weight: 500; border-radius: 6px;}
.evento-precio-selector {font-weight: 500; margin-right: 12px; text-align: right; width: 70px;}
.evento-selector-tabla {display: flex; align-items: center; justify-content: flex-end; min-width: 170px;}
.evento-contador-clase {display: flex; align-items: center; gap: 6px;}
.footer-estilo-etapa {padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 16px;}
.footer-boton-continuar {padding: 10px 24px; background: var(--primario); color: white; font-weight: 500; border: none; border-radius: 6px;}
.div-legales {color: #888; font-size: 13px; flex: 1;}
.info-precio-boton {display: flex; align-items: center; gap: 18px;}
.mapa-distribucion-img {width: 100%; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);}
.cuadro-canje-codigos {display: flex;justify-content: space-between;align-items: center;padding: 16px 24px;font-size: 15px;font-weight: 400;border: 1px solid #2a2a2a;border-radius: 4px;margin-bottom: 16px;color: #fff;}
.boton-canje-codigos {padding: 6px 18px;background: #1c1c1c;color: white;font-weight: 500;border: none;border-radius: 6px;text-decoration: none;font-size: 13px;}
.boton-canje-codigos:hover {color: white;}

@media (max-width: 600px) {
  .evento-detalle .info-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    font-size: 15px !important;
  }

  .evento-detalle .info-bar div {
    width: 100%;
    display: flex;
    gap: 6px;
    align-items: center;
  }
}