body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
	background-image: url('elegant.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
}

.login-container, .main-container {
      background-color: rgba(255, 255, 255, 0.85); 
            padding: 40px 60px;
            border-radius: 15px;
            text-align: center;
            max-width: 600px;
            width: 90%; 
            
}
.contenedor-central {
            background-color: rgba(255, 255, 255, 0.85); 
            padding: 40px 60px;
            border-radius: 15px;
            text-align: center;
            max-width: 280px;
            width:70%; 
            border: 2px solid #ddd; 
            box-shadow: 
                0 8px 25px rgba(0, 0, 0, 0.2), 
                0 0 0 8px rgba(255, 255, 255, 0.7), 
                inset 0 3px 6px rgba(0, 0, 0, 0.1); 
         
        }

/* Nuevos estilos para la imagen */
.logo-container {
    margin-bottom: 20px;
}
 .main-container2 {
            background-color: var(--color-card);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            width: 100%;
            max-width: 800px;
            text-align: center;
            border: 1px solid var(--color-borde);
        }
.logo-container img {
    max-width: 150px; /* Tamaño máximo para el logo */
    height: auto;
}

h2, h1 {
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #6c757d; /* Un gris más oscuro para el botón */
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #5a6268;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

header a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

header a:hover {
    color: #0056b3;
}

section p {
    font-size: 18px;
    color: #555;
    text-align: left;
}