main{
    padding: 30px 40px;
    margin: 30px auto;
    text-align: center;
    align-items: left;
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 500px;
    height: fit-content;
    border-radius: 15px;
    background-color: #f6f6f6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-self: center;
}

main img{
    align-self: center;
    width: auto;
    height: 150px;
    margin: 0;
}

main h1{
    font-size: 24px;
}

main h2{
    font-size: 20px;
    color: #333;
}

main h1, main h2{
    margin-top: 0;
}

main p{
    align-self: center;
    text-align: center;
}

form{
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: left;
    gap: 10px;
}

form div{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

form input{
    padding: 8px;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
}

.botones{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.botones button{
    border: none;
    background-color: #545454;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.botones button:hover{
    background-color: #3078ff;
    transform: scale(1.1);
}

form a{
    color: #3078ff;
    text-decoration: none;
    cursor: pointer;
}

.alerta{
    display: none;
}

.error{
    color: rgb(255, 30, 30);
}