/* MiUcen: primefaces. Solo se aplica al área de autenticación migrada. */

body.miucen-auth .ucen-custom-messages .ui-messages-error,
body.miucen-auth .ucen-custom-messages .ui-messages-warn,
body.miucen-auth .ucen-custom-messages .ui-messages-info,
body.miucen-auth .ucen-custom-messages .ui-messages-success {
    border-radius: 8px;
    padding: 12px 40px 12px 45px;
    margin: 0 0 10px 0;
    position: relative;
    box-shadow: none;
    text-align: left;
    width: auto;
}


body.miucen-auth .ucen-custom-messages .ui-messages-error-icon,
body.miucen-auth .ucen-custom-messages .ui-messages-warn-icon,
body.miucen-auth .ucen-custom-messages .ui-messages-info-icon,
body.miucen-auth .ucen-custom-messages .ui-messages-success-icon {
    display: none;
}


body.miucen-auth .ucen-custom-messages .ui-messages-error {
    background-color: var(--alert-error-bg);
    border: 1px solid var(--alert-error-border);
    color: var(--alert-error-text);
}


body.miucen-auth .ucen-custom-messages .ui-messages-error::before {
    content: '\f071';
    font-family: 'FontAwesome';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--alert-error-border);
}


body.miucen-auth .ucen-custom-messages .ui-messages-warn {
    background-color: var(--alert-warn-bg);
    border: 1px solid var(--alert-warn-border);
    color: var(--alert-warn-text);
}


body.miucen-auth .ucen-custom-messages .ui-messages-warn::before {
    content: '\f06a';
    font-family: 'FontAwesome';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--alert-warn-border);
}


body.miucen-auth .ucen-custom-messages .ui-messages-info {
    background-color: var(--alert-info-bg);
    border: 1px solid var(--alert-info-border);
    color: var(--alert-info-text);
}


body.miucen-auth .ucen-custom-messages .ui-messages-info::before {
    content: '\f05a';
    font-family: 'FontAwesome';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--alert-info-border);
}


body.miucen-auth .ucen-custom-messages .ui-messages-success {
    background-color: var(--alert-success-bg);
    border: 1px solid var(--alert-success-border);
    color: var(--alert-success-text);
}


body.miucen-auth .ucen-custom-messages .ui-messages-success::before {
    content: '\f058';
    font-family: 'FontAwesome';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--alert-success-border);
}


body.miucen-auth .ucen-custom-messages .ui-messages-error-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-error-detail,
body.miucen-auth .ucen-custom-messages .ui-messages-warn-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-warn-detail,
body.miucen-auth .ucen-custom-messages .ui-messages-info-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-info-detail,
body.miucen-auth .ucen-custom-messages .ui-messages-success-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-success-detail {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;

    display: block;
    margin-left: 0;
}


body.miucen-auth .ucen-custom-messages .ui-messages-error-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-warn-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-info-summary,
body.miucen-auth .ucen-custom-messages .ui-messages-success-summary {
    font-weight: 700;
    margin-right: 0;
    margin-bottom: 0.2rem;
}


body.miucen-auth .ucen-custom-messages .ui-messages-error-detail,
body.miucen-auth .ucen-custom-messages .ui-messages-warn-detail,
body.miucen-auth .ucen-custom-messages .ui-messages-info-detail,
body.miucen-auth .ucen-custom-messages .ui-messages-success-detail {
    font-weight: 500;
}


body.miucen-auth .ucen-custom-messages .ui-messages-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: inherit;
    opacity: 0.6;
    text-decoration: none;
}


body.miucen-auth .ucen-custom-messages .ui-messages-close:hover {
    opacity: 1;
}


body.miucen-auth .input-wrapper input.custom-input.ui-inputfield {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    padding: 0 35px 0 38px;
    border: 1px solid var(--silver-blue);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--azul-oxford);
    background-color: #ffffff;
    box-shadow: none;
    margin: 0;
    position: relative;
    top: 0;
    line-height: normal;
}


body.miucen-auth .input-wrapper input.custom-input.ui-inputfield:focus {
    border-color: var(--wizard-blue);
    box-shadow: 0 0 0 2px rgba(0, 114, 229, 0.15);
}


body.miucen-auth .input-wrapper input.custom-input.ui-inputfield::placeholder {
    color: #A0B0C0;
    font-weight: 400;
}


body.miucen-auth .btn-secundario.ui-button .ui-icon,
body.miucen-auth .btn-secundario.ui-button .fa {
    color: var(--azul-clasico);
}
