/* Vebzaa ERP - authentication screens (Chakra / Purity style) */
html, body { height: 100%; }
.auth-body { background: var(--surface); margin: 0; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }

/* ---------- Form panel (left) ---------- */
.auth-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2.5rem 1.5rem 1.5rem; position: relative; }
.auth-card { width: 100%; max-width: 410px; margin: auto 0; }
.auth-card h1 { font-size: 2rem; font-weight: 700; color: var(--teal); letter-spacing: -.01em; margin-bottom: .35rem; }
.auth-card .sub { color: var(--text-faint); font-size: .9rem; font-weight: 700; margin-bottom: 1.9rem; line-height: 1.5; }
.auth-copy { margin: 0; font-size: .78rem; color: var(--text-faint); }
.auth-mobile-brand { display: none; }

.auth-field { position: relative; margin-bottom: 1.25rem; }
.auth-field .form-label { margin-bottom: .45rem; font-weight: 500; font-size: .875rem; color: var(--ink-2); }
.auth-field .form-control { min-height: 48px; font-size: .9rem; border-radius: 15px; padding: .6rem 1.1rem; }
.auth-field .toggle-pass { position: absolute; right: 6px; top: 34px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--text-muted); border-radius: 10px; }
.auth-field .toggle-pass:hover { background: var(--canvas); color: var(--ink); }
.auth-field.has-toggle .form-control { padding-right: 3rem; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: .25rem 0 1.5rem; gap: 1rem; flex-wrap: wrap; }
.auth-row a { font-size: .84rem; font-weight: 600; }
.auth-row .form-switch { display: flex; align-items: center; gap: .6rem; padding-left: 0; margin: 0; }
.auth-row .form-switch .form-check-input { margin: 0; float: none; width: 2.4em; height: 1.3em; flex: none; }
.auth-row .form-check-label { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.auth-submit { width: 100%; min-height: 45px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.auth-alt { text-align: center; margin-top: 1.25rem; font-size: .85rem; color: var(--text-muted); }

/* ---------- Brand panel (right): teal gradient over the skyline, rounded bottom-left ---------- */
.auth-brand {
    position: relative; overflow: hidden; color: #fff; border-bottom-left-radius: 25vh;
    background: linear-gradient(135deg, rgba(44, 122, 123, .86), rgba(40, 94, 97, .93)), var(--bg-img) center bottom / cover no-repeat, var(--teal-700);
}
.auth-brand::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: var(--bg-img) center bottom / cover no-repeat; opacity: .35; mix-blend-mode: soft-light; pointer-events: none; }
.brand-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 3rem; gap: 2rem; }
.brand-row { display: flex; align-items: center; gap: .7rem; }
.brand-row .mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.brand-row .mark svg { width: 24px; height: 24px; }
.brand-row .name { font-weight: 700; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; }
.brand-body { max-width: 26rem; }
.brand-body h2 { color: #fff; font-size: 1.6rem; line-height: 1.3; font-weight: 700; margin: 0 0 .9rem; }
.brand-body p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .92rem; line-height: 1.6; }

@media (max-width: 991px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-panel { justify-content: flex-start; padding-top: 3rem; }
    .auth-card { margin: 0; }
    .auth-mobile-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2rem; }
    .auth-mobile-brand .mark { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-400), var(--teal)); }
    .auth-mobile-brand .mark svg { width: 20px; height: 20px; }
}
