/* Simulador Turpial by Soult - Estilos frontend */

.stbs-simulador {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.stbs-form {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stbs-seccion {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0eae5;
}

.stbs-seccion:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.stbs-seccion-titulo {
    color: #6d2e5a;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.stbs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.stbs-field {
    margin-bottom: 15px;
}

.stbs-field-full {
    grid-column: 1 / -1;
}

.stbs-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.stbs-field input[type="text"],
.stbs-field input[type="tel"],
.stbs-field input[type="email"],
.stbs-field input[type="number"],
.stbs-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0d9d3;
    border-radius: 30px;
    background: #faf7f5;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.stbs-field input:focus,
.stbs-field select:focus {
    border-color: #6d2e5a;
    background: #fff;
}

.stbs-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.stbs-radios {
    display: flex;
    gap: 10px;
}

.stbs-radio {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.stbs-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.stbs-radio span {
    display: block;
    padding: 8px 14px;
    background: #faf7f5;
    border: 1px solid #e0d9d3;
    border-radius: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}

.stbs-radios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 280px;
}

.stbs-radio input[type="radio"]:checked + span {
    background: #6d2e5a;
    color: #fff;
    border-color: #6d2e5a;
}

.stbs-conditional {
    animation: stbs-fadeIn 0.3s ease;
}

@keyframes stbs-fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.stbs-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.stbs-btn-primary {
    background: #6d2e5a;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}

.stbs-btn-primary:hover {
    background: #4d1f3f;
}

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

.stbs-disclaimer {
    margin-top: 20px;
    padding: 15px;
    font-size: 11px;
    color: #888;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    background: #faf7f5;
    border-radius: 10px;
}

/* Resultado */
.stbs-resultado {
    margin-top: 30px;
}

.stbs-resultado-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-left: 6px solid #6d2e5a;
}

.stbs-escenario-turpial {
    border-left-color: #d4a017;
}

.stbs-escenario-colibri {
    border-left-color: #6d2e5a;
}

.stbs-escenario-asesoria {
    border-left-color: #2d7a4f;
}

.stbs-resultado-header {
    margin-bottom: 30px;
}

.stbs-resultado-titulo {
    color: #6d2e5a;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.stbs-resultado-mensaje {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.stbs-resultado-datos h4 {
    color: #6d2e5a;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 15px 0;
}

.stbs-datos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #faf7f5;
    padding: 20px;
    border-radius: 12px;
}

.stbs-dato {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stbs-dato-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
}

.stbs-dato-valor {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

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

.stbs-aportes li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0eae5;
    font-size: 14px;
    color: #444;
}

.stbs-aportes li span {
    color: #666;
}

.stbs-aportes li strong {
    color: #333;
    font-weight: 700;
}

.stbs-aportes-total {
    background: #faf7f5;
    padding: 12px 15px !important;
    margin-top: 8px;
    border-radius: 8px;
    border-bottom: none !important;
}

.stbs-aportes-total span,
.stbs-aportes-total strong {
    color: #6d2e5a !important;
    font-size: 16px !important;
}

.stbs-alerta {
    background: #fff8e6;
    border-left: 4px solid #d4a017;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.stbs-alerta p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.stbs-resultado-cta {
    text-align: center;
    margin-top: 30px;
}

.stbs-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s;
}

.stbs-btn-whatsapp:hover {
    background: #1da851;
    color: #fff !important;
}

.stbs-btn-whatsapp svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .stbs-form,
    .stbs-resultado-card {
        padding: 25px 20px;
    }

    .stbs-grid,
    .stbs-datos-grid {
        grid-template-columns: 1fr;
    }

    .stbs-resultado-titulo {
        font-size: 20px;
    }

    .stbs-radios {
        flex-direction: column;
    }
}
