* {
  margin: 0;
  padding: 0;
}


body, html {
  font-family: var(--font-family-base);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
  background-color: var(--bg-primary);
  scrollbar-width: thin;
  padding-right: 0 !important;
}

body {
  max-width: 37.5rem;
  margin: 0 auto;
  padding: 0 1.25rem 0 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-base);
  color: var(--text-default);
  font-weight: var(--font-weight-semibold);
}

p {
  color: var(--text-default);
  font-size: 0.875rem;
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
}


a{
  text-decoration: none;
  font-family: var(--font-family-base);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
}


/* Preloader */
#preloader {
  position: fixed;
  inset: 0; /* reemplaza top/left/width/height */
  z-index: 9999999;
  background-color: var(--bg-primary);

  display: flex;               /* 👈 clave */
  align-items: center;         /* centra vertical */
  justify-content: center;     /* centra horizontal */
}

/* Contenido interno */
#preloader div {
  text-align: center;
}

#preloader h4{
  font-family: var(--font-family-base);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: #00AE42;
}


.header-area {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 37.5rem;
  height: 3.125rem;
  margin: auto auto;
  background-color: var(--bg-primary);
  z-index: 1000;
  border: 1px solid var(--border-primary);
  box-shadow: 0 0 0.25rem rgba(15, 15, 15, 0.1);
}


.footer-nav-area {
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 3.125rem;
  max-width: 37.5rem;
  bottom: 0;
  margin: auto auto;
  background-color: #1A5632;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* Miscellaneous CSS */
.page-content-wrapper {
  margin-top: 3.125rem;
  margin-bottom: 3.125rem;
  min-height: 100vh;
  border: 1px solid var(--border-primary);

}

#vivaasistenciaOffcanvas{
  overflow-y: scroll !important;
}


.support-refund{
  display: flex;
  color: var(--text-lighter);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  max-height: 24px;
  align-items: center;
}

/* Footer CSS */


.vivaasistencia-footer-nav {
  -webkit-transition-duration: 500ms;
          transition-duration: 500ms;
  height: 100%;
  align-items: center;
}
@media only screen and (min-width:1200px) {
  .vivaasistencia-footer-nav {
    width: 650px;
  }
}
@media only screen and (min-width:992px) and (max-width:1199px) {
  .vivaasistencia-footer-nav {
    width: 600px;
  }
}
@media only screen and (min-width:768px) and (max-width:991px) {
  .vivaasistencia-footer-nav {
    width: 500px;
  }
}
@media only screen and (max-width:767px) {
  .vivaasistencia-footer-nav {
    width: 380px;
  }
}
@media only screen and (min-width:576px) and (max-width:767px) {
  .vivaasistencia-footer-nav {
    width: 400px;
  }
}
.vivaasistencia-footer-nav ul {
  width: 100%;
}
.vivaasistencia-footer-nav ul li {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  position: relative;
  z-index: 1;
}
.vivaasistencia-footer-nav ul li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
  color: #FFFFFF;
  z-index: 1;
  margin-bottom: 0 !important;
}

.vivaasistencia-footer-nav ul li a:hover {
  color: var(--anchor-s-default);
}

.text-semibold{
  font-weight: var(--font-weight-semibold);
}

.opt-selected{
  color: var(--action-text-pri) !important;
}

.collapse-icon {
  transition: transform 0.3s ease;
}

button[aria-expanded="true"] .collapse-icon {
  transform: rotate(180deg);
}

.user-menu{
  width: 100%;
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
  padding: 32px 24px;
}
.user-menu-content{
  display: block;
  text-align: center;
  max-width: 258px;
  margin: auto auto;
}

.menu-content {
  scrollbar-width: thin;
}


.header-menu{
  height: 50px;
  display: flex;
  align-items: center;
  margin: 4px 16px;
  justify-content: space-between;
}


.header-menu button{
  text-decoration: none;
  border: none !important;
  background-color: transparent !important;
}

.header-menu button img{
  width: 24px;
  height: 24px;
}

.bb-none{
  border-bottom: none;
}

.text-bprimary{
  color: var(--def-pri-default);
}

.input-icon {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.input-icon input {
  width: 100%;
  padding: 16px 40px 16px 16px; /* espacio para el ícono */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid #D9D9D9;
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  margin-bottom: 1rem;
}

.input-icon input:focus-visible{
  border: 2px solid #D9D9D9 !important;
}

.input-icon .icon {
  position: absolute;
  right: 12px;
  top: 30px;
  transform: translateY(-50%);
  pointer-events: none; /* no bloquea el input */
  font-size: 16px;
  color: #666;
}

.center-content{
  text-align: center;
}

.center-content button{
  width: 100%;
}

.menu-separator{
  margin-bottom: 1rem;
}

.opts-menu{
  display: block;
  text-align: center;
  width: 100%;
}

.item-menu{
  padding: 8px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #D9D9D9;
  margin-bottom: 1.5rem;
  text-align: center;
  height: 56px;
  align-items: center;
}

.item-menu:hover{
  background-color: #D6F2E1;
}

.opt-menu-span{
  font-weight: var(--font-weight-semibold);
  color: var(--text-default);
}

.menu-currency{
  display: inline-flex;
  border-radius: 50px;
  height: 40px;
  align-items: center;
  border: 1px solid #D9D9D9;
  width: auto;
  padding: 8px;
}

.menu-currency img{
  margin-right: 8px;
}

.opt-menu-currency{
  font-weight: var(--font-weight-regular);
  color: var(--text-lighter);
  font-size: 14px;
}

.menu-logout{
  text-align: right;
}

.menu-logout a{
  font-weight: var(--font-weight-semibold);
  font-size: 16px;
}

.opt-footer{
  font-weight: var(--font-weight-semibold);
  font-size: 10px;
  margin-top: 6px;
}



.stepper {
  display: flex;
  width: 350px;
  align-items: center;
  margin-left: auto;
  margin-top: 2.5rem;
  margin-right: auto;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: center;
  flex: 1;
}

.circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;

  border: 2px solid #EBEBEB;
  color: #EBEBEB;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  font-size: 12px;
}

/* check oculto por defecto */
.step-check {
  display: none;
  width: 12px;
  height: 12px;
}

/* ACTIVE */
.step.active .circle {
  border-color: #00AE42;
  color: #00AE42;
}

/* COMPLETED */
.step.completed .circle {
  border-color: #00AE42;
  background: #00AE42;
  color: #fff;
}

.step.completed .step-number {
  display: none;
}

.step.completed .step-check {
  display: flex;
}


.step.completed .line ,.step.active .line {
  background: linear-gradient(to right, #00AE42, #EBEBEB);
}

.line {
  flex: 1;
  height: 2px;
  background: #EBEBEB;
}

.btn-section-collapse{
    background-color: transparent;
    text-decoration: none;
    border: none;
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-align: left;
}


.form-footer{
  display: flex;
  height: 96px;
  background-color: var(--bg-secondary-alt);
  border-radius: 16px;
  margin-top: 1.5rem;
  align-items: center;
  gap: 10px;
  padding: 16px;
  justify-content: end;
}


.an-link{
  text-decoration: underline;
  color: var(--anchor-s-default);
  font-size: 12px;
}