
/* Agrupamos estilo redondeado tipo pastilla */
.input-group-password {
    border-radius: 30px;               /* forma de píldora */
    overflow: hidden;                  /* evita que sobresalga algo */
    background-color: #eef3ff;         /* mismo fondo que ya usabas */
    border: 1px solid #cfd7e0;         /* mismo borde ligero */
}

/* Quitar bordes internos y ajustar padding */
.input-group-password .form-control,
.input-group-password .btn-eye {
    border: none;
    background-color: transparent;     /* hereda el color del contenedor */
}

/* Mantener texto y tamaño coherentes */
.input-group-password .form-control {
    padding: 10px 20px;
    font-size: 16px;
}

/* Botón ojo: igual alto que el input, sin borde lateral */
.input-group-password .btn-eye {
    width: 56px;                       /* igual que el alto aproximado */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Cambiar color del icono al hacer hover (opcional) */
.input-group-password .btn-eye:hover i {
    opacity: 0.7;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #dce2e4;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    display: flex;
    width: 90%;
    max-width: 800px;
    background-color: #b1ccd6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Sección Izquierda - Formulario de Login */
.login-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #b1ccd6;
    padding-top: 60px;
}

.login-form img {
    max-width: 150px;
    margin-bottom: 20px;
}

.login-form h3 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.form-control {
    margin-bottom: 15px;
    padding: 15px;
    font-size: 16px;
    border-radius: 30px;
}

.btn-login {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #007bff;
    color: #fff;
    width: 100%;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-login:disabled {
    background-color: #51c8ef;
    cursor: not-allowed;
}

.btn-login:hover {
    background-color: #0d96c5; /* Un color más oscuro al hacer hover */
    color: #fff; /* Asegúrate de que el color del texto permanezca igual */
    opacity: 1; /* Evita la transparencia */
}

.footer-text {
    margin-top: 20px;
    font-size: 14px;
    color: #007bff;
    text-align: center;
}

/* Indicador de carga */
.loading {
    display: none;
    margin-top: 10px;
}

/* Sección Derecha - Información */
.info-section {
    flex: 1;
    background-color: #ffc107;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.info-section img {
    max-width: 200px;
}

/* Media Queries para pantallas pequeñas */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .info-section {
        padding: 20px;
    }

    .login-form {
        padding-top: 20px;
    }
}
