
/* General protected content */
.wmhi-protected {
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0;
}

.wmhi-protected *,
.wmhi-protected *::before,
.wmhi-protected *::after {
    box-sizing: border-box;
}

/* Login container */
.wmhi-protected-login-inner {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e3e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(20, 35, 50, .07);
}

/* Heading */
.wmhi-protected-title {
    margin: 0 0 10px;
    color: #17324d;
    font-size: 22px;
    line-height: 1.3;
}

/* Description */
.wmhi-protected-description {
    margin: 0 0 20px;
    color: #5d6873;
    line-height: 1.55;
}

/* Form */
.wmhi-protected-login form {
    margin: 0;
}

.wmhi-protected-login form p {
    margin: 0 0 15px;
}

.wmhi-protected-login form label {
    display: block;
    margin-bottom: 6px;
    color: #263746;
    font-weight: 600;
}

/* Username and password fields */
.wmhi-protected-login form input[type="text"],
.wmhi-protected-login form input[type="password"] {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd3da;
    border-radius: 5px;
    background: #fff;
    color: #1f2933;
    font: inherit;
}

/* Remember me */
.wmhi-protected-login form .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
}

.wmhi-protected-login form .forgetmenot label {
    display: inline;
    margin: 0;
    font-weight: 400;
}

/* Login button */
.wmhi-protected-login form input[type="submit"] {
    display: inline-block;
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 5px;
    background: #174d72;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wmhi-protected-login form input[type="submit"]:hover {
    background: #103b59;
}

/* Forgotten password */
.wmhi-protected-lost-password {
    margin: 16px 0 0;
    text-align: center;
}

.wmhi-protected-lost-password a {
    text-decoration: underline;
}

/* Access denied */
.wmhi-protected-denied {
    padding: 16px 20px;
    border: 1px solid #ead7b5;
    border-radius: 6px;
    background: #fff9ed;
    color: #624b25;
}

.wmhi-protected-denied p {
    margin: 0;
}

/* Configuration notice */
.wmhi-protected-notice {
    padding: 12px 16px;
    border-left: 4px solid #b45309;
    background: #fff7ed;
    color: #7c2d12;
}

/* Sidebar login */
.wmhi-sidebar-login {
    margin: 0 0 24px;
}

.wmhi-sidebar-login .wmhi-protected-login-inner {
    max-width: none;
    padding: 22px;
}

.wmhi-sidebar-login .wmhi-protected-title {
    font-size: 20px;
}

.wmhi-sidebar-login .wmhi-protected-description {
    font-size: 14px;
}

.wmhi-sidebar-login .wmhi-protected-lost-password {
    font-size: 13px;
}

/* Logout button */
.wmhi-sidebar-login .wmhi-sidebar-logout {
    margin: 16px 0 0;
}

.wmhi-sidebar-login .wmhi-sidebar-logout a {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #174d72;
    border-radius: 5px;
    color: #174d72;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .wmhi-protected-login-inner {
        padding: 20px;
    }
}
