:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #243335; background: #dce2e2; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
.login-page { min-height: 100vh; min-height: 100svh; position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 48px 6% 76px; background: url('../images/login-scada.png') center / cover no-repeat; }
.login-panel { width: 430px; max-width: 100%; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 56px #10222040; border-top: 4px solid #e8ce34; }
.brand { padding: 28px 34px; border-bottom: 1px solid #e5e9e8; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { display: block; width: 192px; max-width: 65%; height: auto; }
.brand span { font-size: 10px; line-height: 1.5; max-width: 48px; color: #637273; font-weight: 700; }
.login-content { padding: 32px 34px 26px; }
.eyebrow { font-size: 10px; font-weight: 700; color: #287b7c; margin: 0 0 10px; letter-spacing: 0; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; font-weight: 600; letter-spacing: 0; }
.intro { margin: 0 0 28px; color: #637174; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 8px; }
input { display: block; width: 100%; min-width: 0; height: 48px; padding: 12px; background: #f9fbfa; color: #243335; border: 1px solid #b9c7c7; border-radius: 4px; margin-bottom: 20px; font-size: 16px; }
input:focus { outline: 2px solid #287b7c; outline-offset: 2px; background: #fff; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
#password-toggle { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; background: transparent; border: 0; color: #526a70; cursor: pointer; }
#password-toggle:hover { color: #163e47; background: #eef4f4; }
.sign-in { width: 100%; min-height: 48px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #236b70; border-radius: 4px; background: #286f73; color: #fff; font-weight: 600; cursor: pointer; }
.sign-in:hover { background: #20595d; }
button:focus-visible { outline: 3px solid #b29310; outline-offset: 3px; }
.support { font-size: 12px; line-height: 1.6; color: #626e72; margin: 20px 0 0; }
.panel-footer { border-top: 1px solid #e1e7e5; background: #f5f8f6; padding: 18px 34px; font-size: 11px; line-height: 1.6; color: #516065; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #cfb627; margin-right: 8px; border-radius: 50%; }
.scene-caption { position: absolute; bottom: 24px; left: 32px; color: #fff; background: #263a3acc; padding: 10px 14px; border-left: 3px solid #e6cd31; font-size: 12px; font-weight: 700; }
.scene-caption span { font-weight: 400; margin-left: 14px; }
.login-error { color: #8c2929; background: #fff0ee; border-left: 3px solid #b94438; padding: 12px; font-size: 13px; line-height: 1.5; margin: 0 0 20px; }
@media (max-width: 640px) {
    .login-page { justify-content: center; padding: 72px 20px 70px; background-position: 30% center; }
    .brand { padding: 24px; }
    .login-content { padding: 26px 24px; }
    .panel-footer { padding: 16px 24px; }
    .scene-caption { left: 20px; bottom: 16px; font-size: 11px; }
}
@media (max-width: 360px) { .login-content, .brand { padding: 24px 20px; } h1 { font-size: 28px; } }
