.authentication-inner:before, .authentication-inner:after {
    /*background-image: none !important;*/
}
.authentication-inner:before {
    background-image: url("data:image/svg+xml,<svg width='239' height='234' viewBox='0 0 239 234' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='0.621094' y='33.761' width='200' height='200' rx='10' fill='%23004A80' fill-opacity='0.08'/></svg>") !important;
}
.authentication-inner:after {
    background-image: url("data:image/svg+xml,<svg width='181' height='181' viewBox='0 0 181 181' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='22.8047' y='22.9431' width='135' height='135' rx='10' fill='%23004A80' fill-opacity='0.08'/></svg>") !important;
}
/* Dark mode: the 8%-opacity brand-blue rects are invisible on the dark backdrop — brighten them. */
.dark-style .authentication-inner:before {
    background-image: url("data:image/svg+xml,<svg width='239' height='234' viewBox='0 0 239 234' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='0.621094' y='33.761' width='200' height='200' rx='10' fill='%234DA3DD' fill-opacity='0.14'/></svg>") !important;
}
.dark-style .authentication-inner:after {
    background-image: url("data:image/svg+xml,<svg width='181' height='181' viewBox='0 0 181 181' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='22.8047' y='22.9431' width='135' height='135' rx='10' fill='%234DA3DD' fill-opacity='0.14'/></svg>") !important;
}
/* Dark mode: the login-card Crestron logo's navy (#2e5786) paths are near-invisible on the dark
   glass card — recolour to a light tone (mirrors the invoice-card logo fix in common.css). */
.dark-style .authentication-wrapper .app-brand svg path {
    fill: #e9eef3 !important;
}
.form-password-toggle .form-control {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.form-password-toggle .input-group-text {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.form-password-toggle .form-floating input:focus ~ label, .form-password-toggle .form-floating input:not(focus) ~ label {
    z-index: 10;
}

.swal-confirm-hide {
    visibility: hidden;
}