@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {

    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #132238;
}

.contenido-principal {
    flex: 1;
}

a {
    text-decoration: none;
}

/* INDEX.PHP */
.portada-inicio {
    position: relative;
    display: grid;
    min-height: min(72vh, 760px);
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #132238;
}

.portada-inicio::after {
    position: absolute;
    z-index: -1;
    background: linear-gradient(90deg, rgb(10 24 40 / 62%), rgb(10 24 40 / 12%));
    content: "";
    inset: 0;
}

.video-portada {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido-portada {
    width: min(calc(100% - 100px));
    padding: 48px 0;
}

.contenido-portada h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
}

.contenido-portada h1 span {
    color: #72d5f4;
}


/* ENCABEZADO.PHP */
.encabezado-principal {
    position: sticky;
    z-index: 999;
    top: 0;
    width: 100%;
    min-height: 110px;
    display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 12px;
}

.encabezado-superpuesto {
        position: fixed;
        left: 0;
}

.contenedor-encabezado {
        position: relative;
        z-index: 1;
        box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);

        /*max-width: 1800px;*/
        max-width: 95vw;
        height: 78px;
        border-radius: 100px;
        margin: 12px auto 0;
        padding: 8px 24px 8px 150px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        background: aliceblue;
}

.circulo-flashero {
        position: absolute;
        top: calc(50% + 12px);
        left: 34px;
        transform: translateY(-50%);
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid rgba(19, 34, 56, 0.08);
        box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
        padding: 10px;
        border-radius: 100%;
        width: 122px;
        height: 122px;
        overflow: hidden;
        background: aliceblue;
}

.circulo-flashero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.marca {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #132238;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.logo-marca {
    width: 85px;
    height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(13, 80, 150, 0.18));
}

.nombre-marca {
    font-size: 1.2rem;
}

.navegacion-principal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
    width: auto;
}

.navegacion-principal a {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(13, 80, 150, 0.06);
    color: #17365d;
    font-size: 0.96rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.navegacion-principal a.activo {
    background: rgba(13, 80, 150, 0.18);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.navegacion-principal a:hover {
    background: rgba(13, 80, 150, 0.12);
    transform: translateY(-1px);
}

.navegacion-principal .enlace-perfil {
    padding-top: 2px;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d5aa8;
    color: #ffffff;
}

.navegacion-principal .enlace-perfil-con-icono {
    padding-right: 25px;
    padding-left: 5px;
}

.navegacion-principal .enlace-perfil-sin-icono {
    padding: 18px;
}

.icono-perfil {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.navegacion-principal .enlace-perfil .icono-perfil {
    flex: 0 0 16px;
    object-fit: cover;
}

.navegacion-principal .enlace-perfil:hover {
    background: #0b4d93;
}

.navegacion-principal .enlace-menu {
    background: #e5f1fb;
    color: #17365d;
}

.navegacion-principal .enlace-menu:hover {
    background: #d5e8f8;
}

.saludo-usuario {
    color: #17365d;
    font-size: 0.92rem;
    font-weight: 600;
}

/* PIE DE PAGINA */
.pie-pagina {
    margin-top: auto;
    padding: 60px 24px 30px;
    background: #3b7da7;
}

.contenedor-pie {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.pie-columna {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 14px;
    ;
}
.pie-columna ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pie-columna h2 {
    margin: 0;
    color: #72d5f4;
    font-size: 0.88rem;
    font-weight: 700;
}

.pie-marca {
    display: inline-flex;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.pie-marca span {
    color: #72d5f4;
}

.pie-columna p {
    max-width: 340px;
    margin: 0;
    color: #c4d2df;
    line-height: 1.65;
}

.lista-pie {
    display: grid;
    justify-items: start;
    gap: 12px;
    list-style: none;
}

.pie-columna a:not(.pie-marca) {
    color: #e4edf4;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.pie-columna a:not(.pie-marca):hover {
    color: #72d5f4;
}

.pie-final {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgb(255 255 255 / 16%);
}

.pie-final p {
    margin: 0;
    color: #c4d2df;
    font-size: 0.82rem;
}

/* ACERCA DE NOSOTROS */
.acerca {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.acerca-presentacion {
    padding: 52px clamp(24px, 7vw, 88px);
    border-radius: 12px;
    background: linear-gradient(115deg, #e2f2f8 0%, #f3f7fb 72%);
    border-left: 6px solid #0d5aa8;
}

.acerca-etiqueta {
    margin: 0 0 12px;
    color: #0d5aa8;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.acerca-presentacion h1 {
    max-width: 700px;
    margin: 0;
    color: #132238;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
}

.acerca-bajada {
    max-width: 680px;
    margin: 18px 0 0;
    color: #40546a;
    font-size: 1.1rem;
    line-height: 1.7;
}

.acerca-desplegable {
    max-width: 720px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(19, 34, 56, 0.18);
}

.acerca-desplegable summary {
    width: fit-content;
    color: #0d5aa8;
    font-weight: 700;
    cursor: pointer;
}

.acerca-desplegable p {
    max-width: 650px;
    margin: 14px 0 0;
    color: #40546a;
    line-height: 1.75;
}

.acerca-caracteristicas {
    padding: 58px 0 48px;
}

.acerca-encabezado-seccion h2,
.acerca-informacion h2 {
    margin: 0;
    color: #132238;
    font-size: 1.8rem;
    line-height: 1.2;
}

.acerca-lista-caracteristicas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.acerca-caracteristica {
    padding-top: 18px;
    border-top: 2px solid #b8d5e6;
}

.acerca-numero {
    color: #0d5aa8;
    font-size: 0.8rem;
    font-weight: 700;
}

.acerca-caracteristica h3 {
    margin: 12px 0 8px;
    font-size: 1.15rem;
}

.acerca-caracteristica p,
.acerca-informacion>p {
    margin: 0;
    color: #40546a;
    line-height: 1.7;
}

.acerca-informacion {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 32px;
    padding: 30px 0;
    border-top: 1px solid #cbd9e4;
}

/* AUTENTICACION */
.autenticacion {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 42px 20px 72px;
}

.tarjeta-autenticacion {
    width: min(100%, 480px);
    padding: clamp(18px, 5vw, 28px);
    border: 1px solid #dce6ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgb(19 34 56 / 9%);
}

.tarjeta-registro {
    width: min(100%, 720px);
}

.autenticacion-etiqueta {
    margin: 0 0 10px;
    color: #0d5aa8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tarjeta-autenticacion h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    line-height: 1.15;
}

.autenticacion-introduccion {
    margin: 12px 0 28px;
    color: #40546a;
    line-height: 1.6;
}

.mensaje-autenticacion {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #e4a7a7;
    border-radius: 8px;
    background: #fff3f3;
    color: #8c2525;
    line-height: 1.5;
}

.mensaje-autenticacion ul {
    margin: 0;
    padding-left: 20px;
}

.formulario-autenticacion {
    display: grid;
    gap: 18px;
}

.formulario-registro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.formulario-registro > .campo-autenticacion:first-child,
.campos-contrasena-registro {
    grid-column: 1 / -1;
}

.campo-email-registro {
    grid-column: 1 / -1;
}

.opcion-ceo-registro {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    gap: 10px;
    color: #17365d;
    font-weight: 600;
    cursor: pointer;
}

.campo-aerolinea-ceo {
    grid-column: 1 / -1;
}

.campo-aerolinea-ceo[hidden] {
    display: none;
}

.opcion-ceo-registro input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #0d5aa8;
    flex: 0 0 auto;
}

.opcion-ceo-registro span {
    display: grid;
    gap: 4px;
}

.opcion-ceo-registro small {
    color: #526273;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
}

.campos-contrasena-registro {
    display: grid;
    gap: 18px;
}

.campo-autenticacion {
    display: grid;
    gap: 8px;
}

.campo-autenticacion label {
    color: #17365d;
    font-size: 0.92rem;
    font-weight: 600;
}

.campo-autenticacion input,
.campo-autenticacion select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #cbd9e4;
    border-radius: 8px;
    background: #ffffff;
    color: #132238;
    font-size: 1rem;
}

.campo-autenticacion input:focus,
.campo-autenticacion select:focus {
    border-color: #0d5aa8;
    outline: 3px solid rgb(13 90 168 / 15%);
}

.campo-contrasena-visible {
    position: relative;
}

.campo-contrasena-visible input {
    padding-right: 52px;
}

.boton-visibilidad-contrasena {
    position: absolute;
    right: 8px;
    bottom: 7px;
    width: 36px;
    height: 36px;
    padding: 7px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.boton-visibilidad-contrasena img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.boton-visibilidad-contrasena:focus-visible {
    outline: 3px solid rgb(13 90 168 / 35%);
}

.boton-autenticacion {
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #0d5aa8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.boton-autenticacion:hover {
    transform: translateY(-1px);
    background: #0b4d93;
}

.formulario-registro .boton-autenticacion {
    grid-column: 1 / -1;
}

.enlace-recuperar {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    color: #0d5aa8;
    font-size: 0.92rem;
    font-weight: 600;
}

.enlace-recuperar:hover,
.alternativa-autenticacion a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.alternativa-autenticacion {
    margin: 20px 0 0;
    color: #40546a;
    font-size: 0.92rem;
    text-align: center;
}

.alternativa-autenticacion a {
    color: #0d5aa8;
    font-weight: 700;
}

.historial-compras {
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.historial-compras-encabezado {
    margin-bottom: 24px;
}

.historial-compras-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.historial-compras-encabezado > p:last-child,
.historial-compras-vacio p {
    color: #40546a;
    line-height: 1.6;
}

.historial-compras-tabla-contenedor {
    overflow-x: auto;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 7%);
}

.historial-compras-tabla {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.historial-compras-tabla caption {
    padding: 16px;
    color: #40546a;
    text-align: left;
}

.historial-compras-tabla th,
.historial-compras-tabla td {
    padding: 14px 16px;
    border-top: 1px solid #e5edf3;
    white-space: nowrap;
}

.historial-compras-tabla th {
    background: #f4f7fb;
    color: #17365d;
    font-size: 0.88rem;
}

.historial-compras-estado {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e7f6ed;
    color: #17643a;
    font-size: 0.82rem;
    font-weight: 700;
}

.historial-compras-vacio {
    padding: 28px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.historial-compras-vacio h2 {
    margin-top: 0;
    color: #132238;
    font-size: 1.25rem;
}

.historial-compras-enlace {
    display: inline-block;
    margin-top: 8px;
    color: #0d5aa8;
    font-weight: 700;
}

.historial-compras-enlace:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reservar-vuelo {
    width: min(calc(100% - 40px), 1100px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.reservar-vuelo-encabezado {
    margin-bottom: 24px;
}

.reservar-vuelo-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.reservar-vuelo-encabezado > p:last-child,
.vuelos-reserva-vacio,
.reserva-pendiente p,
.vuelo-reserva p {
    color: #40546a;
    line-height: 1.6;
}

.mensaje-reserva {
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px solid;
    border-radius: 8px;
    line-height: 1.5;
}

.mensaje-reserva-exito {
    border-color: #a9d8b8;
    background: #effaf2;
    color: #17643a;
}

.mensaje-reserva-error {
    border-color: #e4a7a7;
    background: #fff3f3;
    color: #8c2525;
}

.reservas-pendientes,
.vuelos-para-reservar {
    margin-top: 32px;
}

.reservas-pendientes h2,
.vuelos-para-reservar h2 {
    color: #132238;
    font-size: 1.4rem;
}

.aviso-pago-demostracion {
    padding: 12px 16px;
    border-left: 4px solid #d59a18;
    background: #fff8e8;
    color: #60470e;
    line-height: 1.5;
}

.reservas-pendientes-lista,
.vuelos-reserva-lista {
    display: grid;
    gap: 14px;
}

.reserva-pendiente,
.vuelo-reserva,
.vuelos-reserva-vacio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 6%);
}

.reserva-pendiente h3,
.vuelo-reserva h3 {
    margin: 0;
    color: #132238;
    font-size: 1.15rem;
}

.reserva-pendiente p,
.vuelo-reserva p {
    margin: 6px 0 0;
}

.reserva-pendiente-acciones {
    display: grid;
    flex: 0 0 auto;
    gap: 10px;
}

.boton-reserva {
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.boton-pagar {
    background: #0d5aa8;
    color: #ffffff;
}

.boton-pagar:hover {
    background: #0b4d93;
}

.boton-cancelar {
    border: 1px solid #cbd9e4;
    background: #ffffff;
    color: #40546a;
}

.boton-cancelar:hover {
    background: #f4f7fb;
}

.vuelo-reserva-aerolinea {
    color: #0d5aa8 !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vuelo-reserva-compra {
    flex: 0 0 auto;
    text-align: right;
}

.vuelo-reserva-compra > p {
    margin: 0 0 10px;
    color: #132238;
    font-size: 1.15rem;
    font-weight: 700;
}

.vuelos-reserva-vacio {
    display: block;
}

.vuelos-reserva-vacio a {
    color: #0d5aa8;
    font-weight: 700;
}

.gestion-reservas {
    width: min(calc(100% - 40px), 1100px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.gestion-reservas-encabezado {
    margin-bottom: 24px;
}

.gestion-reservas-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.gestion-reservas-encabezado > p:last-child,
.gestion-reservas-vacio p,
.gestion-reserva p {
    color: #40546a;
    line-height: 1.6;
}

.gestion-reservas-vacio {
    padding: 28px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.gestion-reservas-vacio h2 {
    margin-top: 0;
    color: #132238;
}

.gestion-reservas-lista {
    display: grid;
    gap: 16px;
}

.gestion-reserva {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 6%);
}

.gestion-reserva-detalle h2 {
    margin: 0;
    color: #132238;
    font-size: 1.2rem;
}

.gestion-reserva-detalle p {
    margin: 6px 0 0;
}

.gestion-reserva-aerolinea {
    color: #0d5aa8 !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.gestion-reserva-estado-acciones {
    display: grid;
    flex: 0 0 auto;
    justify-items: start;
    gap: 10px;
    max-width: 280px;
}

.gestion-reserva-estado {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: capitalize;
}

.estado-confirmada {
    background: #e7f6ed;
    color: #17643a;
}

.estado-pendiente {
    background: #fff5dc;
    color: #735510;
}

.estado-cancelada {
    background: #f1f3f5;
    color: #536171;
}

.gestion-reserva-estado-acciones form,
.gestion-reserva-estado-acciones .boton-reserva {
    width: 100%;
}

.gestion-reserva-aviso,
.gestion-reserva-no-cancelable {
    margin: 0;
    font-size: 0.82rem;
}

.gestion-reserva-no-cancelable {
    color: #8c2525;
    line-height: 1.5;
}

.enlace-gestion-reservas {
    display: inline-block;
    padding: 10px 4px;
    color: #0d5aa8;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.enlace-gestion-reservas:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.perfil-pagina {
    display: flex;
    justify-content: center;
    padding: 38px 20px 64px;
}

.tarjeta-perfil {
    width: min(100%, 760px);
    padding: 0 clamp(18px, 5vw, 32px);
}

.avatar-perfil {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 24px;
    border: 1px solid #9aa5ae;
    border-radius: 50%;
    object-fit: cover;
}

.contenido-perfil h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
}

.introduccion-perfil {
    margin: 4px 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dce6ee;
    color: #526273;
    font-size: 0.92rem;
}

.datos-perfil-solo-lectura {
    display: grid;
    gap: 10px;
    margin: 0;
}

.datos-perfil-solo-lectura > div,
.campo-perfil {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 12px;
}

.datos-perfil-solo-lectura dt,
.campo-perfil label {
    color: #17365d;
    font-size: 0.9rem;
    font-weight: 600;
}

.datos-perfil-solo-lectura dd {
    margin: 0;
}

.datos-perfil-solo-lectura input,
.campo-perfil > input,
.campo-contrasena-perfil input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #b8c8d8;
    border-radius: 5px;
    background: #ffffff;
    color: #132238;
    font: inherit;
}

.datos-perfil-solo-lectura input[readonly] {
    border-style: dashed;
    background: #f7f9fb;
    color: #657486;
}

.subtitulo-edicion-perfil {
    margin: 18px 0 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid #dce6ee;
    color: #17365d;
    font-size: 1rem;
}

.formulario-edicion-perfil {
    display: grid;
    gap: 12px;
}

.campo-perfil > label span,
.acciones-perfil > p span {
    color: #8c2525;
}

.campo-contrasena-perfil {
    position: relative;
    min-width: 0;
}

.campo-contrasena-perfil input {
    padding-right: 44px;
}

.campo-contrasena-perfil .boton-visibilidad-contrasena {
    bottom: 2px;
}

.acciones-perfil {
    display: flex;
    grid-column: 1 / -1;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
}

.acciones-perfil > p {
    margin: 0;
    color: #657486;
    font-size: 0.8rem;
}

.acciones-perfil > div {
    display: flex;
    gap: 10px;
}

.boton-cancelar-perfil,
.boton-guardar-perfil,
.boton-cerrar-sesion-perfil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #9aa5ae;
    border-radius: 7px;
    background: #ffffff;
    color: #17365d;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.boton-guardar-perfil,
.boton-cerrar-sesion-perfil {
    border-color: #0d5aa8;
    background: #0d5aa8;
    color: #ffffff;
}

.boton-cancelar-perfil:hover {
    background: #f2f6f9;
}

.boton-guardar-perfil:hover,
.boton-cerrar-sesion-perfil:hover {
    background: #0b4d93;
}

.mensaje-perfil-exito {
    margin: 0 0 16px;
    padding: 11px 14px;
    border: 1px solid #a9d7bd;
    border-radius: 7px;
    background: #effaf3;
    color: #23633d;
}

.formulario-cerrar-sesion-perfil {
    margin-top: 20px;
}

@media (max-width: 700px) {
    .perfil-pagina {
        padding: 28px 16px 44px;
    }

    .tarjeta-perfil {
        padding: 0;
    }

    .datos-perfil-solo-lectura > div,
    .campo-perfil {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .acciones-perfil {
        align-items: stretch;
        flex-direction: column;
    }

    .acciones-perfil > div {
        justify-content: flex-end;
    }

    .gestion-reserva {
        align-items: flex-start;
        flex-direction: column;
    }

    .gestion-reserva-estado-acciones {
        width: 100%;
        max-width: none;
    }

    .reserva-pendiente,
    .vuelo-reserva {
        align-items: flex-start;
        flex-direction: column;
    }

    .reserva-pendiente-acciones {
        width: 100%;
    }

    .reserva-pendiente-acciones form,
    .reserva-pendiente-acciones .boton-reserva,
    .vuelo-reserva-compra,
    .vuelo-reserva-compra form,
    .vuelo-reserva-compra .boton-reserva {
        width: 100%;
    }

    .vuelo-reserva-compra {
        text-align: left;
    }

    .portada-inicio {
        min-height: 62vh;
    }

    .contenedor-encabezado {
        flex-direction: column;
        align-items: flex-start;
    }

    .navegacion-principal {
        width: 100%;
        justify-content: space-between;
    }

    .contenedor-pie {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pie-pagina {
        padding: 44px 20px 24px;
    }

    .pie-final {
        flex-direction: column;
    }

    .acerca {
        width: min(560px, calc(100% - 32px));
        padding: 28px 0 44px;
    }

    .acerca-presentacion {
        padding: 34px 24px;
    }

    .acerca-lista-caracteristicas,
    .acerca-informacion,
    .ayuda-informacion {
        grid-template-columns: 1fr;
    }

    .autenticacion {
        padding: 28px 16px 44px;
    }

    .formulario-registro {
        grid-template-columns: 1fr;
    }

    .acerca-caracteristicas {
        padding: 42px 0 32px;
    }
}

.imagen-contenido {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: #e7f1f8;
    object-fit: cover;
}

.novedad-publica > .imagen-contenido {
    margin-bottom: 16px;
}

.imagen-contenido-admin {
    width: 140px;
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
}

.imagen-contenido-formulario {
    max-width: 360px;
}

.imagen-contenido-promocion {
    flex: 0 0 180px;
    width: 180px;
    height: 110px;
    aspect-ratio: auto;
}

@media (max-width: 640px) {
    .imagen-contenido-admin,
    .imagen-contenido-promocion {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        flex-basis: auto;
    }
}
.ayuda {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.ayuda-presentacion {
    padding: 52px clamp(24px, 7vw, 88px);
    border-left: 6px solid #0d5aa8;
    border-radius: 12px;
    background: linear-gradient(115deg, #e2f2f8 0%, #f3f7fb 72%);
}

/* .ayuda-etiqueta {
    margin: 0 0 12px;
    color: #0d5aa8;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
} */

.ayuda-presentacion h1 {
    max-width: 760px;
    margin: 0;
    color: #132238;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
}

.ayuda-presentacion > p:last-child {
    max-width: 680px;
    margin: 18px 0 0;
    color: #40546a;
    font-size: 1.1rem;
    line-height: 1.7;
}

.ayuda-preguntas {
    padding: 58px 0 48px;
}

.ayuda-encabezado-seccion h2,
.ayuda-informacion h2 {
    margin: 0;
    color: #132238;
    font-size: 1.8rem;
    line-height: 1.2;
}

.ayuda-lista-preguntas {
    margin-top: 24px;
    border-top: 1px solid #cbd9e4;
}

.ayuda-lista-preguntas details {
    padding: 20px 4px;
    border-bottom: 1px solid #cbd9e4;
}

.ayuda-lista-preguntas summary {
    color: #132238;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.ayuda-lista-preguntas details[open] summary {
    color: #0d5aa8;
}

.ayuda-lista-preguntas details p,
.ayuda-informacion > p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #40546a;
    line-height: 1.7;
}

.ayuda-informacion {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 32px;
    padding: 30px 0;
    border-top: 1px solid #cbd9e4;
}

.ayuda-contacto {
    max-width: 720px;
    margin-inline: auto;
    padding-top: 36px;
    border-top: 1px solid #cbd9e4;
}

.ayuda-contacto h2 {
    margin: 0;
    color: #132238;
    font-size: 1.8rem;
}

.ayuda-contacto > p {
    color: #40546a;
    line-height: 1.6;
}

.formulario-ayuda {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.campo-ayuda {
    display: grid;
    gap: 8px;
}

.campo-ayuda label {
    color: #132238;
    font-weight: 700;
}

.campo-ayuda input,
.campo-ayuda textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #b9c9d8;
    border-radius: 8px;
    color: #132238;
    font: inherit;
}

.campo-ayuda textarea {
    resize: vertical;
}

.campo-ayuda input:focus,
.campo-ayuda textarea:focus {
    border-color: #0d5aa8;
    outline: 2px solid #0d5aa8;
    outline-offset: 2px;
}

.boton-ayuda {
    justify-self: start;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: #0d5aa8;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.boton-ayuda:hover {
    background: #09477f;
}

@media (max-width: 700px) {
    .ayuda-informacion {
        grid-template-columns: 1fr;
    }
}

/* VUELOS */
.vuelos {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.vuelos-presentacion {
    margin-bottom: 30px;
}

.vuelos-etiqueta {
    margin: 0 0 10px;
    color: #0d5aa8;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vuelos-presentacion h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.vuelos-presentacion > p:last-child {
    margin: 12px 0 0;
    color: #40546a;
    line-height: 1.6;
}

.vuelos-grupo {
    margin-top: 28px;
}

.vuelos-grupo > h2 {
    margin: 0 0 14px;
    color: #132238;
    font-size: 1.25rem;
}

.vuelos-lista {
    display: grid;
    gap: 12px;
}

.vuelos-lista-fila {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.item-vuelo {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgb(19 34 56 / 8%);
    transition: transform 1s ease, box-shadow 1s ease;
}

.item-vuelo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgb(19 34 56 / 14%);
}

@media (prefers-reduced-motion: reduce) {
    .item-vuelo {
        transition: none;
    }

    .item-vuelo:hover {
        transform: none;
    }
}

.item-vuelo-icono {
    display: grid;
    width: 56px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 14px;
    background: #079fdf;
}

.item-vuelo-icono img {
    width: 72%;
    height: 72%;
    filter: brightness(0) invert(1);
}

.item-vuelo-ruta {
    margin: 0;
    color: #079fdf;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.15;
}

.item-vuelo-fechas {
    margin: 6px 0 0;
    color: #079fdf;
    font-size: 0.9rem;
    font-weight: 300;
}

.item-vuelo-precio {
    margin: 0;
    color: #12b84a;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.item-vuelo-aerolinea {
    margin: 0 0 5px;
    color: #536171;
    font-size: 0.8rem;
    font-weight: 600;
}

.item-vuelo-detalles .item-vuelo-ruta {
    color: #132238;
}

.item-vuelo-accion {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.boton-vuelo-reservar {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 999px;
    background: #0d5aa8;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.boton-vuelo-reservar:hover {
    background: #0b4d93;
}

.vuelos-sin-resultados {
    padding: 24px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.vuelos-sin-resultados h3 {
    margin: 0;
    color: #132238;
}

.vuelos-sin-resultados p {
    margin-bottom: 0;
    color: #40546a;
    line-height: 1.6;
}

.vuelos-lista-fila .item-vuelo {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
}

.vuelos-lista-fila .item-vuelo-icono {
    width: 42px;
    border-radius: 12px;
}

.vuelos-lista-fila .item-vuelo-ruta {
    font-size: 1rem;
}

.vuelos-lista-fila .item-vuelo-fechas {
    font-size: 0.78rem;
}

.vuelos-lista-fila .item-vuelo-precio {
    grid-column: 2;
    font-size: 1rem;
    justify-self: stretch;
}

@media (max-width: 700px) {
    .vuelos {
        width: min(560px, calc(100% - 32px));
        padding: 28px 0 44px;
    }

    .vuelos-lista-fila {
        grid-template-columns: 1fr;
    }

    .item-vuelo {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 0;
        padding: 12px;
        border-radius: 16px;
    }

    .item-vuelo-icono {
        width: 56px;
    }

    .item-vuelo-precio {
        grid-column: auto;
        font-size: 1rem;
    }

    .item-vuelo-accion {
        grid-column: 2 / -1;
        justify-items: start;
    }

    .vuelos-lista-fila .item-vuelo-icono {
        width: 56px;
    }

    .vuelos-lista-fila .item-vuelo-precio {
        grid-column: 2;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .item-vuelo {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .item-vuelo-precio {
        grid-column: 2;
        justify-self: stretch;
    }
}

/* GESTION AEROLINEAS */
.gestionar-aerolineas {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 48px;
}

.encabezado-gestion-aerolineas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.etiqueta-gestion-aerolineas {
    margin: 0 0 5px;
    color: #0d5aa8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.encabezado-gestion-aerolineas h1 {
    margin: 0;
    color: #132238;
    font-size: 2rem;
    font-weight: 600;
}

.boton-agregar-aerolinea {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border: 0;
    border-radius: 10px;
    background: #0d5aa8;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.boton-agregar-aerolinea:hover {
    transform: translateY(-1px);
    background: #0b4d93;
}

.boton-agregar-aerolinea svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.2;
}

.lista-aerolineas {
    display: grid;
    gap: 14px;
}

.fila-aerolinea {
    display: flex;
    min-height: 104px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px 12px 22px;
    border: 1px solid rgb(19 34 56 / 16%);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgb(19 34 56 / 5%);
}

.datos-aerolinea {
    min-width: 0;
    flex: 1 1 auto;
}

.identidad-aerolinea {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.identidad-aerolinea h2 {
    min-width: 0;
    margin: 0;
    color: #17365d;
    font-size: 1.05rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.codigo-iata-aerolinea {
    display: inline-flex;
    min-width: 42px;
    min-height: 25px;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 5px;
    background: #eaf1fc;
    color: #2857a8;
    font-size: 0.75rem;
    font-weight: 700;
}

.descripcion-aerolinea {
    margin: 6px 0;
    color: #526579;
    font-size: 0.88rem;
    line-height: 1.45;
}

.metadatos-aerolinea {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: #68798b;
    font-size: 0.76rem;
}

.acciones-aerolinea {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.boton-icono {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgb(19 34 56 / 18%);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.boton-icono:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.boton-icono img,
.boton-icono svg {
    display: block;
    width: 20px;
    height: 20px;
}

.boton-icono svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.boton-eliminar-aerolinea {
    color: #c5333a;
}

.boton-eliminar-aerolinea img {
    filter: invert(24%) sepia(42%) saturate(2533%) hue-rotate(326deg) brightness(88%) contrast(94%);
}

.boton-eliminar-aerolinea:hover {
    border-color: #c5333a;
    background: #fff1f0;
}

.formulario-eliminar-aerolinea {
    margin: 0;
}

.boton-editar-aerolinea {
    color: #0d5aa8;
    text-decoration: none;
}

.boton-editar-aerolinea:hover {
    border-color: #0d5aa8;
    background: #eef6fb;
}

.estado-vacio-aerolineas {
    display: grid;
    justify-items: center;
    padding: 42px 24px;
    border: 1px dashed rgb(19 34 56 / 24%);
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

.icono-vacio-aerolineas {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 16px;
    background: #eaf1fc;
}

.icono-vacio-aerolineas img {
    width: 30px;
    height: 30px;
    filter: invert(31%) sepia(21%) saturate(2556%) hue-rotate(185deg) brightness(87%) contrast(89%);
}

.estado-vacio-aerolineas h2 {
    margin: 0 0 8px;
    color: #132238;
    font-size: 1.15rem;
}

.estado-vacio-aerolineas p {
    max-width: 440px;
    margin: 0;
    color: #526579;
    line-height: 1.6;
}

.paginacion-aerolineas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.control-paginacion-aerolineas {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgb(19 34 56 / 18%);
    border-radius: 8px;
    background: #ffffff;
    color: #17365d;
    font-size: 0.9rem;
    font-weight: 600;
}

.control-paginacion-aerolineas:hover:not(.deshabilitado) {
    border-color: #0d5aa8;
    background: #eef6fb;
}

.control-paginacion-aerolineas.deshabilitado {
    color: #8796a5;
    cursor: not-allowed;
}

.estado-paginacion-aerolineas {
    display: grid;
    gap: 3px;
    color: #17365d;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.estado-paginacion-aerolineas span {
    color: #526579;
    font-size: 0.8rem;
    font-weight: 400;
}

.formulario-aerolinea-pagina {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 56px;
}

.encabezado-formulario-aerolinea {
    margin-bottom: 24px;
}

.encabezado-formulario-aerolinea h1 {
    margin: 0;
    color: #132238;
    font-size: 2rem;
    font-weight: 600;
}

.encabezado-formulario-aerolinea > p:last-child {
    margin: 8px 0 0;
    color: #526579;
}

.formulario-aerolinea {
    display: grid;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgb(19 34 56 / 12%);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgb(19 34 56 / 6%);
}

.campo-aerolinea {
    display: grid;
    gap: 8px;
}

.campo-aerolinea label {
    color: #17365d;
    font-size: 0.95rem;
    font-weight: 600;
}

.campo-aerolinea label span {
    color: #68798b;
    font-size: 0.82rem;
    font-weight: 400;
}

.campo-aerolinea input,
.campo-aerolinea textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #bccbd8;
    border-radius: 7px;
    background: #ffffff;
    color: #132238;
    font-size: 0.95rem;
}

.campo-aerolinea input:focus,
.campo-aerolinea textarea:focus {
    border-color: #0d5aa8;
    outline: 3px solid rgb(13 90 168 / 16%);
}

.campo-aerolinea-corto input {
    max-width: 220px;
    text-transform: uppercase;
}

.campo-aerolinea-pais input {
    max-width: 140px;
    text-transform: uppercase;
}

.campo-aerolinea-descripcion textarea {
    min-height: 140px;
    resize: vertical;
}

.contador-descripcion-aerolinea {
    margin: -3px 0 0;
    color: #68798b;
    font-size: 0.8rem;
    text-align: right;
}

.acciones-formulario-aerolinea {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 4px;
}

.cancelar-aerolinea,
.boton-guardar-aerolinea {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #bccbd8;
    border-radius: 8px;
    background: #ffffff;
    color: #17365d;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.boton-guardar-aerolinea {
    border-color: #0d5aa8;
    background: #0d5aa8;
    color: #ffffff;
}

.boton-guardar-aerolinea:hover:not(:disabled) {
    background: #0b4d93;
}

.boton-guardar-aerolinea:disabled {
    border-color: #7d9dbb;
    background: #7d9dbb;
    cursor: not-allowed;
}

.cancelar-aerolinea:hover {
    background: #f2f6f9;
}

.mensaje-formulario-aerolinea {
    margin: 0 0 18px;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    line-height: 1.5;
}

.error-formulario-aerolinea {
    border-color: #edb9b9;
    background: #fff1f0;
    color: #9d252b;
}

.exito-formulario-aerolinea {
    border-color: #a9d8bf;
    background: #eef9f2;
    color: #236b43;
}

.gestionar-novedades {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 48px;
}

.encabezado-gestion-novedades {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.encabezado-gestion-novedades h1 {
    margin: 0;
    color: #132238;
    font-size: 2rem;
    font-weight: 600;
}

.lista-novedades {
    display: grid;
    gap: 16px;
}

.fila-novedad {
    display: grid;
    grid-template-columns: minmax(128px, 0.8fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 140px;
    padding: 18px;
    border: 1px solid rgb(19 34 56 / 15%);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgb(19 34 56 / 5%);
}

.fechas-novedad {
    display: grid;
    gap: 12px;
}

.fechas-novedad p {
    display: grid;
    gap: 3px;
    margin: 0;
    color: #68798b;
    font-size: 0.76rem;
}

.fechas-novedad time {
    color: #17365d;
    font-size: 0.88rem;
    font-weight: 600;
}

.contenido-novedad {
    min-width: 0;
}

.contenido-novedad p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: #132238;
    font-size: 0.96rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
}

.contenido-novedad span {
    color: #68798b;
    font-size: 0.76rem;
}

.acciones-novedad {
    display: grid;
    gap: 8px;
}

.formulario-novedad-pagina {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 56px;
}

.formulario-novedad .campo-aerolinea textarea {
    min-height: 180px;
    resize: vertical;
}

.fecha-publicacion-automatica,
.ayuda-fecha-novedad {
    margin: 0;
    color: #526579;
    font-size: 0.9rem;
    line-height: 1.5;
}

.fecha-publicacion-automatica time {
    color: #17365d;
    font-weight: 700;
}

.campo-fecha-expiracion-novedad input {
    width: min(100%, 240px);
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #bccbd8;
    border-radius: 7px;
    background: #ffffff;
    color: #132238;
    font-size: 0.95rem;
}

.campo-fecha-expiracion-novedad input:focus {
    border-color: #0d5aa8;
    outline: 3px solid rgb(13 90 168 / 16%);
}

@media (max-width: 600px) {
    .gestionar-aerolineas {
        width: min(100% - 32px, 480px);
        padding: 28px 0 40px;
    }

    .formulario-aerolinea-pagina {
        width: min(100% - 32px, 480px);
        padding: 28px 0 40px;
    }

    .gestionar-novedades,
    .formulario-novedad-pagina {
        width: min(100% - 32px, 560px);
        padding: 28px 0 40px;
    }

    .encabezado-gestion-novedades {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .encabezado-gestion-novedades h1 {
        font-size: 1.7rem;
    }

    .fila-novedad {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px;
    }

    .fechas-novedad {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .contenido-novedad {
        grid-column: 1;
    }

    .acciones-novedad {
        grid-column: 2;
        grid-row: 2;
    }

    .acciones-novedad .boton-icono {
        width: 36px;
        height: 36px;
    }

    .encabezado-formulario-aerolinea h1 {
        font-size: 1.7rem;
    }

    .formulario-aerolinea {
        gap: 18px;
        padding: 20px 16px;
    }

    .acciones-formulario-aerolinea {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .encabezado-gestion-aerolineas {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .encabezado-gestion-aerolineas h1 {
        font-size: 1.7rem;
    }

    .fila-aerolinea {
        align-items: flex-start;
        padding: 10px 12px 10px 16px;
    }

    .fila-aerolinea h2 {
        font-size: 0.98rem;
    }

    .descripcion-aerolinea {
        font-size: 0.82rem;
    }

    .acciones-aerolinea {
        gap: 5px;
    }

    .boton-icono {
        width: 36px;
        height: 36px;
    }

    .estado-vacio-aerolineas {
        padding: 34px 18px;
    }

    .paginacion-aerolineas {
        gap: 8px;
    }

    .control-paginacion-aerolineas {
        padding: 8px 10px;
        font-size: 0.82rem;
    }

    .estado-paginacion-aerolineas {
        font-size: 0.82rem;
    }
}

.reporte-ventas {
    width: min(100% - 40px, 1040px);
    margin: 0 auto;
    padding: 34px 0 48px;
}

.reporte-ventas-encabezado,
.reporte-ventas-paginacion,
.reporte-ventas-paginacion > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.reporte-ventas-encabezado {
    margin-bottom: 22px;
}

.reporte-ventas-etiqueta {
    margin: 0 0 6px;
    color: #0d5aa8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reporte-ventas-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.reporte-ventas-filtros {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.reporte-ventas-filtros-ceo {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.reporte-ventas-resumen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 16px;
    padding: 16px 18px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #ffffff;
}

.reporte-ventas-resumen p {
    margin: 0;
    color: #26384b;
}

.reporte-ventas-resumen p span {
    color: #40546a;
    font-weight: 700;
}

.reporte-ventas-campo {
    display: grid;
    gap: 6px;
}

.reporte-ventas-campo label {
    color: #40546a;
    font-size: 0.85rem;
    font-weight: 700;
}

.reporte-ventas-campo input,
.reporte-ventas-campo select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #bdcbd8;
    border-radius: 7px;
    background: #ffffff;
    color: #132238;
    font: inherit;
}

.reporte-ventas-campo input:focus-visible,
.reporte-ventas-campo select:focus-visible,
.reporte-ventas-boton:focus-visible {
    outline: 3px solid rgb(13 90 168 / 30%);
    outline-offset: 2px;
}

.reporte-ventas-boton {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid #0d5aa8;
    border-radius: 7px;
    background: #ffffff;
    color: #0d5aa8;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.reporte-ventas-boton:hover:not(.deshabilitado) {
    background: #eaf4ff;
}

.reporte-ventas-aplicar {
    background: #0d5aa8;
    color: #ffffff;
}

.reporte-ventas-aplicar:hover {
    background: #08477f;
}

.reporte-ventas-listado {
    display: grid;
    gap: 0;
    border: 1px solid #bdcbd8;
    background: #ffffff;
}

.reporte-ventas-fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 82px;
    border-bottom: 1px solid #bdcbd8;
}

.reporte-ventas-fila:last-child {
    border-bottom: 0;
}

.reporte-ventas-datos {
    display: grid;
    align-content: center;
    gap: 3px;
    min-width: 0;
    padding: 9px 14px;
}

.reporte-ventas-datos + .reporte-ventas-datos {
    border-left: 1px solid #bdcbd8;
}

.reporte-ventas-datos p {
    overflow-wrap: anywhere;
    margin: 0;
    color: #26384b;
    font-size: 0.84rem;
}

.reporte-ventas-datos p > span:first-child {
    font-weight: 700;
}

.reporte-ventas-estado {
    display: inline-block;
    margin-left: 10px;
    color: #40546a;
    font-weight: 600;
}

.reporte-ventas-paginacion {
    margin-top: 16px;
    color: #40546a;
    font-size: 0.9rem;
}

.reporte-ventas-pagina {
    min-width: 106px;
    text-align: center;
}

.reporte-ventas-boton.deshabilitado {
    border-color: #dce6ee;
    color: #8291a0;
    cursor: not-allowed;
}

.reporte-ventas-vacio,
.reporte-ventas-mensaje {
    margin: 0;
    padding: 16px;
    border: 1px solid #dce6ee;
    border-radius: 8px;
    background: #ffffff;
    color: #40546a;
}

.reporte-ventas-mensaje.error {
    margin-bottom: 16px;
    border-color: #efc7c7;
    background: #fff5f5;
    color: #8c2525;
}

.reporte-ventas-resumen-impresion {
    margin: 0 0 12px;
    color: #40546a;
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .reporte-ventas-filtros {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reporte-ventas-filtros-ceo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reporte-ventas-aplicar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .reporte-ventas {
        width: min(100% - 24px, 1040px);
        padding-top: 24px;
    }

    .reporte-ventas-encabezado,
    .reporte-ventas-paginacion {
        align-items: flex-start;
        flex-direction: column;
    }

    .reporte-ventas-filtros {
        grid-template-columns: 1fr;
    }

    .reporte-ventas-filtros-ceo {
        grid-template-columns: 1fr;
    }

    .reporte-ventas-aplicar {
        grid-column: auto;
    }

    .reporte-ventas-fila {
        grid-template-columns: 1fr;
    }

    .reporte-ventas-datos + .reporte-ventas-datos {
        border-top: 1px solid #e6edf3;
        border-left: 0;
    }

    .reporte-ventas-paginacion > div {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media print {
    body {
        display: block;
        background: #ffffff;
        color: #000000;
    }

    .encabezado-principal,
    .pie-pagina,
    .reporte-ventas-filtros,
    .reporte-ventas-imprimir,
    .reporte-ventas-paginacion {
        display: none !important;
    }

    .reporte-ventas {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .reporte-ventas-encabezado {
        margin-bottom: 12px;
    }

    .reporte-ventas-fila {
        min-height: 0;
        break-inside: avoid;
    }

    .reporte-ventas-datos {
        padding: 6px 10px;
    }
}

.solicitudes-ceo {
    width: min(100% - 40px, 1000px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.solicitudes-ceo-encabezado {
    margin-bottom: 24px;
}

.solicitudes-ceo-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.solicitudes-ceo-encabezado > p:last-child,
.solicitud-ceo p,
.solicitudes-ceo-vacio p {
    color: #40546a;
    line-height: 1.6;
}

.solicitudes-ceo-total {
    margin: 0 0 14px;
    color: #40546a;
    font-size: 0.9rem;
    font-weight: 600;
}

.solicitudes-ceo-listado {
    display: grid;
    gap: 14px;
}

.solicitud-ceo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 6%);
}

.solicitud-ceo h2,
.solicitud-ceo h3 {
    margin: 0;
    color: #132238;
    font-size: 1.05rem;
}

.solicitud-ceo p {
    overflow-wrap: anywhere;
    margin: 5px 0 0;
    font-size: 0.88rem;
}

.solicitud-ceo-codigo,
.solicitud-ceo-etiqueta {
    color: #0d5aa8 !important;
    font-size: 0.78rem !important;
    font-weight: 700;
}

.solicitud-ceo-estado {
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff5dc;
    color: #735510;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.solicitud-ceo-acciones {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.solicitud-ceo-acciones form,
.solicitud-ceo-acciones .boton-reserva {
    width: 100%;
}

.icono-confirmacion {
    background: #e7f6ed;
    color: #17643a;
}

.icono-confirmacion img {
    filter: brightness(0) saturate(100%) invert(29%) sepia(20%) saturate(2010%) hue-rotate(91deg) brightness(94%) contrast(88%);
}

.solicitudes-ceo-vacio {
    padding: 28px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.solicitudes-ceo-vacio h2 {
    margin: 0;
    color: #132238;
}

@media (max-width: 680px) {
    .solicitudes-ceo {
        width: min(100% - 24px, 1000px);
        padding: 28px 0 48px;
    }

    .solicitud-ceo {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .solicitud-ceo-persona,
    .solicitud-ceo-aerolinea {
        grid-column: 1 / -1;
    }

    .solicitud-ceo-acciones {
        grid-column: 1 / -1;
        justify-items: stretch;
    }
}

.reporte-usuarios {
    width: min(100% - 40px, 1040px);
    margin: 0 auto;
    padding: 34px 0 48px;
}

.reporte-usuarios-encabezado,
.reporte-usuarios-paginacion,
.reporte-usuarios-paginacion > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.reporte-usuarios-encabezado {
    margin-bottom: 22px;
}

.reporte-usuarios-etiqueta {
    margin: 0 0 6px;
    color: #0d5aa8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reporte-usuarios-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.reporte-usuarios-filtros {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.reporte-usuarios-campo {
    display: grid;
    gap: 6px;
}

.reporte-usuarios-campo label {
    color: #40546a;
    font-size: 0.85rem;
    font-weight: 700;
}

.reporte-usuarios-campo select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #bdcbd8;
    border-radius: 7px;
    background: #ffffff;
    color: #132238;
    font: inherit;
}

.reporte-usuarios-campo select:focus-visible,
.reporte-usuarios-boton:focus-visible {
    outline: 3px solid rgb(13 90 168 / 30%);
    outline-offset: 2px;
}

.reporte-usuarios-boton {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid #0d5aa8;
    border-radius: 7px;
    background: #ffffff;
    color: #0d5aa8;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.reporte-usuarios-boton:hover:not(.deshabilitado) {
    background: #eaf4ff;
}

.reporte-usuarios-aplicar {
    background: #0d5aa8;
    color: #ffffff;
}

.reporte-usuarios-aplicar:hover {
    background: #08477f;
}

.reporte-usuarios-listado {
    display: grid;
    gap: 0;
    border: 1px solid #bdcbd8;
    background: #ffffff;
}

.reporte-usuarios-fila {
    display: grid;
    grid-template-columns: 1fr 1.3fr 0.8fr;
    min-height: 72px;
    border-bottom: 1px solid #bdcbd8;
}

.reporte-usuarios-fila:last-child {
    border-bottom: 0;
}

.reporte-usuarios-datos {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
    padding: 9px 14px;
}

.reporte-usuarios-datos + .reporte-usuarios-datos {
    border-left: 1px solid #bdcbd8;
}

.reporte-usuarios-datos p {
    overflow-wrap: anywhere;
    margin: 0;
    color: #26384b;
    font-size: 0.84rem;
}

.reporte-usuarios-datos p > span {
    font-weight: 700;
}

.reporte-usuarios-paginacion {
    margin-top: 16px;
    color: #40546a;
    font-size: 0.9rem;
}

.reporte-usuarios-pagina {
    min-width: 106px;
    text-align: center;
}

.reporte-usuarios-boton.deshabilitado {
    border-color: #dce6ee;
    color: #8291a0;
    cursor: not-allowed;
}

.reporte-usuarios-vacio,
.reporte-usuarios-mensaje {
    margin: 0;
    padding: 16px;
    border: 1px solid #dce6ee;
    border-radius: 8px;
    background: #ffffff;
    color: #40546a;
}

.reporte-usuarios-mensaje.error {
    margin-bottom: 16px;
    border-color: #efc7c7;
    background: #fff5f5;
    color: #8c2525;
}

.reporte-usuarios-resumen-impresion {
    margin: 0 0 12px;
    color: #40546a;
    font-size: 0.9rem;
}

@media (max-width: 680px) {
    .reporte-usuarios {
        width: min(100% - 24px, 1040px);
        padding-top: 24px;
    }

    .reporte-usuarios-encabezado,
    .reporte-usuarios-paginacion {
        align-items: flex-start;
        flex-direction: column;
    }

    .reporte-usuarios-filtros {
        grid-template-columns: 1fr;
    }

    .reporte-usuarios-aplicar {
        justify-self: start;
    }

    .reporte-usuarios-fila {
        grid-template-columns: 1fr 1.2fr;
    }

    .reporte-usuarios-datos:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid #e6edf3;
        border-left: 0;
    }

    .reporte-usuarios-paginacion > div {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media print {
    body {
        display: block;
    }

    .encabezado-principal,
    .pie-pagina,
    .reporte-usuarios-filtros,
    .reporte-usuarios-imprimir,
    .reporte-usuarios-paginacion {
        display: none !important;
    }

    .reporte-usuarios {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .reporte-usuarios-encabezado {
        margin-bottom: 12px;
    }

    .reporte-usuarios-fila {
        min-height: 0;
        break-inside: avoid;
    }

    .reporte-usuarios-datos {
        padding: 6px 10px;
    }
}

.reporte-vuelos {
    width: min(100% - 40px, 1040px);
    margin: 0 auto;
    padding: 34px 0 48px;
}

.reporte-vuelos-encabezado,
.reporte-vuelos-paginacion,
.reporte-vuelos-paginacion > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.reporte-vuelos-encabezado {
    margin-bottom: 22px;
}

.reporte-vuelos-etiqueta {
    margin: 0 0 6px;
    color: #0d5aa8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reporte-vuelos-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.reporte-vuelos-filtros {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
}

.reporte-vuelos-campo {
    display: grid;
    gap: 6px;
}

.reporte-vuelos-campo label {
    color: #40546a;
    font-size: 0.85rem;
    font-weight: 700;
}

.reporte-vuelos-campo input,
.reporte-vuelos-campo select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #bdcbd8;
    border-radius: 7px;
    background: #ffffff;
    color: #132238;
    font: inherit;
}

.reporte-vuelos-campo input:focus-visible,
.reporte-vuelos-campo select:focus-visible,
.reporte-vuelos-boton:focus-visible {
    outline: 3px solid rgb(13 90 168 / 30%);
    outline-offset: 2px;
}

.reporte-vuelos-boton {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid #0d5aa8;
    border-radius: 7px;
    background: #ffffff;
    color: #0d5aa8;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.reporte-vuelos-boton:hover:not(.deshabilitado) {
    background: #eaf4ff;
}

.reporte-vuelos-aplicar {
    grid-column: 1 / -1;
    justify-self: start;
    background: #0d5aa8;
    color: #ffffff;
}

.reporte-vuelos-aplicar:hover {
    background: #08477f;
}

.reporte-vuelos-listado {
    display: grid;
    gap: 0;
    border: 1px solid #bdcbd8;
    background: #ffffff;
}

.reporte-vuelos-fila {
    display: grid;
    grid-template-columns: 1fr 1fr 1.45fr;
    min-height: 82px;
    border-bottom: 1px solid #bdcbd8;
}

.reporte-vuelos-fila:last-child {
    border-bottom: 0;
}

.reporte-vuelos-datos {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    padding: 9px 14px;
}

.reporte-vuelos-datos + .reporte-vuelos-datos {
    border-left: 1px solid #bdcbd8;
}

.reporte-vuelos-datos p {
    overflow-wrap: anywhere;
    margin: 0;
    color: #26384b;
    font-size: 0.84rem;
}

.reporte-vuelos-datos p > span:first-child {
    font-weight: 700;
}

.reporte-vuelos-precio {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
}

.reporte-vuelos-paginacion {
    margin-top: 16px;
    color: #40546a;
    font-size: 0.9rem;
}

.reporte-vuelos-pagina {
    min-width: 106px;
    text-align: center;
}

.reporte-vuelos-boton.deshabilitado {
    border-color: #dce6ee;
    color: #8291a0;
    cursor: not-allowed;
}

.reporte-vuelos-vacio,
.reporte-vuelos-mensaje {
    margin: 0;
    padding: 16px;
    border: 1px solid #dce6ee;
    border-radius: 8px;
    background: #ffffff;
    color: #40546a;
}

.reporte-vuelos-mensaje.error {
    margin-bottom: 16px;
    border-color: #efc7c7;
    background: #fff5f5;
    color: #8c2525;
}

.reporte-vuelos-resumen-impresion {
    margin: 0 0 12px;
    color: #40546a;
    font-size: 0.9rem;
}

.reporte-ocupacion-resumen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 10px;
    padding: 16px 18px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #ffffff;
}

.reporte-ocupacion-resumen p {
    margin: 0;
    color: #26384b;
}

.reporte-ocupacion-resumen p span {
    color: #40546a;
    font-weight: 700;
}

.reporte-ocupacion-nota {
    margin: 0 0 16px;
    color: #536171;
    font-size: 0.84rem;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .reporte-vuelos-filtros {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .reporte-vuelos {
        width: min(100% - 24px, 1040px);
        padding-top: 24px;
    }

    .reporte-vuelos-encabezado,
    .reporte-vuelos-paginacion {
        align-items: flex-start;
        flex-direction: column;
    }

    .reporte-vuelos-filtros {
        grid-template-columns: 1fr;
    }

    .reporte-vuelos-aplicar {
        grid-column: auto;
    }

    .reporte-vuelos-fila {
        grid-template-columns: 1fr;
    }

    .reporte-vuelos-datos + .reporte-vuelos-datos {
        border-top: 1px solid #e6edf3;
        border-left: 0;
    }

    .reporte-ocupacion-datos {
        border-top: 1px solid #e6edf3;
    }

    .reporte-vuelos-paginacion > div {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media print {
    body {
        display: block;
    }

    .encabezado-principal,
    .pie-pagina,
    .reporte-vuelos-filtros,
    .reporte-vuelos-imprimir,
    .reporte-vuelos-paginacion {
        display: none !important;
    }

    .reporte-vuelos {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .reporte-vuelos-encabezado {
        margin-bottom: 12px;
    }

    .reporte-vuelos-fila {
        min-height: 0;
        break-inside: avoid;
    }

    .reporte-vuelos-datos {
        padding: 6px 10px;
    }
}

/* MENU ADMIN */
.menu-admin {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 56px;
}

.menu-admin > h1 {
    margin: 0 0 28px;
    color: #132238;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

.acciones-admin {
    display: grid;
    gap: 18px;
}

.accion-admin {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 24px;
    border: 1px solid rgb(19 34 56 / 18%);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgb(19 34 56 / 6%);
    color: #17365d;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.icono-admin {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
}

.icono-admin svg,
.icono-admin img {
    display: block;
    width: 27px;
    height: 27px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.icono-admin svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.icono-avion {
    background: #eaf1fc;
    color: #2857a8;
}

.icono-promocion {
    background: #e4f7f6;
    color: #32a9a9;
}

.icono-novedad {
    background: #fff0ed;
    color: #d9363e;
}

.icono-promocion img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(857%) hue-rotate(162deg) brightness(101%) contrast(96%);
}

.icono-novedad img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(76%) saturate(2297%) hue-rotate(338deg) brightness(95%) contrast(94%);
}

.accion-admin:hover {
    transform: translateY(-2px);
    border-color: #0d5aa8;
    background: #f2f9fc;
}

.accion-admin:focus-visible,
.enlaces-reportes-admin a:focus-visible {
    outline: 3px solid #079fdf;
    outline-offset: 3px;
}

.reportes-admin {
    margin-top: 34px;
}

.reportes-admin h2 {
    margin: 0 0 14px;
    color: #132238;
    font-size: 1.2rem;
    font-weight: 600;
}

.enlaces-reportes-admin {
    display: grid;
    gap: 9px;
}

.enlaces-reportes-admin a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid rgb(19 34 56 / 14%);
    border-radius: 8px;
    background: #ffffff;
    color: #17365d;
    font-weight: 500;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.icono-reporte {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    fill: none;
    stroke: #132238;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.enlaces-reportes-admin a:hover {
    border-color: #0d5aa8;
    background: #f2f9fc;
}

.novedades-publicas {
    width: min(calc(100% - 40px), 1000px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.novedades-publicas-encabezado {
    margin-bottom: 26px;
}

.novedades-publicas-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.novedades-publicas-encabezado > p:last-child,
.novedades-publicas-vacio p {
    color: #40546a;
    line-height: 1.6;
}

.novedades-publicas-lista {
    display: grid;
    gap: 16px;
}

.novedad-publica,
.novedades-publicas-vacio {
    padding: 22px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 6%);
}

.novedad-publica-fechas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.novedad-publica-fechas p {
    margin: 0;
    color: #536171;
    font-size: 0.86rem;
}

.novedad-publica-texto {
    margin: 16px 0;
    color: #132238;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.novedad-publica-codigo {
    color: #0d5aa8;
    font-size: 0.82rem;
    font-weight: 700;
}

.novedades-publicas-vacio h2 {
    margin-top: 0;
    color: #132238;
    font-size: 1.2rem;
}

.novedades-publicas-admin {
    margin-top: 22px;
}

.novedades-publicas-admin a {
    color: #0d5aa8;
    font-weight: 700;
}

.novedades-publicas-admin a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gestion-promociones,
.revision-promociones {
    width: min(calc(100% - 40px), 1000px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.gestion-promociones-encabezado,
.revision-promociones-encabezado {
    margin-bottom: 24px;
}

.gestion-promociones-encabezado h1,
.revision-promociones-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.gestion-promociones-encabezado > p:last-child,
.revision-promociones-encabezado > p:last-child,
.gestion-promociones-vacio p,
.promocion-elemento p {
    color: #40546a;
    line-height: 1.6;
}

.formulario-promocion-seccion,
.lista-promociones,
.gestion-promociones-vacio {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 6%);
}

.formulario-promocion-seccion h2,
.lista-promociones h2,
.gestion-promociones-vacio h2 {
    margin: 0 0 18px;
    color: #132238;
    font-size: 1.3rem;
}

.formulario-promocion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: end;
    gap: 16px;
}

.campo-promocion {
    display: grid;
    gap: 8px;
}

.campo-promocion label {
    color: #17365d;
    font-size: 0.92rem;
    font-weight: 600;
}

.campo-promocion input,
.campo-promocion textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #cbd9e4;
    border-radius: 8px;
    background: #ffffff;
    color: #132238;
    font-size: 1rem;
}

.campo-promocion textarea {
    resize: vertical;
}

.campo-promocion input:focus,
.campo-promocion textarea:focus {
    border-color: #0d5aa8;
    outline: 3px solid rgb(13 90 168 / 15%);
}

.nota-promocion-pendiente {
    grid-column: 1 / -1;
    margin: 0;
    color: #60470e;
    line-height: 1.5;
}

.formulario-promocion > .boton-reserva {
    grid-column: 1 / -1;
    justify-self: start;
}

.lista-promociones-elementos {
    display: grid;
    gap: 14px;
}

.promocion-elemento {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #ffffff;
}

.promocion-elemento h2,
.promocion-elemento h3 {
    margin: 0;
    color: #132238;
    font-size: 1.1rem;
}

.promocion-elemento p {
    margin: 8px 0 0;
}

.estado-promocion {
    flex: 0 0 auto;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: capitalize;
}

.estado-promocion-pendiente {
    background: #fff5dc;
    color: #735510;
}

.estado-promocion-aprobada {
    background: #e7f6ed;
    color: #17643a;
}

.estado-promocion-denegada {
    background: #fff0f0;
    color: #8c2525;
}

.promocion-aerolinea {
    color: #0d5aa8 !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.acciones-revision-promocion {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.acciones-revision-promocion form,
.acciones-revision-promocion .boton-reserva {
    width: 100%;
}

.gestion-vuelos {
    width: min(calc(100% - 40px), 1100px);
    margin: 0 auto;
    padding: 42px 0 72px;
}

.gestion-vuelos-encabezado {
    margin-bottom: 24px;
}

.gestion-vuelos-encabezado h1 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.gestion-vuelos-encabezado > p:last-child,
.gestion-vuelos-vacio p,
.vuelo-gestion-elemento p {
    color: #40546a;
    line-height: 1.6;
}

.formulario-vuelo-seccion,
.lista-vuelos-gestion,
.gestion-vuelos-vacio {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(19 34 56 / 6%);
}

.formulario-vuelo-seccion > h2,
.lista-vuelos-gestion > h2,
.gestion-vuelos-vacio h2 {
    margin: 0 0 18px;
    color: #132238;
    font-size: 1.3rem;
}

.formulario-vuelo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.campo-vuelo {
    display: grid;
    gap: 8px;
}

.campo-vuelo label {
    color: #17365d;
    font-size: 0.92rem;
    font-weight: 600;
}

.campo-vuelo input {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #cbd9e4;
    border-radius: 8px;
    background: #ffffff;
    color: #132238;
    font-size: 1rem;
}

.campo-vuelo input:focus {
    border-color: #0d5aa8;
    outline: 3px solid rgb(13 90 168 / 15%);
}

.acciones-formulario-vuelo {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 14px;
}

.nota-vuelo-error,
.aviso-vuelo-reservado {
    grid-column: 1 / -1;
    margin: 0;
    color: #8c2525;
    line-height: 1.5;
}

.aviso-vuelo-reservado {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #f0c6a8;
    border-radius: 8px;
    background: #fff6ef;
}

.lista-vuelos-elementos {
    display: grid;
    gap: 14px;
}

.vuelo-gestion-elemento {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #ffffff;
}

.vuelo-gestion-codigo {
    margin: 0 0 4px !important;
    color: #0d5aa8 !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.vuelo-gestion-elemento h3 {
    margin: 0;
    color: #132238;
    font-size: 1.15rem;
}

.vuelo-gestion-elemento p {
    margin: 6px 0 0;
}

.vuelo-gestion-elemento .vuelo-gestion-reservado {
    color: #735510;
    font-size: 0.85rem;
}

.acciones-vuelo-gestion {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.acciones-vuelo-gestion form {
    margin: 0;
}

.enlace-editar-vuelo {
    color: #0d5aa8;
    font-weight: 700;
}

.enlace-editar-vuelo:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vuelo-gestion-protegido {
    max-width: 170px;
    color: #536171;
    font-size: 0.82rem;
    text-align: right;
}

.acciones-formulario-vuelo .boton-reserva:disabled {
    background: #9eacb9;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .formulario-vuelo {
        grid-template-columns: 1fr;
    }

    .acciones-formulario-vuelo,
    .nota-vuelo-error,
    .aviso-vuelo-reservado {
        grid-column: 1;
    }

    .vuelo-gestion-elemento {
        align-items: flex-start;
        flex-direction: column;
    }

    .acciones-vuelo-gestion {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .acciones-vuelo-gestion form,
    .acciones-vuelo-gestion .boton-reserva {
        width: 100%;
    }

    .vuelo-gestion-protegido {
        max-width: none;
        text-align: left;
    }

    .formulario-promocion {
        grid-template-columns: 1fr;
    }

    .campo-promocion-descuento,
    .nota-promocion-pendiente,
    .formulario-promocion > .boton-reserva {
        grid-column: 1;
    }

    .promocion-elemento {
        align-items: flex-start;
        flex-direction: column;
    }

    .acciones-revision-promocion {
        width: 100%;
        flex-direction: column;
    }

    .menu-admin {
        width: min(100% - 32px, 480px);
        padding: 28px 0 40px;
    }

    .menu-admin > h1 {
        margin-bottom: 22px;
        font-size: 1.7rem;
    }

    .accion-admin {
        min-height: 68px;
        padding: 16px;
        font-size: 1rem;
    }
}

.inicio-secciones {
    display: grid;
    width: min(calc(100% - 40px), 1120px);
    gap: 34px;
    margin: 0 auto;
    padding: 42px 0 72px;
}

.inicio-seccion {
    min-width: 0;
}

.inicio-seccion-encabezado {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.inicio-seccion-encabezado h2 {
    margin: 0;
    color: #132238;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.inicio-seccion-encabezado a {
    flex: 0 0 auto;
    color: #0d5aa8;
    font-weight: 700;
}

.inicio-seccion-encabezado a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.inicio-lista {
    display: grid;
    gap: 12px;
}

.inicio-lista-novedades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inicio-lista-novedades .novedad-publica {
    min-width: 0;
}

.inicio-fecha {
    margin: 0;
    color: #536171;
    font-size: 0.86rem;
}

.inicio-vacio {
    margin: 0;
    padding: 20px;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    color: #40546a;
}

@media (max-width: 700px) {
    .inicio-lista-novedades {
        grid-template-columns: 1fr;
    }

    .inicio-lista .item-vuelo {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .inicio-lista .item-vuelo-icono {
        width: 44px;
    }

    .inicio-lista .item-vuelo-precio {
        grid-column: 2;
        justify-self: start;
    }
}
