.elementor-1021 .elementor-element.elementor-element-1a9ef38{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:20px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-1021 .elementor-element.elementor-element-6b629b9{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1021 .elementor-element.elementor-element-9d6d1a6 .elementor-heading-title{font-family:"Nunito", Sans-serif;font-size:52px;font-weight:700;line-height:56px;letter-spacing:-1px;color:#35404E;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1021 .elementor-element.elementor-element-d71fe25 > .elementor-widget-container{margin:0px 0px -30px 0px;}.elementor-1021 .elementor-element.elementor-element-d71fe25{font-family:"Nunito", Sans-serif;font-weight:400;color:#343A40;}.elementor-1021 .elementor-element.elementor-element-4aeed67{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for heading, class: .elementor-element-9d6d1a6 */.typed-text{
    color: #9F1B32;
    font-size: 40px;
}
.typed-cursor {
  opacity: 1;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-01cdd4d *//* Estilos generales */
#creditScoreSimulator {
    max-width: 1000px;
    margin: auto;
    padding: 0;
    background-color: transparent;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
}

/* Contenedor principal - formato flexible */
.simulator-container {
    display: flex;
    gap: 50px;
    margin-bottom: 20px;
}

/* Estilos para columnas */
.form-column {
    flex: 1;
    order: 2;
}

.score-column {
    flex: 1;
    order: 1;
}

/* Estilos para títulos */
h3 {
    color: #35404E;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Estilos para campos de formulario */
.form-group {
    margin-bottom: 0px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #35404E;
}

input[type="number"],
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    box-sizing: border-box;
}

.error-input {
    border-color: #CD2027;
    background-color: #fff8f8;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
    padding-right: 30px;
}

button {
    background-color: #159B48;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 15px;
    font-family: 'Nunito', sans-serif;
}

button:hover {
    background-color: #0d7e38;
}

/* Estilos para mensajes de error */
.error-message {
    color: #CD2027;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

/* Estilos para la sección de puntaje */
.score-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 30px;
}

.score-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-range-container {
    display: flex;
    align-items: center;
    height: 200px;
    margin: 15px 0;
}

/* Estilos para el input range vertical */
input[type="range"][orient="vertical"] {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 10px;
    height: 200px;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
}

.range-values {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
    margin-left: 8px;
}

.max-value, .min-value {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.score-info {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: #35404E;
}

/* Estilos para el medidor circular */
.score-circle-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.circle-bg {
    fill: none;
    stroke: #eaeaea;
    stroke-width: 20;
}

.circle-progress {
    fill: none;
    stroke-width: 20;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dasharray 0.5s ease, stroke 0.5s ease;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 38px;
    font-weight: bold;
    color: #35404E;
}

/* Estilos para la tarjeta de puntaje */
.score-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-header h3 {
    margin: 0;
    color: #35404E;
    font-size: 22px;
}

.card-rating {
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #CD2027; /* Color por defecto - rojo */
}

.card-content {
    line-height: 1.6;
}

.card-content p {
    margin: 10px 0;
    color: #555;
}

/* Estilos para diferentes calificaciones */
.rating-AAA {
    border-left: 5px solid #159B48;
}

.rating-AAA .card-rating {
    background-color: #159B48;
}

.rating-AA {
    border-left: 5px solid #98CA3C;
}

.rating-AA .card-rating {
    background-color: #98CA3C;
}

.rating-A {
    border-left: 5px solid #FECD08;
}

.rating-A .card-rating {
    background-color: #FECD08;
    color: #35404E; /* Texto oscuro para contraste */
}

.rating-B {
    border-left: 5px solid #F58020;
}

.rating-B .card-rating {
    background-color: #F58020;
}

.rating-C {
    border-left: 5px solid #CD2027;
}

.rating-C .card-rating {
    background-color: #CD2027;
}

/* Estilos para opciones de porcentaje */
.percentage-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 4px;
}

.radio-option input[type="radio"]:disabled + label {
    color: #999;
    cursor: not-allowed;
}

.percentage-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Estilos para resultados */
.result-box {
    background-color: #f8f8f8;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    line-height: 1.5;
}

#creditApprovalStatus {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
}

.approval-approved {
    background-color: #e0f3e9;
    color: #159B48;
    border: 1px solid #159B48;
}

.approval-rejected {
    background-color: #fce8e8;
    color: #CD2027;
    border: 1px solid #CD2027;
}

#ineligibleMessage {
    background-color: #fce8e8;
    border-left: 4px solid #CD2027;
    padding: 15px;
    margin-top: 15px;
    color: #444;
    border-radius: 6px;
}

/* Responsive para móvil */
@media screen and (max-width: 767px) {
    .simulator-container {
        flex-direction: column;
    }
    
    .form-column {
        order: 2;
    }
    
    .score-column {
        order: 1;
    }
    
    .score-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .score-circle {
        width: 180px;
        height: 180px;
    }
    
    .score-value {
        font-size: 32px;
    }
    
    .score-slider {
        width: 100%;
        order: 2; /* Posicionar después del círculo */
        margin-top: 15px;
    }
    
    .vertical-range-container {
        height: auto;
        width: 100%;
        margin: 10px 0;
        flex-direction: column;
    }
    
    input[type="range"][orient="vertical"] {
        -webkit-appearance: slider-horizontal; /* Cambiar a horizontal */
        writing-mode: horizontal-tb; /* Cambiar a horizontal */
        width: 90%;
        height: 10px;
        margin: 10px auto;
    }
    
    .range-values {
        height: auto;
        width: 90%;
        margin: 0 auto;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .max-value, .min-value {
        margin-top: 5px;
    }
    
    .percentage-options {
        flex-direction: column;
        gap: 5px;
    }
}/* End custom CSS */