/* ============================================================
   make-travel — formulario "Armamos tu viaje" (mobile + desktop)
   Paleta alineada a la marca: azul #3276d8 + oscuro #16213e.
   ============================================================ */
:root {
    --mt-accent: #3276d8;
    --mt-accent-dark: #1f4e8f;
    --mt-ink: #16213e;
    --mt-text: #374151;
    --mt-muted: #6b7280;
    --mt-border: #e3e6ec;
    --mt-bg-soft: #f6f8fc;
    --mt-success: #16a34a;
    --mt-radius: 16px;
    --mt-radius-sm: 12px;
}

/* utilidad usada por los labels (no existe en BS5) */
.font-weight-600 { font-weight: 600; }

/* ---- Hero mobile ---- */
.travel-form-hero {
    background: linear-gradient(135deg, #575770 0%, #16213e 100%);
    color: #fff;
    border-radius: 0 0 var(--mt-radius) var(--mt-radius);
}

.hero-title {
    font-size: 14px;
    opacity: .95;
}

/* ---- Layout ---- */
.make-travel-layout {
    margin-bottom: 2.5rem !important;
}

.make-travel-form-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Las tarjetas de paso (+ CTA) viven dentro del <form>: las espaciamos acá.
   Los <input type="hidden"> no son flex items, no generan huecos. */
.modern-travel-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---- Alerta "creá tu cuenta" ---- */
.alert-save-time {
    background: #fff8e6;
    border: 1px solid #ffe2a8;
    border-left: 4px solid #f5b301;
    border-radius: var(--mt-radius-sm);
    padding: 18px 20px;
    margin: 0;
}

.alert-icon {
    color: #f5b301;
    font-size: 24px;
    margin-right: 14px;
}

.alert-content { flex: 1; }

.alert-content strong {
    display: block;
    margin-bottom: 2px;
    color: var(--mt-ink);
}

.alert-content small { color: var(--mt-muted); }

.btn-create-account {
    border-radius: 10px;
    font-weight: 700;
    padding: 11px;
}

/* ---- Tarjetas de paso ---- */
.form-section {
    background: #fff;
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius);
    box-shadow: 0 2px 14px rgba(22, 33, 62, .05);
    padding: 22px;
    margin: 0;
}

.section-header {
    border-bottom: 1px solid #eef1f6;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
}

.section-header h2 {
    color: var(--mt-ink);
    font-size: 17px !important;
    line-height: 1.3;
}

.section-icon {
    color: var(--mt-accent);
    margin-right: 4px;
}

.success-icon { color: var(--mt-success); }

.budget-description {
    font-size: 13px;
    color: var(--mt-muted);
}

/* ---- Campos ---- */
.form-group {
    margin-bottom: 18px;
}

.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--mt-ink);
    margin-bottom: 8px;
}

.form-icon {
    color: var(--mt-accent);
    font-size: 15px;
    margin-right: 4px;
}

.form-control-custom {
    width: 100%;
    border: 1.5px solid var(--mt-border);
    border-radius: var(--mt-radius-sm);
    padding: 12px 14px;
    font-size: 15px;
    color: var(--mt-text);
    background-color: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
    appearance: none;
}

.form-control-custom::placeholder { color: #9aa3b2; }

.form-control-custom:hover {
    border-color: #c4ccda;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--mt-accent);
    box-shadow: 0 0 0 3px rgba(50, 118, 216, .15);
}

/* flecha custom para los <select> */
select.form-control-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

textarea.form-control-custom { resize: vertical; min-height: 90px; }

.form-text { margin-top: 6px; font-size: 12.5px; }

.form-control-custom.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

/* ---- Caja "soy flexible" ---- */
.flexible-dates-box {
    background: linear-gradient(135deg, #3276d8 0%, #244a8a 100%);
    border-radius: var(--mt-radius-sm);
    box-shadow: 0 6px 18px rgba(50, 118, 216, .25);
    padding: 16px 18px;
    margin-top: 16px;
}

.flexible-dates-box .form-check-input { cursor: pointer; }

.flexible-dates-box__label {
    color: #fff;
    cursor: pointer;
}

.flexible-dates-box__icon { color: #ffd24d; margin-right: 6px; }

.flexible-dates-box__text { font-size: 1.02em; }

.flexible-dates-box__hint {
    color: rgba(255, 255, 255, .9);
    font-size: .85em;
    margin-left: 2.5em;
}

/* ---- CTA final ---- */
.cta-final {
    background: linear-gradient(135deg, #3276d8 0%, #16213e 100%);
    border: none;
    border-radius: var(--mt-radius);
    box-shadow: 0 8px 26px rgba(50, 118, 216, .3);
    padding: 26px 22px;
}

.btn-submit-custom {
    border: none;
    border-radius: var(--mt-radius-sm);
    font-weight: 800;
    font-size: 17px;
    padding: 15px 18px;
    color: var(--mt-accent-dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}

.cta-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    color: #fff;
    font-size: 13px;
}

.cta-info p { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }

.cta-info i { color: #ffd24d; }

.alert-success-custom { border-radius: var(--mt-radius-sm); }

/* ============================================================
   Sidebar de beneficios (desktop)
   ============================================================ */
.benefits-card__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--mt-ink);
    margin: 0 0 18px;
    line-height: 1.3;
}

.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f7;
}

.benefits-list li:first-child { padding-top: 0; }
.benefits-list li:last-child { border-bottom: none; padding-bottom: 0; }

.benefits-list li > i {
    font-size: 17px;
    color: var(--mt-accent);
    background: rgba(50, 118, 216, .1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 14.5px;
    color: var(--mt-ink);
    margin-bottom: 2px;
}

.benefits-list span {
    font-size: 13px;
    color: var(--mt-muted);
    line-height: 1.45;
}

.benefits-trust {
    margin-top: 20px;
    padding: 14px;
    background: #eef7f1;
    border: 1px solid #d4ecdd;
    border-radius: var(--mt-radius-sm);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--mt-success);
}

.benefits-trust i { margin-right: 4px; }

/* ============================================================
   Desktop
   ============================================================ */
@media (min-width: 992px) {
    .make-travel-layout {
        max-width: 1140px;
        margin: 0 auto 3rem !important;
    }

    .make-travel-form-col { gap: 24px; }
    .modern-travel-form { gap: 24px; }

    .form-section { padding: 30px; }

    .section-header h2 { font-size: 18px !important; }

    .benefits-card {
        position: sticky;
        top: 24px;
        background: #fff;
        border: 1px solid var(--mt-border);
        border-radius: var(--mt-radius);
        box-shadow: 0 6px 24px rgba(22, 33, 62, .08);
        padding: 26px;
    }
}
