input[type="password"]::-ms-reveal {
    display: none !important;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-strong-password-auto-fill-button {
    display: none !important;
}

.authorize-user-group {
    position: relative;
}

.authorize-username {
    padding-right: 30px;
}

.authorize-help-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.authorize-tooltip-text {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 10;
    width: 250px;
}

.authorize-password-group {
    display: flex;
    align-items: stretch;
    margin-bottom: 15px;
    border: none;
    background: none;
}

.authorize-password-field {
    flex: 1;
    margin: 0;
    border-radius: 0;
    border-right: none;
}

.authorize-password-toggle {
    cursor: pointer;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-left: none;
    margin: 0;
    padding: 8px;
}

#eyeIconOpen,
#eyeIconClosed {
    width: 20px;
    height: 20px;
}

#eyeIconOpen {
    display: block;
}

#eyeIconClosed {
    display: none;
}

.authorize-external-header {
    color: #000000;
    text-align: center;
}

.authorize-provider-item {
    display: block;
}

.authorize-provider-link {
    padding-top: 10px;
}

/* Tematização dinâmica — regras ativas somente quando authorize-portal-tema.js aplicar a classe */
body.tema-ativo header {
    background-color: var(--cor-primaria, #434C49) !important;
    height: 80px;
}

body.tema-ativo .gvf-page-title {
    display: none;
}

body.tema-ativo .primary input[type=text]:focus,
body.tema-ativo .primary input[type=password]:focus {
    border-bottom: 2px solid var(--cor-primaria, #434C49) !important;
}

body.tema-ativo .primary .btn {
    color: rgba(255, 255, 255, 0.87);
    background-color: var(--cor-primaria, #434C49) !important;
}

body.tema-ativo .footer {
    color: var(--cor-primaria, #434C49) !important;
}

body.tema-ativo .footer a {
    color: var(--cor-primaria, #434C49) !important;
}

body.tema-ativo .logo {
    background-image: var(--logo-url) !important;
    width: 220px;
    object-fit: contain;
    max-height: 100%;
    height: 80px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

body.tema-ativo .secondary > legend {
    color: var(--cor-secundaria, #01b3aa) !important;
}

body.tema-ativo .secondary .btn {
    color: var(--cor-secundaria, #01b3aa) !important;
}

body.tema-ativo .secondary .btn-sub {
    color: var(--cor-secundaria, #01b3aa) !important;
}
