:root {
  --naranja-principal: #F57C00; /* Naranja oscuro */
    --naranja-hover: #FFA726; /* Naranja claro */
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #dcdcdc 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;  /* Este es el cambio clave */
    min-height: 100vh;
    margin: 0;
    overflow-y: auto;
    padding: 20px 0;  /* Esto asegura el espacio arriba y abajo */
}
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-form {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px; /* Reducir el padding */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 350px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px; /* Reducir el margen */
    font-size: 28px; /* Reducir el tamaño de fuente */
    font-weight: bold;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #FFFFFF;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    border: none;
    border-radius: 8px;
    background-color: #F0F0F0;
    font-size: 14px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #F37021, #FFCC00); /* Ejemplo de degradado */
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(90deg, #FFCC00, #F37021); /* Degradado invertido al hacer hover */
}


.links-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.register-link, .forgot-password-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
}

.register-link:hover, .forgot-password-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #FF6347;
    text-align: center;
    margin-bottom: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Aumentar opacidad para oscurecer más */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    color: #FFFFFF;
}

.modal-content p {
    color: #FFFFFF;
}

.modal-content a {
    color: var(--naranja-principal); /* Utiliza la variable para el color */
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

.modal-content button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--naranja-principal); /* Utiliza la variable para el color */
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.modal-content button:hover {
    background-color: var(--naranja-hover); /* Utiliza la variable para el color hover */
}

.success-message {
    color: #FFFFFF;
}
