
body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-container i {
    display: inline-block; /* Asegura que el ícono se comporte como un bloque */
    margin-bottom: 1.5rem; /* Espacio debajo del ícono */
}

.login-container img {
    width: 130px; /* Ajusta el tamaño de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.login-container p {
    margin-bottom: 2rem; /* Espacio debajo del párrafo */
    color: #555; /* Color del texto */
    font-size: 0.9rem; /* Tamaño del texto */
}
.input-group {
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 10px;
}
.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}
.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.input-group input:focus {
    border-color: #e68a35;
    outline: none;
}

.input-group .password-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(35%);
    cursor: pointer;
    color: #777;
    font-size: 1.2rem;
}
.input-group .password-icon:hover {
    color: #333;
}

#errorMessage {
    text-align: center;
    margin-top: 1rem;
    color: red;
}
.btn-primary {
    width: 100%;
    background-color: #ff9a3c;
    border-color: #ff9a3c;
   
}

.btn-primary:hover {
    background-color: #e68a35;
    border-color: #e68a35;
}

#loadingSpinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    z-index: 1050; /* Asegura que esté sobre otros elementos */
}
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #ff9a3c;
}