* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.main-header{
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0; 
    padding: 0 0px;
    position: sticky; 
    top: 0;           
    z-index: 1000;   
}

.header-container {
    width: 100%;
    max-width: 1200px;
    height: 75px;
    padding: 0 20px;
    display: flex;
    align-items: center;
}


.Logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none; 
}

.Logo img {
    width: 90px;  
    height: auto; 
    display: block;
}

.nombre-logo {
    font-family: 'Kurale', serif;   
    font-size: 40px;
    font-weight: normal;
    color: #000000;
}

.contenedor-crear {
    margin: 0 auto;
    max-width: 100%; 
    padding: 71px 291px;

    display: flex;
    flex-direction: column;
    gap: 20px; 
    align-items: center;

}


h1{
    margin-top: 0;
    margin-bottom: 0;
    color: #0A0A0A;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.9px;
}

.subtitulo {
    color: #4A5565;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.filas {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 860px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #4d4d4d;
}

.grupo-filas {
    flex: 1;
    display: flex;
    flex-direction: column;

}

.grupo-filas label {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4d4d4d;
    text-align: left;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 2px solid #d9d9d9;
    background-color: #ffffff;
    font-size: 16px;
    color: #111111;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: #000000;
}

label[for="nombre"]::after,
label[for="apellidos"]::after,
label[for="correo"]::after,
label[for="contrasena"]::after {
    content: " *";
    color: #ef4444;
}

.boton-crear {
    width: 100%;
    max-width: 560px;
    padding: 16px 0;
    border: 2px solid #000000;
    border-radius: 30px;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 0 0 0;
}

.boton-crear:hover {
    background-color: #ffffff;
    color: #000000;

}

.registro{
    display: block;
    text-align: center;
    font-size: 14px;
    color: #5a5a5a;
    font-family: 'Inter', sans-serif;
}


.link-inicio{
    color: #5a5a5a;
    font-weight: bold;
    text-decoration: none;
    cursor:pointer;
}






/* ESTILOS DEL FOOTER */
footer {
    background: #1a1a1a; /* Negro casi total */
    color: white;        /* Letras blancas */
    margin-top: 200px;
    padding: 50px 5% 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Este bloque crea las 4 columnas de información */
.footer-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Crea 4 columnas iguales */
    gap: 30px;
}

/* Estilos para los títulos (h4) y las listas de enlaces */
.footer-col h4 {
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.footer-col p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.footer-col ul {
    list-style: none; /* Quita los puntitos de las listas */
    font-family: 'Inter', sans-serif;
}

.footer-col a {
    color: #999;       /* Los links se ven grises por defecto */
    text-decoration: none;
}

/* Efecto para que los links brillen al pasar el mouse */
.footer-col a:hover {
    color: white;
}

/* La línea delgada al final con el texto de derechos de autor */
.copyright {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-family: 'Inter', sans-serif;
}

/* ///////////////////////////RESPONSIVE////////////////////////////// */
@media (max-width: 768px) {

    /* HEADER */
    .header-container {
        justify-content: center;
        padding: 0 10px;
    }

  
    .contenedor-crear {
        padding: 50px 20px; 
    }

  
    .filas {
        flex-direction: column;
        gap: 15px;
    }

  
    .grupo-filas {
        width: 100%;
        padding: 0; 
    }

    /* INPUTS */
    .input-field {
        width: 100%;
    }

    /* BOTÓN */
    .boton-crear {
        width: 100%;
        max-width: 560px; 
        margin: 0 auto;
        display: block;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
    }
}
