/* Static login styling for software-rendered browsers and remote desktop sessions. */
* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #06111b;
    color: #e0f7ff;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    background: #102332;
    border: 1px solid #286778;
    border-top: 3px solid #36d6e7;
    border-radius: 14px;
}

.login-container h2 {
    margin: 0 0 28px;
    color: #66e8f2;
    font-size: 1.6rem;
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
}

.form-group { margin-bottom: 20px; }
label {
    display: block;
    margin-bottom: 7px;
    color: #b5e7ee;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #416171;
    border-radius: 7px;
    background: #081823;
    color: #fff;
    font: inherit;
}

.form-control:focus {
    border-color: #66e8f2;
    outline: 2px solid #66e8f2;
    outline-offset: 2px;
}

.btn {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-block { display: block; width: 100%; }
.btn-primary { background: #38ccde; color: #05202a; }
.btn-primary:hover { background: #6ce3ee; }
.btn-primary:active { background: #28b5c8; }
.btn:focus-visible, a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.alert {
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #a95e72;
    border-radius: 6px;
    background: #381c29;
    color: #ffd0da;
    overflow-wrap: anywhere;
}

p { margin: 0 0 16px; }
.text-center { text-align: center; }
a { color: #7dd3fc; text-decoration: none; }
a:hover { text-decoration: underline; }
.login-container > p:last-child { margin-bottom: 0; }

@media (max-width: 420px) {
    .login-container { padding: 24px 20px; }
}

@media (max-height: 620px) {
    body { align-items: flex-start; }
}
