html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f3f4f6;
}

.middle {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.leftpanelogin,
.rightpanelogin {
    display: none;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.server-name {
    width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;

    color: #DE0000;
    font-family: Roboto, Arial, sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.contentpanelogin {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 1.4rem 1.2rem 1.6rem;
    box-sizing: border-box;
}

.contentpanelogin {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 1.4rem 1.2rem 1.6rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contentpanelogin .logo {
    display: block;
    margin: 0 auto 0.9rem;
    max-width: 170px;
    width: 60%;
    height: auto;
}


#LoginForm {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#LoginForm .entry {
    margin: 0;
    display: flex;
    flex-direction: column;
}

#LoginForm .entry label {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

#LoginForm br {
    display: none;
}

#LoginForm .entry input[type="text"],
#LoginForm .entry input[type="password"] {
    font-size: 1rem;
    padding: 0.55rem 0.6rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
}

#LoginForm .entry input[type="text"]:focus,
#LoginForm .entry input[type="password"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

#LoginForm .button {
    margin-top: 0.3rem;
}

#LoginBtn {
    display: block;
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background-color: #1d4ed8;
    color: #ffffff;
    cursor: pointer;
    min-height: 44px;
}

#LoginBtn:hover,
#LoginBtn:focus {
    background-color: #1e40af;
}

.forgot-password {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: #1d4ed8;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.labelError {
    font-size: 0.95rem;
    color: #dc2626;
    text-align: center;
    margin: 0.8rem 0 0.4rem;
}

#LoginBtn:-webkit-autofill,
#LoginBtn:-webkit-autofill:hover,
#LoginBtn:-webkit-autofill:focus {
    -webkit-text-fill-color: inherit !important;
    transition: background-color 9999s ease-in-out 0s;
}

.loginLegalLinks {
    margin-top: 28px;
    text-align: center;
}

.loginLegalLinks ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.loginLegalLinks li {
    display: inline-block;
    font-size: 0.8em;
}

.loginLegalLinks li+li::before {
    content: "·";
    margin: 0 10px;
    color: #aaa;
}

.loginLegalLinks a {
    color: #777;
    text-decoration: none;
}

.loginLegalLinks a:hover,
.loginLegalLinks a:focus {
    color: #444;
    text-decoration: underline;
}