/* === ESTILOS BASE === */
#app, html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
}

h1, h4 {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: #413f3f;
    white-space: pre-line;
}

h4 {
    color: #e84d4f !important;
}

/* === LAYOUT GENERAL === */
.evento-layout {
    display: flex;
    flex-direction: row;
    height: 100vh;
    align-items: stretch;
}

/* === LOGO === */
.evento-logo {
    flex: 0 0 25%;
    background-color: #1976d2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 100%;
    box-shadow: 1px 0 5px rgb(25, 118, 210);
}
/* === FORMULARIO === */
.evento-formulario {
    flex: 0 0 50%; /* Fijo 50% ancho */
    display: flex;
    flex-direction: column;
    padding: 1rem;
    height: 100%; /* Rellenar altura */
    justify-content: flex-start; /* Iniciar desde arriba para scroll */
}


.congreso-logo {
    flex: 0 0 45%;
    background-color: #1976d2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 100%;
}

    .congreso-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Ajusta la imagen sin deformarla */
    }

.congreso-formulario {
    flex: 0 0 55%; /* Fijo 70% ancho */
    background-color: #1976d2;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    height: 100%; /* Rellenar altura */
    justify-content: center; /* Iniciar desde arriba para scroll */
    box-shadow: 1px 0 5px rgb(25, 118, 210);
}

.formulario-root {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 2rem;
    overflow-y: auto; /* Scroll solo el contenido */
    position: relative; /* Contenedor para sticky header */
}

    /* Fija la cabecera del stepper */
    .formulario-root .v-stepper-header {
        position: sticky;
        top: 0;
        z-index: 10;
    }

/* === AUSPICIANTES === */
.evento-partners {
    flex: 0 0 25%;
    background-color: #1976d2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    height: 100%;
    min-height: 500px;
    box-shadow: -1px 0 5px rgb(25, 118, 210);
}

.partners-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

    .partners-container h1 {
        color: #FFF;
        margin: 0;
        font-size: 1.8rem;
    }

.partner-logo-container {
    background: #fff;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    flex-shrink: 0;
}

.btnSubmit > span {
    white-space: pre-line;
}

.col-form {
    width: 100% !important;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    display: grid;
    gap: 1.2rem;
}

.contenedor-congreso {
    display: flex;
    gap: 1rem;
    max-height: 70vh;
    overflow-y: auto;
    margin-top: -1rem;
    padding: 0 0.5rem;
}

/* === RESPONSIVE: MÓVIL y TABLET === */
@media (max-width: 920px), (max-height: 550px) {
    .evento-layout {
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
    }

    .dias-evento { /*
        height: 10rem;
        display: grid;*/
    }

    .evento-logo,
    .evento-formulario,
    .congreso-logo,
    .congreso-formulario,
    .evento-partners {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        order: unset;
    }

    .evento-formulario {
        order: 1;
    }

    .congreso-formulario {
        order: 1;
    }

    .evento-logo {
        order: 2;
    }

    .congreso-logo {
        order: 2;
    }

    .evento-partners {
        order: 3;
    }

    .partner-logo-container {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }


    .contenedor-congreso {
        display: block;
    }

    .v-stepper-item--selected .v-stepper-item__title {
        font-size: 0.75rem !important;
        margin-top: -0.05rem;
    }

    .stepper-fix .v-stepper-item {
        font-size: 0.65rem;
        white-space: normal;
        text-align: center;
    }

    .partner-logo-inline {
        width: 2rem; /* ~32px */
        height: 2rem;
    }
}

/* === MODAL & CURSOR === */
.v-dialog .v-card .v-img.rounded {
    border-radius: 8px;
}

/* === STEPPER === */
.v-stepper-header {
    background-color: #1976d2 !important;
    color: rgb(var(--v-theme-on-primary)) !important;
}

.v-avatar.v-stepper-item__avatar {
    background-color: #111;
    font-size: 0.8rem;
    font-weight: bold;
}

.v-stepper-item--selected .v-stepper-item__title {
    font-weight: bold;
    font-size: 1rem;
}

.v-selection-control {
    margin-top: -1rem;
}


.no-existe-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    padding: 1rem;
}

.no-existe-card {
    max-width: 400px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .no-existe-card h2 {
        margin-bottom: 1rem;
        color: #e84d4f;
        font-size: 1.75rem;
    }

    .no-existe-card p {
        margin-bottom: 2rem;
        color: #666;
        font-size: 1rem;
    }

.v-checkbox .v-input__control .v-label {
    font-size: 0.75rem !important;
}

.v-checkbox .v-input__details .v-messages {
    margin-top: -1rem;
}


/* ==============================
   ICONOS INLINE (barra horizontal)
   ============================== */
.partner-logo-inline {
    /* tamaño fijo e igual para todos */
    height: 3rem;
    /* mantener proporción sin recortar */
    object-fit: contain;
    object-position: center;
    /* que no se encojan */
    flex-shrink: 0;
    /* separación entre ellos */
}

.pli-h {
    /* tamaño fijo e igual para todos */
    width: 4rem; /* ~48px */
}

.pli-h1 {
    /* tamaño fijo e igual para todos */
    width: 5.5rem; /* ~48px */
}

.pli-h2 {
    /* tamaño fijo e igual para todos */
    width: 7.5rem; /* ~48px */
}

.dias-evento {
}

    .dias-evento .dia {
        border-radius: 0rem !important;
    }


.descuento {
    font-weight: bolder;
    font-size: 2rem;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* estilo por defecto (desktop) */
.ticket-show {
    width: 270px !important;
    max-width: 100%; /* que no se pase del 100% del padre */
    border-radius: 10px !important;
}

.no-vip {
    max-width: 40vw;
}

@media (max-width: 428px), (max-height: 550px) {

    .ticket-show {
        width: 200px !important;
    }

    .dias-evento {
        height: 10rem !important;
        display: grid;
    }

    .title-mob {
        display: grid !important;
    }

        .title-mob.alto {
            height: 6rem !important;
        }

        .title-mob.bajo {
            height: 4rem !important;
        }

        .title-mob > .first-col-mob {
            display: none !important;
        }

        .title-mob > .second-col-mob {
            height: 0rem !important;
        }
}

@media (max-width: 920px) {
    .no-vip {
        max-width: 95vw;
    }
}

@media (max-width: 360px) {

    .span-dias {
        margin-right: -6rem !important;
    }

    .ticket-show {
        width: 200px !important;
    }
}

@media (max-height: 360px) {

    .span-dias {
        margin-right: 1.15rem !important;
    }
}
