body {
    background: linear-gradient(to right, #dbeafe, #f0f9ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('background-pattern.png') no-repeat center center/cover;
    opacity: 0.1;
    z-index: -1;
}
.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 440px;
}
.logo {
    width: 200px;
    margin-bottom: 20px;
}
.input-group {
    position: relative;
    margin-bottom: 20px;
}
.input-group i {
    position: relative;
    left: 10px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
}
input {
    width: 90%;
    padding: 12px 12px 12px 40px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: border-color 0.3s;
}
input:focus {
    border-color: #007bff;
}
.checkbox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}
.btn {
    width: 40%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #0056b3;
}
.recuperar {
    display: block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
}
.recuperar:hover {
    text-decoration: underline;
}
.error-div {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.input-group select {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    transition: border-color 0.3s ease;
}

/* Cambio de borde cuando el select está enfocado */
.input-group select:focus {
    border-color: #4CAF50; /* Color verde */
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Agregar un ícono dentro del select (opcional) */
.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #4CAF50;
}

/* Opcional: Estilo para las opciones dentro del select */
.input-group select option {
    padding: 10px;
    font-size: 16px;
}

/* Cambiar el fondo al pasar el ratón sobre las opciones */
.input-group select option:hover {
    background-color: #f1f1f1;
}