body {
    width: 100%;
    margin: 0;
    padding: 0;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

header {
    width: 100%;
    margin: 0 auto;
    background-color: #F7941F;
}

h1 {
    margin: 0 auto;
    padding: 10px;
    color: white;
    text-align: center;
}

a {
    color: #F8963D;
    text-decoration: none;
}

form, .form {
    max-width: 760px;
    width: 95%;
    margin: 20px auto;
    padding: 10px 0px 10px 0px;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;

    display: block;
    outline: none;
}

section { margin: 15px; }

h2 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    color: #F8963D;
}

label {
    margin-top: 0px;
    color: #F8963D;
}

input,
select,
textarea {
    width: 100%;
    height: 30px;
    margin-bottom: 20px;

    border: 1px solid #CCC;
    background: #FFF;
    box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    -webkit-box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    -moz-box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;

}

textarea {
    height: 60px;
}

input[type=submit], input[type=button], .button {
    width: 100%;
    min-height: 40px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;

    border: none;
    background-color: #F7941F;
    color: #FFF;
    font-size: 20px;

    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
}

input[type=radio] {
    width: 15px;
    height: 15px;
}

/* --- Género (sexo): radios modernos --- */
.form-sexo {
    display: block;
    margin-bottom: 1rem;
}
.form-sexo > span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}
.form-sexo input[type=radio] {
    width: 20px;
    height: 20px;
    margin: 0 0.4rem 0 0;
    vertical-align: middle;
    accent-color: #F7941F;
    cursor: pointer;
}
.form-sexo input[type=radio]:focus {
    outline: 2px solid #F7941F;
    outline-offset: 2px;
}
.form-sexo label:not([for="sexo"]) {
    margin: 0;
    cursor: pointer;
    font-size: 1rem;
    color: #374151;
    vertical-align: middle;
}
.form-sexo br {
    display: block;
    margin: 0.25rem 0;
}

/* --- Carreras: checkboxes modernos (versión multi-categoría) --- */
.carreras-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.carrera-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.carrera-checkbox-item:hover {
    border-color: #F7941F;
    background-color: rgba(247, 148, 31, 0.04);
}
.carrera-checkbox-item:has(input:checked) {
    border-color: #F7941F;
    background-color: rgba(247, 148, 31, 0.08);
    box-shadow: 0 0 0 1px #F7941F;
}
.carrera-checkbox-item input[type=checkbox] {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #F7941F;
    cursor: pointer;
    flex-shrink: 0;
}
.carrera-checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 1rem;
    color: #374151;
    flex: 1;
}
.carrera-checkbox-item input[type=checkbox]:focus {
    outline: 2px solid #F7941F;
    outline-offset: 2px;
}
.carrera-checkbox-item input:disabled + label,
.carrera-checkbox-item:has(input:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.mensaje-datos-faltantes {
    margin: 0.5rem 0 0.75rem 0;
    padding: 0.6rem 0.75rem;
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    color: #92400e;
    font-size: 0.95rem;
}

:-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color:#888;
}

.sponsors  {
    display: flex;
    place-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: white;
    padding: 10px;
}

.sponsors img {
    width: 100px;
    margin-left: 15px;
    margin-right: 15px;
}

footer {
    width: 100%;
    height: 30px;
    margin: 15px auto 0 auto;
    padding-top: 5px;
    background-color: #F7941F;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 auto;
    font-size: 12px;
}

.firma {
    vertical-align: top;
    font-size: 20px;
}

.obligatorios, .label_observacion {
    font-size: small;
    color: grey;
}

#mensajes {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 60%;
    padding: 10px;
}

.cerrar {
    cursor: pointer;
    float: right;
    padding-left: 15px;
}

.etapa_participante { display: none; }

.precio, .form-transferencia {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 0.8rem;
    background-color: #fff;
    border: orange 1px solid;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.form-transferencia .form-group {
    padding: 20px 30px;
}

.precio-logo, .precio-amount {
    width: 150px;
    padding: 0 20px;
    text-align: center;
}

.precio-amount {
    width: 250px;
}

.precio-amount-text {
    font-size: large;
    font-weight: bold;
}

.precio-logo img {
    max-width: 100px;
}

.precio-content {
    width: 70%;
}

.precio-message {
    color: #718096;
    font-size: 1rem;
    line-height: 1.5;
}

.form-transferencia {
    flex-direction: column !important;
    align-items: stretch !important;
}
