/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: url('../img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contenedor del login */
.login-container {
    background: rgba(0, 0, 0, 0.8); /* Negro con transparencia */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 320px;
    color: #FFFFFF; /* Texto blanco */
}

.login-container h2 {
    margin-bottom: 20px;
    color: #F5AA01; /* Amarillo */
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #89A62E; /* Borde verde */
    border-radius: 5px;
    background: #373F3F; /* Fondo gris oscuro */
    color: #FFFFFF; /* Texto blanco */
}

.login-container button {
    width: 100%;
    padding: 10px;
    background: #F5AA01; /* Botón amarillo */
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

.login-container button:hover {
    background: #89A62E; /* Cambio a verde en hover */
}

.login-container p {
    margin-top: 15px;
    color: #CCCCCC;
}

.login-container a {
    color: #F5AA01; /* Amarillo */
    text-decoration: none;
    font-weight: bold;
}

.login-container a:hover {
    text-decoration: underline;
}

/* Estilos del modal (modo oscuro) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9); /* Negro con más opacidad */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    width: 350px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 15px;
    color: #F5AA01; /* Amarillo */
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #89A62E; /* Verde */
    border-radius: 5px;
    background: #373F3F; /* Gris oscuro */
    color: #FFFFFF;
}

.modal-content button {
    width: 100%;
    padding: 10px;
    background: #F5AA01; /* Botón amarillo */
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

.modal-content button:hover {
    background: #89A62E; /* Cambio a verde en hover */
}

/* Botón de cerrar */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #FFFFFF;
}


.logo_prin {
    width: 100%;
}

/* Mensajes de error y éxito */
.error-message {
    color: red !important;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.success-message {
    color: green !important;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}
