/*
 * Logon Bootstrap 5 compatibility + layout restoration.
 * Preserves legacy BS3 markup (navbar-inverse, etc.) and reinforces
 * rounded corners after nifty.js removal.
 */

/* BS3 navbar-inverse shim (removed in Bootstrap 5) */
.navbar-inverse {
    background-color: #00446b;
    border-color: #00446b;
}

.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: transparent;
}

.navbar-inverse .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Rounded shell layout */
.header {
    border-radius: 20px 20px 0 0;
}

.content {
    border-radius: 0;
}

.footer {
    border-radius: 0 0 20px 20px;
}

.box-gray-bg,
.box-gray-bg-minHeight {
    border-radius: 10px;
    overflow: hidden;
}

.box-header,
.box-header-large {
    border-radius: 10px 10px 0 0;
}

.box-gray-bg .box-header:last-child,
.box-gray-bg-minHeight .box-header:last-child {
    border-radius: 10px;
}

/* Buttons and inputs */
.btn,
input.btn,
button.btn,
a.btn {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.form-control,
input.form-control,
select.form-control,
textarea.form-control {
    border-radius: 4px;
}

/* Password visibility toggle positioning */
.inputPw + .iconPw {
    display: block;
}
