.logo {
    max-width: 15%;
    margin-bottom: 2%;
}

.form-group.container-lg {
    width: 91%;
    max-width: 500px;
    padding: 0px;
    margin: 0 auto;
    border: 1px solid #00000014;
    background: #ffffffab;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.8px);
    -webkit-backdrop-filter: blur(10.8px);
}

.form-group {
    margin-bottom: 1rem;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

form#congresoForm {
    padding: 20px 30px 0px 30px;
    width: 100%;
}

label.form-label {
    font-size: 14px;
    text-transform: lowercase;
    font-family: 'Poppins';
    font-weight: 400;
    width: 100%;
    text-align: center;
}

label.form-label::first-letter {
    text-transform: uppercase !important;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

button.btn.btn-primary.btn-lg {
    width: 98%;
    margin-left: 3.5px;
    margin-top: 10px;
    background: #ff9d1a;
    border: none;
    font-family: 'Poppins';
    font-weight: 600;
    color: white;
}

button.btn.btn-primary.btn-lg:hover {
    background: #6EC1E4;
}

button.btn.btn-primary.btn-lg:focus {
    background: #6EC1E4;
}

form#congresoForm input {
    text-transform: lowercase;
    background: white !important;
    border: 1px solid #66666657 !important;
    font-size: 13px;
    height: 35px;
    border-radius: 6px;
    text-align: center;
}

form#congresoForm input::first-letter {
    text-transform: uppercase;
}

.elementor-shortcode {
    display: flex;
    justify-content: center;
}

.col-6 {
    flex: 0 0 auto;
    width: 50% !important;
    margin-top: 5px;
}

.col-12 {
    margin-top: 5px;
}

/* Colegio y comuna: respetar el Title Case que asigna el JS */
input#colegio,
input#comuna {
    text-transform: none !important;
}

select#cargo {
    font-size: 13px;
    height: 35px;
    border-radius: 6px;
    text-align: center;
}

form#congresoForm input::placeholder {
    color: #c4c4c4 !important;
    text-transform: lowercase;
    font-size: 13px;
    text-align: center;
}

form#congresoForm input::placeholder::first-letter {
    text-transform: uppercase !important;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, #ff9d1a 94%, transparent) top/8px 8px no-repeat,
        conic-gradient(transparent 30%, #ff9d1a);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0);
    animation: l13 1s infinite linear;
}

@keyframes l13 {
    100% { transform: rotate(1turn); }
}

#loaderOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.vuelve-escribir-rbd {
    font-size: 13px;
    color: #e00;
    margin-top: 4px;
    text-align: center;
}

.asterisco-rojo {
    color: red;
}

/* ── Dropdown de intereses (v2.4) ───────────────────────────── */
.congreso-intereses-dropdown {
    border: 1px solid #66666657;
    background: white;
    border-radius: 6px;
    font-size: 13px;
}
.congreso-intereses-summary {
    cursor: pointer;
    padding: 8px 12px;
    list-style: none;
    user-select: none;
    color: #555;
}
.congreso-intereses-summary::-webkit-details-marker { display: none; }
.congreso-intereses-summary::after {
    content: "▾";
    float: right;
    color: #888;
    transition: transform 0.2s;
}
.congreso-intereses-dropdown[open] .congreso-intereses-summary::after { transform: rotate(180deg); }
.congreso-intereses-opciones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 10px 12px;
    border-top: 1px solid #eee;
}
.congreso-intereses-opciones label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    cursor: pointer;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 13px;
    margin: 0;
    text-align: left;
    line-height: 1.3;
    width: 100%;
}
.congreso-intereses-opciones input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: none !important;
    border: 1px solid #888 !important;
    border-radius: 3px !important;
    background: white !important;
    display: inline-block !important;
}

textarea.form-control.congreso-comentario {
    background: white !important;
    border: 1px solid #66666657 !important;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Poppins';
    padding: 8px 12px;
    resize: vertical;
    min-height: 70px;
    text-transform: none;
}
textarea.form-control.congreso-comentario::placeholder {
    color: #c4c4c4;
    font-size: 13px;
}
