:root {
    --app-primary-color: #0b0b0b;
    --app-border: rgba(221, 221, 221, 0.6);
    --app-muted: #7e7e7e;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    font-family: 'Krub', Arial, sans-serif;
    background: #ffffff;
    color: #0b0b0b;
}

.auth-screen { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 58%) minmax(390px, 42%); }
.auth-screen .left-side {
    position: relative;
    min-height: 100vh;
    background-image: linear-gradient(rgba(11, 11, 11, 0.12), rgba(11, 11, 11, 0.12)), url('../images/login-banner-v1.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.auth-screen .left-side .app-logo {
    position: absolute;
    top: 40px;
    left: 50px;
    width: 94px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,.25));
}
.auth-screen .left-side .text-banner { width: 50%; color: #ffffff; position: relative; z-index: 2; }
.auth-screen .left-side .text-banner .title { margin: 0 0 20px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: 700; }
.auth-screen .left-side .text-banner .description { margin: 0; font-size: 18px; line-height: 1.65; font-weight: 500; color: rgba(255,255,255,.86); }

.auth-screen .right-side { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #ffffff; padding: 44px 30px; }
.auth-screen .right-side .content { width: 70%; max-width: 440px; }
.auth-title { margin: 0 0 8px; font-size: 28px; font-weight: 700; }
.auth-subtitle { margin: 0 0 34px; color: var(--app-muted); font-size: 14px; line-height: 1.65; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.form-control {
    width: 100%; min-height: 50px; padding: 13px 16px; border: 1px solid var(--app-border); border-radius: 12px;
    font: 500 13px 'Krub', Arial, sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-control:focus { border-color: #0b0b0b; box-shadow: 0 0 0 3px rgba(11,11,11,.08); }
.form-control::placeholder { color: #b2b2b2; }
.input-password { position: relative; }
.input-password .form-control { padding-right: 50px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: #7e7e7e; cursor: pointer; border-radius: 9px; }
.password-toggle:hover { background: #f3f4f6; color: #111827; }
.auth-options { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 5px 0 24px; font-size: 12px; }
.remember { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #4b5563; }
.remember input { width: 16px; height: 16px; accent-color: #0b0b0b; }
.btn-login { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: #0b0b0b; color: #fff; font: 600 13px 'Krub', Arial, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,11,11,.18); }
.btn-login:active { transform: translateY(0); }
.alert-danger { border: 0; border-radius: 9px; padding: 14px 15px; margin-bottom: 20px; color: #991b1b; background: rgba(239,68,68,.11); font-size: 12px; line-height: 1.5; }
.alert-danger ul { padding-left: 18px; margin: 0; }
.auth-footer { margin-top: 28px; color: #9ca3af; font-size: 11px; text-align: center; }
.mobile-brand { display: none; text-align: center; margin-bottom: 28px; }
.mobile-brand img { width: 88px; height: auto; }

@media (max-width: 991.98px) {
    .auth-screen { grid-template-columns: minmax(0, 50%) minmax(380px, 50%); }
    .auth-screen .left-side .text-banner { width: 68%; }
    .auth-screen .left-side .app-logo { left: 34px; top: 32px; width: 78px; }
    .auth-screen .right-side .content { width: 82%; }
}

@media (max-width: 767.98px) {
    .auth-screen { display: block; background: #f7f7f7; }
    .auth-screen .left-side { display: none; }
    .auth-screen .right-side { min-height: 100vh; min-height: 100dvh; padding: 28px 20px; background: #f7f7f7; }
    .auth-screen .right-side .content { width: 100%; max-width: 430px; padding: 28px 24px; border-radius: 20px; background: #fff; box-shadow: 0 15px 45px rgba(0,0,0,.08); }
    .mobile-brand { display: block; }
    .auth-title, .auth-subtitle { text-align: center; }
}
