/*
 * Login page: brand panel on the left, sign-in on the right.
 * Markup: resources/views/auth/login.blade.php
 */
:root {
    --lg-blue: #0a66c2;        /* brand blue */
    --lg-blue-dark: #0d47a1;
    --lg-text: #111827;
    --lg-muted: #5b6575;
    --lg-line: #d9e2ef;
}

.lg-body { margin: 0; background: #fff; }

.lg-page {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100vh;
}

/* ---- left: brand panel ---- */
.lg-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 64px 72px;
    background: linear-gradient(155deg, var(--lg-blue) 0%, var(--lg-blue-dark) 100%);
    color: #fff;
}

.lg-hero::before,
.lg-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.lg-hero::before { width: 460px; height: 460px; right: -140px; bottom: -150px; }
.lg-hero::after  { width: 260px; height: 260px; left: -90px; top: -90px; }

.lg-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 560px; }

.lg-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 44px; }

.lg-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    color: var(--lg-blue);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.lg-brand-name { font-size: 16px; font-weight: 500; letter-spacing: .01em; opacity: .95; }

.lg-headline {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.2rem, 3.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.lg-lead {
    max-width: 470px;
    margin: 0 0 40px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.65;
}

.lg-features { margin: 0; padding: 0; list-style: none; }

.lg-features li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.lg-features li:last-child { margin-bottom: 0; }

.lg-ico {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

.lg-ico svg { width: 22px; height: 22px; stroke-width: 1.8; }

.lg-features strong { display: block; margin-bottom: 2px; color: #fff; font-size: 15.5px; font-weight: 600; }
.lg-features span { color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.5; }

/* ---- right: sign in ---- */
.lg-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 32px 28px;
    background: #fff;
}

.lg-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 420px;
}

.lg-title { margin: 0 0 10px; color: var(--lg-text); font-size: 2rem; font-weight: 800; letter-spacing: -.01em; }
.lg-wave { display: inline-block; font-size: 1.8rem; }
.lg-sub { margin: 0 0 28px; color: var(--lg-muted); font-size: 16px; line-height: 1.55; }

.lg-card .alert { margin-bottom: 18px; }

.lg-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    border: 1px solid var(--lg-line);
    border-radius: 12px;
    background: #fff;
    color: var(--lg-text);
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.lg-google:hover {
    border-color: var(--lg-blue);
    box-shadow: 0 8px 22px rgba(10, 102, 194, .16);
    color: var(--lg-text);
    transform: translateY(-1px);
}

.lg-google:focus-visible { outline: 3px solid rgba(10, 102, 194, .35); outline-offset: 2px; }

.lg-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--lg-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.lg-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--lg-blue); }

.lg-footer { margin-top: 32px; color: #9aa4b2; font-size: 12.5px; line-height: 1.7; text-align: center; }
.lg-footer a { color: var(--lg-blue); font-weight: 500; text-decoration: none; }
.lg-footer a:hover { text-decoration: underline; }

/* below lg: brand header on top, sign in underneath */
@media (max-width: 991.98px) {
    .lg-page { grid-template-columns: 1fr; }
    .lg-hero { padding: 28px 24px 32px; }
    .lg-brand { margin-bottom: 24px; }
    .lg-headline { margin-bottom: 0; font-size: 2rem; }
    .lg-lead,
    .lg-features { display: none; }
    .lg-hero::before { width: 260px; height: 260px; right: -90px; bottom: -110px; }
    .lg-panel { padding: 36px 24px 24px; }
    .lg-title { font-size: 1.7rem; }
}
