/*
  BAKSO login — modern split-screen, matches the public site's blue accent + Hanken Grotesk type.
*/

* {
    box-sizing: border-box;
}

.lg-page {
    min-height: 100vh;
    display: flex;
    font-family: 'Hanken Grotesk', -apple-system, sans-serif;
    background: oklch(99% 0.003 240);
}

.lg-side {
    flex: 0 0 42%;
    background: oklch(46% 0.175 228);
    color: oklch(98% 0.01 228);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.lg-side::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: oklch(54% 0.16 228 / 0.55);
    top: -120px;
    right: -120px;
}

.lg-side::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: oklch(38% 0.18 228 / 0.55);
    bottom: -100px;
    left: -80px;
}

.lg-side-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    position: relative;
    z-index: 1;
}

.lg-side-brand img {
    height: 30px;
}

.lg-side-mid {
    position: relative;
    z-index: 1;
}

.lg-side-title {
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.lg-side-desc {
    font-size: 15px;
    line-height: 1.65;
    color: oklch(92% 0.02 228);
    max-width: 38ch;
}

.lg-side-foot {
    display: flex;
    gap: 24px;
    font-size: 13px;
    font-weight: 600;
    color: oklch(90% 0.02 228);
    position: relative;
    z-index: 1;
}

.lg-side-foot span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lg-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.lg-card {
    width: 100%;
    max-width: 380px;
}

.lg-heading {
    font-weight: 800;
    font-size: 26px;
    color: oklch(20% 0.02 240);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.lg-subheading {
    font-size: 14px;
    color: oklch(54% 0.018 240);
    margin: 0 0 28px;
}

.lg-field {
    margin-bottom: 16px;
}

.lg-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: oklch(40% 0.018 240);
    margin-bottom: 7px;
}

.lg-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: oklch(96.5% 0.007 240);
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 160ms ease-out, background 160ms ease-out;
}

.lg-input-row:focus-within {
    border-color: oklch(46% 0.175 228);
    background: oklch(99% 0.003 240);
}

.lg-input-row.is-invalid {
    border-color: oklch(55% 0.2 22);
}

.lg-input-row i {
    font-size: 17px;
    color: oklch(56% 0.018 240);
    flex-shrink: 0;
}

.lg-input-row:focus-within i {
    color: oklch(46% 0.175 228);
}

.lg-input-row input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 15px;
    font-family: 'Hanken Grotesk', sans-serif;
    color: oklch(20% 0.02 240);
}

.lg-error {
    font-size: 12.5px;
    font-weight: 600;
    color: oklch(55% 0.2 22);
    margin: 6px 0 0;
}

.lg-submit {
    width: 100%;
    background: oklch(46% 0.175 228);
    color: oklch(99% 0.005 228);
    border: none;
    border-radius: 100px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Hanken Grotesk', sans-serif;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 8px 20px oklch(46% 0.175 228 / 0.32);
    transition: background 160ms ease-out, transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms ease-out;
}

.lg-submit:hover {
    background: oklch(38% 0.18 228);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px oklch(46% 0.175 228 / 0.38);
}

.lg-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    font-size: 13.5px;
}

.lg-links a {
    color: oklch(46% 0.175 228);
    text-decoration: none;
    font-weight: 600;
}

.lg-links a:hover {
    text-decoration: underline;
}

.lg-divider {
    border: none;
    border-top: 1px solid oklch(91% 0.008 240);
    margin: 28px 0 20px;
}

.lg-app-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: oklch(40% 0.018 240);
    text-decoration: none;
    padding: 12px;
    background: oklch(96.5% 0.007 240);
    border-radius: 12px;
    transition: background 160ms ease-out, color 160ms ease-out;
}

.lg-app-link:hover {
    background: oklch(94% 0.035 228);
    color: oklch(38% 0.18 228);
}

.lg-app-link i {
    font-size: 17px;
}

@media (max-width: 880px) {
    .lg-side {
        display: none;
    }
}

@media (max-width: 420px) {
    .lg-form-side {
        padding: 24px 16px;
    }
}
