/* =========================================================
   INFO RESERVA - DISEÑO GENERAL
   ========================================================= */

:root {
    --verde-principal: #43ad9a;
    --verde-oscuro: #237d72;
    --verde-claro: #dff4ef;
    --turquesa: #63c5b4;
    --dorado: #f2bd55;
    --dorado-oscuro: #d99c29;
    --fondo: #f3f8f7;
    --texto: #23413e;
    --texto-suave: #6b817e;
    --blanco: #ffffff;
    --rojo: #c94d4d;
    --sombra: 0 18px 45px rgba(35, 125, 114, 0.14);
    --radio: 24px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: var(--fondo);
}

/* =========================================================
   LOGIN
   ========================================================= */
.login-page {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(99, 197, 180, 0.25), transparent 30%),
        radial-gradient(circle at 90% 85%, rgba(242, 189, 85, 0.20), transparent 28%),
        linear-gradient(135deg, #e8f7f3 0%, #f8fbfa 50%, #fff8e9 100%);
}
.login-wrapper {
    width: 100%;
    max-width: 440px;
}
.login-card {
    position: relative;
    overflow: hidden;
    background: var(--blanco);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    border: 1px solid rgba(67, 173, 154, 0.12);
}
.login-card::before {
    content: "";
    display: block;
    height: 9px;
    background: linear-gradient(
        90deg,
        var(--verde-oscuro),
        var(--verde-principal),
        var(--dorado)
    );
}
.login-brand {
    text-align: center;
    padding: 34px 30px 20px;
}
.brand-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.brand-icon img {
    /*max-width: 100%;*/
    max-height: 100%;
    object-fit: contain;
}
.login-brand h1 {
    margin: 0;
    color: var(--verde-oscuro);
    font-size: 30px;
    letter-spacing: -0.5px;
}
.login-brand p {
    margin: 9px auto 0;
    max-width: 300px;
    color: var(--texto-suave);
    font-size: 14px;
    line-height: 1.5;
}
.login-content {
    padding: 8px 34px 30px;
}
.login-content h2 {
    margin: 0;
    font-size: 25px;
    color: var(--texto);
}
.login-subtitle {
    margin: 7px 0 24px;
    color: var(--texto-suave);
    font-size: 14px;
}
.login-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff0f0;
    color: var(--rojo);
    border: 1px solid #f2cccc;
    font-size: 14px;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 13px;
    font-weight: bold;
    color: var(--texto);
}
.input-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    pointer-events: none;
}
.input-wrapper input {
    width: 100%;
    height: 52px;
    padding: 0 15px 0 46px;
    border: 1px solid #d5e3e0;
    border-radius: 14px;
    outline: none;
    background: #fbfdfd;
    color: var(--texto);
    font-size: 15px;
    transition: 0.2s ease;
}
.input-wrapper input::placeholder {
    color: #a5b5b2;
}
.input-wrapper input:focus {
    border-color: var(--verde-principal);
    background: var(--blanco);
    box-shadow: 0 0 0 4px rgba(67, 173, 154, 0.12);
}

.login-button {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        var(--verde-oscuro),
        var(--verde-principal)
    );
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(35, 125, 114, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-button span {
    margin-left: 8px;
    font-size: 19px;
}
.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 27px rgba(35, 125, 114, 0.26);
}
.login-button:active {
    transform: translateY(0);
}
.login-footer {
    padding: 17px;
    text-align: center;
    border-top: 1px solid #edf2f1;
    color: var(--texto-suave);
    font-size: 12px;
}
.login-footer span {
    color: var(--dorado-oscuro);
    margin-right: 5px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {
    .login-page {
        padding: 16px;
    }
    .login-card {
        border-radius: 20px;
    }
    .login-brand {
        padding: 28px 22px 16px;
    }
    .login-content {
        padding: 8px 22px 25px;
    }
    .login-brand h1 {
        font-size: 27px;
    }
    .brand-icon {
        width: 64px;
        height: 64px;
        border-radius: 19px;
        font-size: 30px;
    }
    .login-content h2 {
        font-size: 23px;
    }
    .input-wrapper input {
        height: 54px;
        font-size: 16px;
    }
    .login-button {
        min-height: 56px;
    }
}
@media (max-height: 650px) and (orientation: landscape) {
    .login-page {
        align-items: flex-start;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .login-brand {
        padding-top: 20px;
    }
    .brand-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 10px;
    }
}

/* =========================================================
   PORTAL DEL CLIENTE
   ========================================================= */
.cliente-page {
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            #e9f8f6 0,
            #f7fbfa 280px,
            #f3f8f7 100%
        );
}

/* =========================================================
   HEADER
   ========================================================= */
.cliente-header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(35,125,114,0.10);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}
.cliente-header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cliente-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cliente-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
}
.cliente-brand-text {
    display: flex;
    flex-direction: column;
}
.cliente-brand-text strong {
    color: #237d72;
    font-size: 17px;
}
.cliente-brand-text span {
    color: #7a8f8b;
    font-size: 11px;
    margin-top: 3px;
}
.cliente-logout {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border-radius: 12px;
    color: #237d72;
    background: #e7f6f3;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s ease;
}
.cliente-logout:hover {
    background: #d5eee9;
    transform: translateY(-1px);
}

/* =========================================================
   CONTENEDOR
   ========================================================= */
.cliente-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 60px;
}

/* =========================================================
   BIENVENIDA
   ========================================================= */
.cliente-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 190px;
    padding: 34px 38px;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #237d72 0%,
            #2d9d8e 48%,
            #63c5b4 100%
        );

    color: white;
    box-shadow:
        0 18px 38px rgba(35,125,114,0.18);
}
.cliente-welcome::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -80px;
    top: -100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
}
.cliente-welcome-small {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.4px;
    opacity: 0.82;
}
.cliente-welcome h1 {
    margin: 0;
    font-size: 31px;
    line-height: 1.15;
}
.cliente-welcome p:last-child {
    margin: 10px 0 0;
    font-size: 14px;
    opacity: 0.90;
}
.welcome-wave {
    position: relative;
    z-index: 2;
    font-size: 74px;
    margin-right: 20px;
}

/* =========================================================
   TARJETAS GENERALES
   ========================================================= */

.cliente-card {
    background: white;
    border: 1px solid rgba(35,125,114,0.08);
    border-radius: 22px;
    box-shadow:
        0 10px 28px rgba(35,125,114,0.08);
}


/* =========================================================
   PERFIL
   ========================================================= */
.perfil-card {
    margin-top: 22px;
    padding: 25px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 13px;
}
.section-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #e4f5f1;
    font-size: 21px;
}
.section-title h2 {
    margin: 0;
    font-size: 19px;
    color: #23413e;
}
.section-title p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #7a8f8b;
}
.perfil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 22px;
}
.perfil-item {
    padding: 17px;
    border-radius: 15px;
    background: #f7fbfa;
    border: 1px solid #edf3f1;
}
.perfil-label {
    display: block;
    margin-bottom: 6px;
    color: #7a8f8b;
    font-size: 11px;
}
.perfil-item strong {
    font-size: 14px;
    color: #23413e;
    word-break: break-word;
}

/* =========================================================
   SECCIÓN VIAJES
   ========================================================= */
.cliente-section {
    margin-top: 34px;
}
.cliente-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    marGin-bottom: 17px;
}
.section-overline {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: bold;
    color: #43ad9a;
    letter-spacing: 1.3px;
}
.cliente-section-heading h2 {
    margin: 0;
    color: #23413e;
    font-size: 25px;
}
.travel-count {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 20px;
    background: #fff5da;
    color: #9a6e17;
    font-size: 12px;
    font-weight: bold;
}

/* =========================================================
   VIAJES
   ========================================================= */
.viajes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.viaje-card {
    overflow: hidden;
    background: white;
    border-radius: 22px;
    border: 1px solid rgba(35,125,114,0.08);
    box-shadow:
        0 10px 30px rgba(35,125,114,0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.viaje-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 36px rgba(35,125,114,0.13);
}
.viaje-card-top {
    min-height: 102px;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background:
        linear-gradient(
            135deg,
            #e5f7f3,
            #effbf9
        );
}
.viaje-destination-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: white;
    box-shadow:
        0 8px 20px rgba(35,125,114,0.10);
    font-size: 27px;
}
.viaje-tag {
    padding: 7px 10px;
    border-radius: 20px;
    background: #fff7df;
    color: #9a6e17;
    font-size: 10px;
    font-weight: bold;
}
.viaje-card-body {
    padding: 23px;
}
.viaje-label {
    margin: 0 0 4px;
    font-size: 10px;
    color: #43ad9a;
    letter-spacing: 1px;
    font-weight: bold;
}
.viaje-card h3 {
    margin: 0;
    color: #23413e;
    font-size: 22px;
    line-height: 1.2;
}
.viaje-destino {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    color: #237d72;
    font-size: 14px;
}
.viaje-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 21px;
}
.viaje-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px;
    border-radius: 13px;
    background: #f7fbfa;
}
.info-icon {
    font-size: 17px;
}
.viaje-info small {
    display: block;
    color: #8b9c99;
    font-size: 9px;
}
.viaje-info strong {
    display: block;
    margin-top: 2px;
    color: #23413e;
    font-size: 12px;
}
.viaje-descripcion {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    padding: 13px;
    border-radius: 13px;
    background: #fffaf0;
    border: 1px solid #f9edcf;
}
.viaje-descripcion span {
    flex-shrink: 0;
}
.viaje-descripcion p {
    margin: 0;
    color: #79673f;
    font-size: 11px;
    line-height: 1.5;
}
.viaje-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 13px 16px;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            #237d72,
            #43ad9a
        );
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    box-shadow:
        0 8px 18px rgba(35,125,114,0.18);
    transition: 0.2s ease;
}
.viaje-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 23px rgba(35,125,114,0.23);
}
.viaje-button span {
    font-size: 18px;
}

/* =========================================================
   SIN VIAJES
   ========================================================= */
.empty-travel-card {
    padding: 50px 25px;
    text-align: center;
    background: white;
    border-radius: 22px;
    border: 1px solid rgba(35,125,114,0.08);
    box-shadow:
        0 10px 25px rgba(35,125,114,0.06);
}
.empty-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #e7f6f3;
    font-size: 30px;
}
.empty-travel-card h3 {
    margin: 0;
    color: #23413e;
    font-size: 19px;
}
.empty-travel-card p {
    max-width: 400px;
    margin: 8px auto 0;
    color: #7a8f8b;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   NAVEGACIÓN MÓVIL
   ========================================================= */
.mobile-bottom-nav {
    display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
    .perfil-grid {
        grid-template-columns: 1fr;
    }
    .viajes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cliente-header-inner {
        width: min(100% - 22px, 1180px);
        min-height: 70px;
    }
    .cliente-logo {
        width: 55px;
        height: 55px;
    }
    .cliente-brand-text strong {
        font-size: 14px;
    }
    .cliente-brand-text span {
        font-size: 9px;
    }
    .cliente-logout {
        padding: 9px 10px;
        font-size: 11px;
    }
    .cliente-logout span {
        font-size: 15px;
    }
    .cliente-container {
        width: calc(100% - 22px);
        padding: 18px 0 90px;
    }
    .cliente-welcome {
        min-height: 170px;
        padding: 25px 22px;
        border-radius: 22px;
    }
    .cliente-welcome h1 {
        font-size: 25px;
        max-width: 270px;
    }
    .cliente-welcome p:last-child {
        max-width: 260px;
        font-size: 12px;
        line-height: 1.5;
    }
    .welcome-wave {
        position: absolute;
        right: 13px;
        bottom: 16px;
        font-size: 44px;
    }
    .perfil-card {
        padding: 20px;
        border-radius: 19px;
    }
    .cliente-section-heading h2 {
        font-size: 22px;
    }
    .travel-count {
        padding: 7px 9px;
        font-size: 10px;
    }
    .viaje-card {
        border-radius: 19px;
    }
    .viaje-card-body {
        padding: 19px;
    }
    .viaje-card h3 {
        font-size: 20px;
    }
    .viaje-info-grid {
        grid-template-columns: 1fr;
    }
    .viaje-info {
        padding: 11px 12px;
    }
    .cliente-logout {
        display: none;
    }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 68px;
        display: flex;
        justify-content: center;
        gap: 50px;
        background: rgba(255,255,255,0.97);
        border-top: 1px solid #e6efed;
        box-shadow:
            0 -8px 25px rgba(35,125,114,0.08);
        z-index: 200;
        backdrop-filter: blur(10px);
    }
    .mobile-nav-item {
        min-width: 58px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #7a8f8b;
    }
    .mobile-nav-item span {
        font-size: 20px;
    }
    .mobile-nav-item small {
        font-size: 10px;
    }
    .mobile-nav-item.active {
        color: #237d72;
    }
}

/* =========================================================
   DETALLE DEL VIAJE
   ========================================================= */
.detalle-page {
    background:
        linear-gradient(
            180deg,
            #e9f8f6 0,
            #f7fbfa 320px,
            #f3f8f7 100%
        );
}
.detalle-container {
    max-width: 1050px;
}


/* =========================================================
   BOTON REGRESAR HEADER
   ========================================================= */
.cliente-back-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border-radius: 12px;
    background: #e7f6f3;
    color: #237d72;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.2s ease;
}
.cliente-back-button:hover {
    background: #d5eee9;
    transform: translateY(-1px);
}


/* =========================================================
   HERO DEL VIAJE
   ========================================================= */
.detalle-hero {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 40px;
    border-radius: 28px;
    color: white;
    background:
        linear-gradient(
            135deg,
            #237d72 0%,
            #2d9d8e 48%,
            #63c5b4 100%
        );
    box-shadow:
        0 18px 38px rgba(35,125,114,0.18);
}
.detalle-hero::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    right: -100px;
    top: -130px;
    background: rgba(255,255,255,0.08);
}
.detalle-hero-content {
    position: relative;
    z-index: 2;
}
.detalle-hero h1 {
    margin: 4px 0 10px;
    font-size: 34px;
    line-height: 1.15;
    max-width: 650px;
}
.detalle-destino {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    opacity: 0.94;
}
.detalle-hero-icon {
    position: relative;
    z-index: 2;
    margin-right: 30px;
    font-size: 75px;
}

/* =========================================================
   TARJETAS
   ========================================================= */
.detalle-card {
    margin-top: 22px;
    padding: 27px;
    background: white;
    border-radius: 22px;
    border: 1px solid rgba(35,125,114,0.08);
    box-shadow:
        0 10px 28px rgba(35,125,114,0.07);
}
.detalle-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 23px;
}
.detalle-section-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #e5f6f2;
    font-size: 22px;
}
.hotel-icon {
    background: #fff3dc;
}
.transport-icon {
    background: #e8f3ff;
}
.document-icon {
    background: #eee9ff;
}
.payment-icon {
    background: #fff0d7;
}
.detalle-section-title h2 {
    margin: 0;
    color: #23413e;
    font-size: 20px;
}
.detalle-section-title p {
    margin: 4px 0 0;
    color: #7a8f8b;
    font-size: 12px;
}

/* =========================================================
   INFORMACIÓN DEL VIAJE
   ========================================================= */
.detalle-info-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 12px;
}
.detalle-info-box {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px;
    border-radius: 16px;
    background: #f7fbfa;
    border: 1px solid #edf3f1;
}
.detalle-info-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: white;
    font-size: 19px;
}
.detalle-info-box small {
    display: block;
    font-size: 9px;
    color: #8a9b98;
    letter-spacing: .4px;
}
.detalle-info-box strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #23413e;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */
.detalle-description {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 15px;
    border-radius: 15px;
    background: #fffaf0;
    border: 1px solid #f8ebce;
}
.detalle-description > span {
    flex-shrink: 0;
}
.detalle-description small {
    color: #967632;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: .5px;
}
.detalle-description p {
    margin: 5px 0 0;
    color: #6f603c;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   DATOS HOTEL / TRANSPORTE
   ========================================================= */
.detalle-data-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 11px;
}
.detalle-data-item {
    padding: 15px;
    border-radius: 14px;
    background: #f8fbfa;
    border: 1px solid #edf3f1;
}

.detalle-data-item small {
    display: block;
    margin-bottom: 6px;
    color: #8a9b98;
    font-size: 9px;
    letter-spacing: .5px;
}

.detalle-data-item strong {
    color: #23413e;
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}
.confirmation-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    background: #e3f6e8;
    color: #30804b !important;
    font-size: 11px !important;
}


/* =========================================================
   SIN INFORMACIÓN
   ========================================================= */
.detalle-empty {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border-radius: 15px;
    background: #f7fbfa;
    border: 1px dashed #d9e8e5;
}
.detalle-empty > span {
    font-size: 26px;
}
.detalle-empty p {
    margin: 0;
    color: #7a8f8b;
    font-size: 12px;
}


/* =========================================================
   DOCUMENTOS
   ========================================================= */
.documentos-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.documento-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border-radius: 15px;
    background: #f8fbfa;
    border: 1px solid #edf3f1;
}
.documento-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #eee9ff;
    font-size: 19px;
}
.documento-info {
    flex: 1;
    min-width: 0;
}
.documento-info strong {
    display: block;
    color: #23413e;
    font-size: 13px;
}
.documento-info p {
    margin: 4px 0;
    color: #6f817e;
    font-size: 11px;
    line-height: 1.4;
}
.documento-info small {
    color: #99a7a4;
    font-size: 9px;
}
.documento-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 9px 13px;
    border-radius: 11px;
    background: #237d72;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    transition: 0.2s ease;
}
.documento-button:hover {
    background: #43ad9a;
}
.documento-button span {
    font-size: 14px;
}

/* =========================================================
   PAGOS
   ========================================================= */
.pagos-card {
    margin-bottom: 20px;
}
.proximamente-box {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #fffdf7
        );
    border: 1px solid #f6eacd;
}
.proximamente-box > span {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff0d4;
    font-size: 20px;
}
.proximamente-box strong {
    display: block;
    color: #856827;
    font-size: 13px;
}
.proximamente-box p {
    margin: 4px 0 0;
    color: #947e52;
    font-size: 11px;
}

/* =========================================================
   BOTÓN FINAL
   ========================================================= */

.detalle-return-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    border-radius: 15px;
    background: white;
    border: 1px solid #dcebe8;
    color: #237d72;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.2s ease;
}
.detalle-return-button:hover {
    background: #eaf7f4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 750px) {
    .detalle-info-grid {
        grid-template-columns: 1fr;
    }
    .detalle-data-grid {
        grid-template-columns: 1fr;
    }
    .detalle-hero-icon {
        margin-right: 0;
        font-size: 55px;
    }
}

@media (max-width: 600px) {
    .detalle-container {
        padding-top: 18px;
        padding-bottom: 90px;
    }
    .cliente-back-button {
        padding: 9px 11px;
        font-size: 11px;
    }
    .detalle-hero {
        min-height: 175px;
        padding: 25px 22px;
        border-radius: 22px;
    }
    .detalle-hero h1 {
        font-size: 26px;
        max-width: 280px;
    }
    .detalle-destino {
        font-size: 13px;
    }
    .detalle-hero-icon {
        position: absolute;
        right: 14px;
        bottom: 12px;
        font-size: 42px;
    }
    .detalle-card {
        padding: 20px;
        border-radius: 19px;
    }
    .detalle-section-title {
        margin-bottom: 18px;
    }
    .detalle-section-title h2 {
        font-size: 18px;
    }
    .detalle-info-box {
        padding: 13px;
    }
    .documento-item {
        align-items: flex-start;
    }
    .documento-button {
        align-self: center;
        padding: 8px 10px;
    }
}

/* =========================================================
   VISOR DE DOCUMENTOS
   ========================================================= */
.documento-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 55, 51, 0.82);
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.documento-modal.active {
    display: flex;
}
.documento-modal-content {
    position: relative;
    width: min(1000px, 100%);
    height: min(90vh, 850px);
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 25px 70px rgba(0,0,0,0.30);
}
.documento-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #237d72;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow:
        0 8px 18px rgba(0,0,0,0.20);
    transition: 0.2s ease;
}
.documento-modal-close:hover {
    background: #43ad9a;
    transform: scale(1.05);
}
.documento-viewer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 20px;
    overflow: auto;
    background: #f4f8f7;
}
.documento-viewer img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);
}
.documento-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: white;
}


/* CELULAR */

@media (max-width: 600px) {
    .documento-modal {
        padding: 10px;
    }
    .documento-modal-content {
        width: 100%;
        height: 92vh;
        border-radius: 16px;
    }

    .documento-modal-close {
        width: 38px;
        height: 38px;
        top: 9px;
        right: 9px;
        font-size: 17px;
    }
    .documento-viewer {
        padding: 50px 10px 10px;
    }
}

/* =========================================================
   BOTONES DE DOCUMENTOS
   ========================================================= */
.documento-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.documento-button,
.documento-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 76px;
    padding: 9px 12px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    transition: 0.2s ease;
}

/* BOTON DE VER */
.documento-button {
    background: #237d72;
    color: white;
}
.documento-button:hover {
    background: #43ad9a;
    transform: translateY(-1px);
}

/* BOTON DE DESCARGAR */
.documento-download {
    background: #e7f6f3;
    color: #237d72;
    border: 1px solid #cce8e2;
}
.documento-download:hover {
    background: #d5eee9;
    transform: translateY(-1px);
}
.documento-button span,
.documento-download span {
    font-size: 14px;
}

/* =====================================================
   BOTÓN GOOGLE MAPS
===================================================== */
a.detalle-maps-button span {
    color: white !important;
}