/* Cotizar (12/11/2026): pestañas, pasos y bandas según la propuesta del diseñador. */

.quote-page {
    background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%);
}

.quote-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #dbe9ff;
    color: #1559d6;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.quote-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
}

.quote-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #344054;
}

.quote-points i {
    color: #1f6feb;
    font-size: 1.1rem;
}

.quote-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
    padding: 24px;
}

@media (min-width: 768px) {
    .quote-card {
        padding: 32px;
    }
}

.quote-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.quote-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: #f2f4f7;
}

.quote-tab {
    margin: 0;
    cursor: pointer;
}

.quote-tab input,
.quote-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quote-tab span {
    display: block;
    padding: 10px 6px;
    border-radius: 9px;
    text-align: center;
    font-weight: 600;
    color: #344054;
    transition: background-color .15s ease, color .15s ease;
}

.quote-tab input:checked + span,
.quote-tab.is-active span {
    background: #1f6feb;
    color: #fff;
}

.quote-tab input:focus-visible + span,
.quote-mode input:focus-visible + span {
    outline: 2px solid #1f6feb;
    outline-offset: 2px;
}

.quote-step {
    margin-top: 28px;
    padding-top: 4px;
}

.quote-step + .quote-step {
    border-top: 1px solid #eaecf0;
    padding-top: 24px;
}

.quote-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 700;
}

.quote-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dbe9ff;
    color: #1559d6;
    font-size: 0.9rem;
}

.quote-page .required::after {
    content: " *";
    color: #dc3545;
}

.quote-unit-field {
    position: relative;
}

.quote-unit-field .form-control {
    padding-right: 40px;
}

.quote-unit {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #98a2b3;
    font-size: 0.85rem;
    pointer-events: none;
}

.quote-page .input-group > .form-select {
    flex: 0 0 auto;
    width: 44%;
}

.quote-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quote-mode {
    margin: 0;
    cursor: pointer;
}

.quote-mode span {
    display: block;
    padding: 12px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.quote-mode input:checked + span {
    border-color: #1f6feb;
    background: #eef5ff;
    color: #1559d6;
}

.quote-privacy {
    color: #667085;
    font-size: 0.85rem;
}

.quote-submit {
    margin-top: 24px;
}

.quote-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #f2f7ff;
}

.quote-band-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #dbe9ff;
    color: #1f6feb;
    font-size: 1.5rem;
}

.quote-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #12b76a;
    color: #fff;
    font-size: 2rem;
}

.quote-summary {
    padding: 16px 20px;
    border-radius: 12px;
    background: #f2f7ff;
}

.quote-summary-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1559d6;
}

.quote-summary-route {
    margin: 4px 0;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .quote-tab span {
        padding: 10px 2px;
        font-size: 0.85rem;
    }

    .quote-modes {
        grid-template-columns: 1fr;
    }

    .quote-band .btn {
        width: 100%;
    }
}

/* Largo y ancho fijos de un palé estándar (tipo de palé, quote-form.js). */
.quote-page .quote-unit-field input[readonly] {
    background-color: #f2f4f7;
    color: #475467;
}

/* «Crear mi cuenta» en la confirmación (12/11/2026). */
.quote-account-cta {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #d6e4ff;
    border-radius: 14px;
    background: #f5f9ff;
}

.quote-account-cta-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-primary, #0d6efd);
    font-size: 1.3rem;
    box-shadow: 0 0 0 1px #d6e4ff;
}

@media (max-width: 575.98px) {
    .quote-account-cta {
        flex-direction: column;
    }
}
