/*ajustes globales*/
* {
    box-sizing: border-box;
}

html{
    font-size: 20px;
    overflow-x: clip;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: "Inter", Sans-Serif;
    font-weight: 700;
    background-color: #EEEEEE;
    font-size: 1rem;
    overflow-x: clip;
    max-width: 100%;
}

a{
    text-decoration: none;
    color: black;
    -webkit-tap-highlight-color: transparent;
}

#inscripcion {
    width: 90%;
    max-width: 1400px;

    margin: 0 auto;
}

#aviso_movil {
    display: none;
}


/*navbar*/
#navBar {
    background-color: black;
    width: 100%;
    height: 100px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 15px 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
#navBar img{
    height: 50px;
    width: 50px;
    justify-self: start;
}
#navBar ul {
    list-style: none;
    padding: 3px 3px;
}

#navBar li {
    border-radius: 20px;
    border: 1px solid rgb(0, 0, 0);
    padding: 10px 15px;
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#navBar li:hover{
    border: 1px solid #E2FF9E;
    background-color: rgb(220, 220, 220);
}

#navBar a li.activo {
    background-color: black;
    border: 1px solid #E2FF9E;
    color: white; 
}

#navBar a {
    color: black;
    text-decoration: none;
}

#btn_container {
    justify-self:center;
    display:flex;
    gap:10px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 22px;
}

#btn_hamburguesa {
    display: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

#btn_inscripcion_container {
    justify-self: end;
}

#btn_inscripcion_container li {
    background-color: #B2EA03;
    border: 1px solid #B2EA03;
}

#btn_inscripcion_container li:hover {
    background-color: #9ccf03;
}

#btn_inscripcion_container a {
    color: black;
}


/*banner horizontal*/
#inscripcion_banner {
    width: 100%;
    margin-top: 30px;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}


/*nota importante*/
#nota_inscripcion {
    width: 100%;
    margin: 40px auto 20px;
    padding: 6px;
    background-color: #FFFFFF;
    border-radius: 20px;
    text-align: center;
}

#nota_inscripcion h3 {
    margin: 0;
    color: #FD4001;
    font-size: 2rem;
}


/*dash*/
#dash_nota {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.card_nota {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card_nota:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.card_nota p {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
}


/*contenido del dash*/
.nota_inscripcion_content {
    width: 100%;
    min-width: 0;
}

.nota_inscripcion_content ul {
    margin: 0;
    list-style-image: url(/src/circle-arrow-right.png);
    padding-left: 20px;
}

.nota_inscripcion_content li {
    margin-bottom: 7px;

    font-size: 0.75rem;
}

.nota_inscripcion_content li:last-child {
    margin-bottom: 0;
}


/*fomrulario como tal*/
#formulario_inscripcion {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 2fr);
    gap: 20px;
    align-items: stretch;
}


/*banner horizontal*/
#formulario_banner {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    overflow: hidden;
    border-radius: 10px;
}

#formulario_banner img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/*contenido del formulario*/
#formulario_contenido {
    width: 100%;
    min-width: 0;
    align-self: start;
}

#form_inscripcion {
    width: 100%;
    min-width: 0;
}

.form_card {
    width: 100%;
    min-width: 0;
    padding: 20px;
    margin: 0 0 20px 0;
    background-color: #FFFFFF;
    border-radius: 10px;
}

.form_card:last-child {
    margin-bottom: 0;
}

.form_title {
    width: 100%;
    padding: 8px 12px;
    background-color: #FD4001;
    border-radius: 20px;
    text-align: center;
}

.form_title h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
}


/*datos generales*/
.datos_generales {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 15px;
    margin-top: 20px;
}


/*campos*/
.form_campo {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form_campo label {
    font-size: 0.7rem;
    font-weight: 500;
}

.form_campo input,
.form_campo select {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #C8C8C8;
    border-radius: 6px;
    outline: none;
    background-color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
}

.form_campo input:focus,
.form_campo select:focus {
    border-color: #FD4001;
}


/*comprobante*/
.comprobante {
    margin-top: 18px;
}

.comprobante_box {
    width: 100%;
    height: 100px;
    border: 1px dashed #AAAAAA;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.comprobante_box:hover {
    background-color: #F8F8F8;
}

.comprobante_icon {
    width: 22px;
    height: 22px;
    margin-bottom: 5px;
    border-radius: 50%;
    background-color: #1769FF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.comprobante_box strong {
    font-size: 0.7rem;
}

.comprobante_box small {
    font-size: 0.6rem;
}

#comprobante {
    display: none;
}

.comprobante_box.seleccionado {
    border: 1px solid #A6ED00;
    background-color: #F4FFDE;
}

.comprobante_box.seleccionado .comprobante_icon {
    background-color: #4CAF50;
}

.archivo_seleccionado.seleccionado {
    color: #2E7D32;
    font-weight: 700;
    font-size: 0.75rem;
}

/*jugadores*/
#jugadores {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.jugador {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(0, 1fr)
        minmax(0, 0.55fr);
    gap: 12px;
}


/*jugadores opcionales*/
.opcional span {
    color: #999999;

    font-weight: 400;
}


/*reglamento*/
.reglamento {
    width: 100%;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #DDDDDD;
    text-align: center;
}

.reglamento p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;
}

.reglamento a {
    color: #005BBB;
    font-weight: 700;
    text-decoration: underline;
}


/*botón de enviar*/
.btn_registrar {
    display: block;
    width: 200px;
    height: 38px;
    margin: 20px auto 0;
    border: none;
    border-radius: 20px;
    background-color: #A6ED00;
    color: #111111;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn_registrar:hover {
    transform: scale(1.03);
}


/*footer*/
#footer{
    background-color: #CACBCD;
    margin-top: 40px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    font-size: .8rem;
}
#footer p{
    text-align: center;
}


.archivo_seleccionado {
    margin-top: 8px;
    color: #AAAAAA;
    font-size: 0.6rem;
    transition: color 0.2s ease, font-weight 0.2s ease;
}
 
.comprobante_box.seleccionado {
    border: 1px solid #A6ED00;
    background-color: #F4FFDE;
}
 
.comprobante_box.seleccionado .comprobante_icon {
    background-color: #4CAF50;
}
 
.archivo_seleccionado.seleccionado {
    color: #2E7D32;
    font-weight: 700;
    font-size: 0.75rem;
}


/*Teléfono*/
@media (max-width: 800px) {

    html {
        font-size: 17px;
    }

    #aviso_movil {
        display: none;
    }

    #inscripcion {
        width: 92%;
    }

    #navBar {
        height: 70px;
        padding: 10px 20px;
        grid-template-columns: auto 1fr;
    }

    #navBar img {
        height: 40px;
        width: 40px;
    }

    #btn_container {
        display: none;
    }

    #btn_inscripcion_container {
        justify-self: end;
    }

    #navBar ul {
        margin: 0;
    }

    #inscripcion_banner {
        margin-top: 20px;
    }

    #nota_inscripcion h3 {
        font-size: 1.4rem;
    }

    #dash_nota {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .nota_inscripcion_content li {
        font-size: 0.85rem;
    }

    #formulario_inscripcion {
        grid-template-columns: minmax(0, 1fr);
    }

    #formulario_banner {
        height: 160px;
    }

    .form_card {
        padding: 15px;
    }

    .form_title h3 {
        font-size: 1rem;
    }

    .datos_generales {
        grid-template-columns: minmax(0, 1fr);
    }

    .jugador {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid #EEEEEE;
    }

    .jugador:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .form_campo label {
        font-size: 0.85rem;
    }

    .form_campo input,
    .form_campo select {
        height: 44px;
        font-size: 1rem;
    }

    .comprobante_box strong {
        font-size: 0.85rem;
    }

    .comprobante_box small {
        font-size: 0.75rem;
    }

    .reglamento p {
        font-size: 0.85rem;
    }

    .btn_registrar {
        width: 100%;
        height: 46px;
        font-size: 0.9rem;
    }

    #footer {
        padding: 25px 20px;
    }
}