:root {
    --input-padding-x: 1.5rem;
    --input-padding-y: 0.75rem;
    --client-primary-color: #0066ff;
    --client-send-color: gray;
    --client-notpublish-color: #d3d3d3;
    --client-social-color: var(--client-primary-color);
    
}

body {
    font-family: 'Nunito', sans-serif;
}

.container-fluid {
    padding: 0px;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

.mauticform_wrapper {
    max-width: 700px!important;
    margin: 10px auto;
}

.mauticform-field-hidden {
    display: none;
}

.form-label-group>input,
.form-label-group>label,
.form-label-group>select {
    padding: var(--input-padding-y) var(--input-padding-x);
    height: auto;
    border-radius: .5rem;
}

.form-label-group>label {
    margin-bottom: .125rem; 
    font-size: 1.25rem;
    font-weight: 100;
    font-weight: 800;
    color: #515151;
    transition: all .1s ease-in-out;		
}

.form-label-group input::-webkit-input-placeholder {
    color: rgba(0,0,0,.35);
}

.form-label-group input:-ms-input-placeholder {
    color: rgba(0,0,0,.35);
}

.form-label-group input::-ms-input-placeholder {
    color: rgba(0,0,0,.35);
}

.form-label-group input::-moz-placeholder {
    color: rgba(0,0,0,.35);
}

.form-label-group input::placeholder {
    color: rgba(0,0,0,.35);
}
.custom-checkbox {
    display: inline-block;
    padding: .5rem;
    margin-bottom: 1rem;
}

.banner {
    max-width: 100%;
    margin: 0px;
    padding: 0px;
}

.mauticform-radiogrp {
    align-content: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}

.mauticform-radiogrp-row {
    display: flex;
    justify-content: left;
}

.mauticform-row {
    display: flex;
    flex-direction: row;
    background-color: whitesmoke;
    padding: 1rem;
    border-radius: .5rem;
    color: black;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.mauticform-radiogrp-label {
    margin: 1%;
}

.mauticform-checkboxgrp-label {
    margin: 1%;;
}

.mauticform-input {
    grid-column: span 5;
}

.mauticform-selectbox {
    grid-column: span 5;
}

/* .mauticform-label {
    color: #005c2e;
} */

.mauticform-button {
    grid-column: span 5;
    grid-row: span 5;
    margin: 0px;
}

.mauticform-textarea {
    grid-column: span 5;
}


.image-cont img {
    width: 50%;
    height: auto;
}

.box-style {
    background-color: whitesmoke;
    transform: skew(-20deg);
    max-width: 200px; 
    margin: 0 auto !important;
}

.not-publish-div{
    text-align: center;
    background-color: var(--client-notpublish-color);
    border-radius: 175px;
    padding: 31px;
    margin-bottom: 35px;
}

.not-publish-label{
    color: whitesmoke;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.not-publish-logo{
    max-width: 100px;
}

.logo-div {
    border-bottom: 7px solid var(--client-primary-color);
}

.form-div { /* Creo que no se usa */
    margin-left: 10%;
    margin-right: 10%;
}

.legal{
    font-size: 11px;
    font-family: 'Varela Round',sans-serif;
    text-align: justify;
    padding: 3rem;
    color: whitesmoke;
    position: relative;
}

.legal-div{
    padding-bottom: 2rem;
    bottom: 0;
    background-color: var(--client-primary-color);
}


.legal-web{
    align-content: space-around;
}

@media (max-width: 768px) {
    .legal {
        padding: 1.5rem;
    }
}

.gracias-label{
    color: #0e4c80;
    margin-top: 1rem;
    padding: .6rem;
    transform: skew(20deg);
}

.web-label{
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.web-label:hover{
    color: #dbdada;
}


.social-btn {
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; 
    margin: 0 10px;
    transition: background-color 0.3s;
    background-color: var(--client-social-color);
  }

.social-btn:hover { /* color más oscuro al pasar el mouse */
    color: white;
    filter: brightness(0.85);
    transition: all 500ms;
}

.social-container {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.form-switch .form-check-input {
    margin-top: 9px;
}



/* Estilos para el botón de envío */
[name="mauticform[submit]"] {
    background-color: var(--client-send-color)!important;
    color: whitesmoke!important;
    height: 4rem;
    width: 100%;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem!important;
    font-weight: bold;
    cursor: pointer;
}

[name="mauticform[submit]"]:hover {
    box-shadow: 1px 0px 10px gray;
    color: whitesmoke;
    filter: brightness(0.9);
    transition: all 500ms;
}



/* ############################# */
/* Separador ejemplo ER Encuesta */
/* ############################# */
.form_separator_step {
    border-top: 3px solid #007bff;
    background-color: #eef5ff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.form_separator_step_submit {
    border-top: 3px solid #007bff;
    background-color: #eef5ff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.form_separator_step h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #004085;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form_separator_step_submit h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #004085;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form_separator_step p {
    font-size: 1rem;
    font-style: italic;
    color: #333;
    margin: 0;
}
.form_separator_step_submit p {
    font-size: 1rem;
    font-style: italic;
    color: #333;
    margin: 0;
}



/* ############################# */
/* Separador Formato 1 */
/* ############################# */
.form_separator {
    border-top: 3px solid var(--client-primary-color);
    /* background-color: rgba(0, 123, 255, 0.07);  */
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--client-primary-color) 10%, white) 0%,
        white 100%
    );
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.form_separator:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--client-primary-color) 25%, rgba(0, 0, 0, 0.192));
}

.form_separator h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--client-primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form_separator p {
    font-size: 1rem;
    font-style: italic;
    color: #333; /* puedes cambiar a otra variable si quieres personalizar el texto */
    margin: 0;
}



/* ############################# */
/* Separador Formato 2 */
/* ############################# */
.form_separator2 {
    border-left: 4px solid var(--client-primary-color);
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--client-primary-color) 10%, white) 0%,
        white 100%
    );
    border-radius: 12px;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--client-primary-color) 15%, #0000002c);
    padding: 22px 26px;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form_separator2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--client-primary-color) 25%, rgba(0, 0, 0, 0.192));
}

.form_separator2 h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--client-primary-color) 50%, black); /* más oscuro que el primary */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--client-primary-color);
    padding-bottom: 6px;
}



 /* Icon para los Headers */
.header-icon {
    position: absolute;
    top: 10px; /* se monta sobre la línea */
    left: 50%;
    transform: translateX(-50%);
    background: var(--client-primary-color);
    color: #fff;
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form_header_success {
    background-color: #e8f5e8;
    border-left: 4px solid #79b947;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 1rem;
    padding-bottom: 0.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.form_header_warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 1rem;
    padding-bottom: 0.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.form_header_info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 1rem;
    padding-bottom: 0.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-style: italic;
}



/* ############################# */
/* Separador Header  - Formato 1 */
/* ############################# */
.form_header {
    border-top: 6px solid var(--client-primary-color); /* 👉 ahora línea arriba */
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--client-primary-color) 15%, white) 0%,
        color-mix(in srgb, var(--client-primary-color) 5%, white) 50%,
        white 100%
    );
    border-radius: 16px;
    box-shadow: 
        0 6px 25px color-mix(in srgb, var(--client-primary-color) 20%, #0000000a),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 28px 22px;
    margin: 25px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.form_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
}

.form_header:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 12px 30px color-mix(in srgb, var(--client-primary-color) 30%, #00000042),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form_header:hover::before {
    left: 100%;
}

.form_header h3 {
    font-size: 1.1em;
    font-weight: 800;
    color: color-mix(in srgb, var(--client-primary-color) 70%, black);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.form_header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--client-primary-color),
        color-mix(in srgb, var(--client-primary-color) 70%, gold)
    );
    border-radius: 2px;
    transition: width 0.4s ease;
}

.form_header:hover h3::after {
    width: 100%;
}



/* ############################# */
/* Separador Header  - Formato 2 */
/* ############################# */
.form_header2 {
    border-top: 6px solid var(--client-primary-color); /* 👉 ahora línea arriba */
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--client-primary-color) 15%, white) 0%,
        color-mix(in srgb, var(--client-primary-color) 5%, white) 50%,
        white 100%
    );
    border-radius: 16px;
    box-shadow: 
        0 6px 25px color-mix(in srgb, var(--client-primary-color) 20%, #0000000a),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 50px 32px 28px; /* espacio para icono */
    margin: 25px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.form_header2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
}

.form_header2:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 12px 30px color-mix(in srgb, var(--client-primary-color) 30%, #00000042),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form_header:hover::before {
    left: 100%;
}

.form_header2 h3 {
    font-size: 1.5em;
    font-weight: 800;
    color: color-mix(in srgb, var(--client-primary-color) 70%, black);
    margin-bottom: 8px;
    margin-top: 8px; /* espacio después del icono */
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
}

.form_header2 p {
    font-size: 0.95em;
    font-weight: 500;
    color: var(--client-primary-color);
    margin: 0;
}



/* ############################# */
/* Separador Header  - Formato 3 */
/* ############################# */
/* ========================== */
/* Caja principal del Header  */
/* ========================== */
.form_header3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 6rem 2rem 0rem; /* más espacio arriba para el icono */
    margin: 40px 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (max-width: 768px) {
    .form_header3 {
        padding: 6rem 0.4rem 0rem;
    }
}


.form_header3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--client-primary-color) 0%,
        color-mix(in srgb, var(--client-primary-color) 80%, #799f4f) 50%,
        var(--client-primary-color) 100%
    );
    border-radius: 16px 16px 0 0;
}

.form_header3 .header-icon {
    position: absolute;
    top: 15px; /* sobresale hacia afuera */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--client-primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 26px;
}


.form_header3 h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 1.3rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}



/* ############################# */
/* Separador Header  - Formato 4 */
/* ############################# */
.form_header4 {
    background: linear-gradient(135deg, var(--client-primary-color) 0%, #3399ff 100%);
    border-radius: 16px;
    padding: 32px 36px;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form_header4:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.form_header4 h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.form_header4 h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 10px auto 0;
    border-radius: 2px;
}

.form_header4 p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.form_header4 em {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 8px;
}




.join_fields {
    margin-top: -40px;
}

 /* Estilos para el stepper */
.stepper-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 100px;
    margin-bottom: 10px;
    z-index: 2;
}

.step::before, .step::after {
    content: '';
    position: absolute;
    top: 15px;
    width: 50%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step::before {
    left: 0;
}

.step::after {
    right: 0;
}

.step:first-child::before,
.step:last-child::after {
    display: none;
}

.step.active::before, 
.step.completed::before,
.step.active::after,
.step.completed::after {
    background: #4CAF50;
}

.step-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 8px;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.step.active .step-number {
    background: #4CAF50;
    color: white;
}

.step.completed .step-number {
    background: #4CAF50;
    color: white;
}

.step.completed .step-number::after {
    content: '✓';
}

.step-title {
    font-size: 14px;
    color: #777;
    padding: 0 5px;
}

.step.active .step-title {
    color: #4CAF50;
    font-weight: bold;
}

.step.completed .step-title {
    color: #4CAF50;
}



/* ############################# */
/* Stars en encuesta */
/* ############################# */

.star-rating-wrapper {
    display: flex;
    align-items: center; /* Alinear verticalmente */
    gap: 15px; /* Espacio entre estrellas y texto */
    margin: 5px 0 0px 0px;
}

.stars-rating-container {
    display: flex;
    gap: 8px;
}

.rating-star {
    font-size: 32px;
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s;
}

.rating-star.active {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.rating-star.hover {
    color: #FFEC8B;
}

.rating-text {
    color: #666;
    font-style: italic;
    min-width: 80px; /* Ancho mínimo para evitar saltos */
    font-size: 14px;
}



#mapa {
    text-align: center;
    margin-top: 20px;
}

#mapa img {
    width: 100%;
}