.ib-form {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ib-form-group {
    margin-bottom: 1rem;
}

.ib-form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.8rem !important;
}

.ib-password-group .ib-form-label {
    margin-bottom: 0 !important;
}

.ib-form-input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.ib-input-wrapper {
    position: relative;
}

.ib-password-input {
    padding-right: 90px;
}

/* Elimina margen inferior de etiquetas dentro de ib-password-group */
.ib-password-group .ib-form-label {
    margin-bottom: 0 !important;
}

/* Reduce margen superior e inferior del texto de ayuda */
.ib-password-help {
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
    color: #555 !important;
    font-size: 0.85rem !important;
}

/* Reduce margen inferior del párrafo contenedor de contraseña */
.ib-password-group {
    margin-bottom: 0.75rem !important; /* Ajusta este valor a tu gusto */
}



.ib-toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none !important;   /* Sin fondo */
    border: none !important;       /* Sin borde */
    color: #3B5998 !important;     /* Azul facebook */
    font-weight: bold !important;
    font-size: 0.9em;
    padding: 0 4px;
    line-height: 1;
    /* text-decoration: underline;  -- eliminado */
}

.ib-toggle-password-btn:hover {
    color: #4A90E2 !important;     /* Azul más claro al pasar mouse */
}

.ib-remember-group {
    display: flex;
    align-items: center;
}

.ib-checkbox {
    margin-right: 0.5rem;
}

.ib-submit-btn {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ib-submit-btn:hover {
    background-color: #005a88;
    transform: scale(1.05);
}

.ib-form-links {
    text-align: center;
    margin-top: 20px;
}

.ib-link {
    color: #0073aa;
    text-decoration: none;
}

.ib-link:hover {
    text-decoration: underline;
}

.ib-messages {
    margin-top: 1rem;
    text-align: center;
    font-size: 1em;
}

.ib-logged-message {
    font-weight: bold;
    text-align: center;
}

.ib-submit-btn {
    padding: 10px 20px !important;
    background-color: #3B5998 !important; /* Color inicial */
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.ib-submit-btn:hover {
    background-color: #4A90E2 !important; /* Color al pasar el cursor */
    transform: scale(1.05) !important; /* Efecto grow */
}


