.ltr-checkin-wrap {
    --ltr-primary: #CAB2D6;
    --ltr-accent: #352858;
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    font-family: inherit;
    color: #2c2c2c;
    box-sizing: border-box;
}

.ltr-checkin-wrap *,
.ltr-checkin-wrap *::before,
.ltr-checkin-wrap *::after {
    box-sizing: border-box;
}

.ltr-checkin-wrap h1 {
    background: var(--ltr-accent);
    color: #fff;
    font-size: 1.6rem;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.ltr-checkin-wrap > p {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.5;
}

.ltr-rd-notice {
    background: rgba(202, 178, 214, 0.25);
    border-left: 4px solid var(--ltr-primary);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #444 !important;
    border-radius: 4px;
    margin-bottom: 24px !important;
}

.ltr-req {
    color: #c0392b;
    font-weight: 700;
}

.ltr-lang-switch {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ltr-lang-btn {
    border: 1px solid var(--ltr-accent);
    background: #fff;
    color: var(--ltr-accent);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.ltr-lang-btn.active {
    background: var(--ltr-accent);
    color: #fff;
}

.ltr-block {
    border: 1px solid #e0dcd6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafaf8;
    position: relative;
}

.ltr-block legend {
    font-weight: 600;
    background: var(--ltr-accent);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.ltr-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ltr-field {
    flex: 1 1 220px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ltr-field label {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ltr-field small {
    color: #888;
    font-size: 0.75rem;
    margin-top: 4px;
}

.ltr-error-text {
    color: #c0392b !important;
    font-weight: 500;
    min-height: 0;
}

.ltr-error-text:empty {
    display: none;
}

.ltr-hint-contacto {
    display: block;
    color: #888;
    font-size: 0.78rem;
    margin: -6px 0 14px;
}

.ltr-field input,
.ltr-field select {
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    width: 100%;
}

.ltr-field input.ltr-invalid,
.ltr-field select.ltr-invalid {
    border-color: #c0392b;
    background: #fdf3f2;
}

.ltr-field input:focus,
.ltr-field select:focus {
    outline: none;
    border-color: var(--ltr-accent);
    box-shadow: 0 0 0 3px rgba(169, 130, 92, 0.15);
}

.ltr-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--ltr-accent);
    background: #fff;
    color: var(--ltr-accent);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.ltr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ltr-modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.ltr-modal-content img {
    width: 100%;
    border-radius: 6px;
    margin-top: 10px;
}

.ltr-modal-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    padding-right: 24px;
}

.ltr-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.ltr-remove-traveler {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: 1px solid #c0392b;
    color: #c0392b;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

.ltr-btn-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 24px;
    background: #fff;
    border: 2px dashed var(--ltr-primary);
    color: var(--ltr-accent);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.ltr-consent {
    background: rgba(202, 178, 214, 0.25);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ltr-consent label {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    align-items: flex-start;
}

.ltr-consent input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

.ltr-btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--ltr-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ltr-btn-primary:hover {
    opacity: 0.88;
}

.ltr-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ltr-form-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.ltr-form-msg.success {
    background: #e5f6e8;
    color: #1e7a34;
    border: 1px solid #b5e2bd;
}

.ltr-form-msg.error {
    background: #fdeaea;
    color: #b02a2a;
    border: 1px solid #f3bcbc;
}

/* Tablet */
@media (max-width: 900px) {
    .ltr-checkin-wrap {
        padding: 20px 14px 50px;
    }
    .ltr-field {
        flex: 1 1 45%;
    }
}

/* Movil */
@media (max-width: 600px) {
    .ltr-checkin-wrap h1 {
        font-size: 1.4rem;
    }
    .ltr-row {
        flex-direction: column;
        gap: 0;
    }
    .ltr-field {
        flex: 1 1 100%;
    }
    .ltr-block {
        padding: 16px 14px;
    }
    .ltr-lang-switch {
        justify-content: center;
    }
}

/* Oculta el widget de GTranslate solo en esta pagina (evita duplicar
   el selector de idioma junto al nuestro). Se ignora el sufijo
   "gt_container--xxxxx" porque es un hash que puede cambiar entre
   actualizaciones del plugin; .gtranslate_wrapper es el nombre estable. */
.gtranslate_wrapper {
    display: none !important;
}
