@font-face {
    font-family: 'Almarena';
    src: url('/resource/footer/Fonts/Alamarena/Almarena-Almarena.otf') format('opentype');
}
@font-face {
    font-family: 'Almarena Bold';
    src: url('/resource/footer/Fonts/Alamarena/Almarena-AlmarenaBold.otf') format('opentype');
}
@font-face {
    font-family: 'Almarena Light';
    src: url('/resource/footer/Fonts/Alamarena/Almarena-AlmarenaLight.otf') format('opentype');
}
@font-face {
    font-family: 'OpenSans';
    src: url('/resource/footer/Fonts/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans Bold';
    src: url('/resource/footer/Fonts/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans Light';
    src: url('/resource/footer/Fonts/Open_Sans/static/OpenSans-Light.ttf') format('truetype');
}

/* Login Body Layout: estira a pantalla completa y manda el footer abajo */
/* Layout de login: columna real que empuja el footer abajo */
#LoginNew.salesforceIdentityLoginBody2 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* El panel del formulario crece y ocupa el hueco */
#LoginNew #centerPanel.cCenterPanel {
    flex: 1 0 auto;
}

/* Quitar el absolute que monta el footer sobre el formulario */
#LoginNew #footer.cFooterPanel {
    position: relative !important;
    flex-shrink: 0;
    width: 100%;
    height: auto;
}
body.comm-page-login-home a.inverseTextColor {
    color: #3D3D3D !important;
}

/* Si tienes la clase genérica del componente, también puedes usar: */
.salesforceIdentityLoginForm2 a.inverseTextColor {
    color: #3D3D3D !important;
}


/* === Botón "Iniciar sesión" — scoped al form de login === */
.salesforceIdentityLoginForm2 .uiButton,
.salesforceIdentityLoginForm2 button.loginButton,
.salesforceIdentityLoginForm2 .loginButton {
    background: #4B3FBA !important;           /* índigo del mockup */
    background-color: #4B3FBA !important;
    border: 1px solid #4B3FBA !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;          /* pill */
    padding: 10px 28px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.salesforceIdentityLoginForm2 .uiButton:hover,
.salesforceIdentityLoginForm2 .uiButton:focus,
.salesforceIdentityLoginForm2 .loginButton:hover {
    background: #3A30A0 !important;
    background-color: #3A30A0 !important;
    border-color: #3A30A0 !important;
}

/* === Alinear el botón a la derecha como en el mockup === */
.salesforceIdentityLoginForm2 .loginButtonRow,
.salesforceIdentityLoginForm2 .button-container {
    text-align: right !important;
}

/* Patrón 1: <i> o <span> con clases de icono dentro del form */
.salesforceIdentityLoginForm2 i,
.salesforceIdentityLoginForm2 svg,
.salesforceIdentityLoginForm2 .input-group-addon,
.salesforceIdentityLoginForm2 .input-group-prepend,
.salesforceIdentityLoginForm2 .input-icon,
.salesforceIdentityLoginForm2 [class*="icon"],
.salesforceIdentityLoginForm2 [class*="fa-"],
.salesforceIdentityLoginForm2 [class*="slds-icon"] {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Patrón 2: pseudo-elementos ::before/::after del label o input */
.salesforceIdentityLoginForm2 label::before,
.salesforceIdentityLoginForm2 label::after,
.salesforceIdentityLoginForm2 .input-group::before,
.salesforceIdentityLoginForm2 .form-element::before {
    content: none !important;
    display: none !important;
}

/* Patrón 3: background-image en el propio input */
.salesforceIdentityLoginForm2 input {
    background-image: none !important;
    background: #FFFFFF !important;
}

/* === INPUTS — reset total y restyle estilo mockup === */
.salesforceIdentityLoginForm2 .input-group,
.salesforceIdentityLoginForm2 .form-element,
.salesforceIdentityLoginForm2 .uiInput {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.salesforceIdentityLoginForm2 input[type="email"],
.salesforceIdentityLoginForm2 input[type="text"],
.salesforceIdentityLoginForm2 input[type="password"] {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 48px !important;
    padding: 12px 14px !important;            /* sin reserva para icono */
    border: 1px solid #D8DDE6 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    background-image: none !important;
    box-shadow: none !important;
    font-size: 15px !important;
    color: #16325C !important;
}

.salesforceIdentityLoginForm2 input:focus {
    border-color: #4B3FBA !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(75, 63, 186, 0.15) !important;
}

/* === LABELS — encima del input, en negrita como el mockup === */
.salesforceIdentityLoginForm2 label {
    display: block !important;
    font-weight: 600 !important;
    color: #444444 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    margin-top: 14px !important;
}

/* === Quitar el recuadro exterior — wrapper real es .inputContainer === */
.salesforceIdentityLoginForm2 .inputContainer {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-bottom: 16px !important;
}

.salesforceIdentityLoginForm2 .inputBox {
    margin-left: 0 !important;
}
