*{
    margin: 0;
    padding: 0;
}

.modal{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.5);

    justify-content: center;
    align-items: center;
}

/* CONTENIDO */

.modal-content{
    background-color: white;

    width: 350px;

    padding: 20px;

    border-radius: 10px;

    position: relative;

    animation: aparecer 0.3s ease;
}

/* ANIMACION */

@keyframes aparecer{

    from{
        transform: scale(0.8);
        opacity: 0;
    }

    to{
        transform: scale(1);
        opacity: 1;
    }

}

/* BOTON CERRAR */

.close{
    position: absolute;
    right: 15px;
    top: 10px;

    font-size: 28px;

    cursor: pointer;

    font-weight: bold;
}

.close:hover{
    color: red;
}

/* FORMULARIO */

form{
    width: 100%;

    box-sizing: border-box;

    text-align: center;
}

/* TITULO */

form h2{
    margin-bottom: 20px;
    color: #B8832F;
}

/* LABELS */

form label{
    display: block;

    text-align: left;

    margin-bottom: 5px;

    font-size: 14px;

    color: #333;
}

/* INPUTS */

form input[type="text"],
form input[type="password"]{

    width: 100%;

    padding: 10px;

    margin-bottom: 15px;

    border: 1px solid #ccc;

    border-radius: 5px;

    outline: none;

    transition: 0.3s;

    box-sizing: border-box;
}

/* FOCUS */

form input:focus{

    border: 1px solid #B8832F;

    box-shadow: 0 0 5px #B8832F;
}

/* SUBMIT */

form input[type="submit"]{

    width: 100%;

    padding: 10px;

    background: #B8832F;

    color: white;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;
}

form input[type="submit"]:hover{
    background: #B8832F;
}

/* BOTONES HEADER */

button{

    padding: 10px 20px;

    background: #B8832F;

    color: white;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;
}

button:hover{
    background: #B8832F;
}

/* TEXTO */

form h4{

    margin-top: 15px;

    font-size: 14px;
}

/* LINKS */

form a{

    color: #B8832F;

    text-decoration: none;

    font-weight: bold;
}

form a:hover{
    text-decoration: underline;
}

/* CHECKBOX */

.mostrar-pass{

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    font-size: 14px;
}