* { box-sizing: border-box; }

body { font-family: 'Inter', sans-serif; margin: 0; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    line-height: 1;
}

.lm-wrap {
    display: flex;
    min-height: 100vh;
    margin: -16px -32px;
}

/* Left brand panel - hidden below 1024px */
.lm-brand {
    display: none;
    width: 50%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 64px;
    border-right: 1px solid rgba(195,198,215,0.3);
}
.lm-brand-inner { position: relative; z-index: 1; text-align: center; max-width: 560px; margin: 0 auto; }

.lm-logo-box {
    margin: 0 auto 48px auto;
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 320px; padding: 24px;
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08);
}
.lm-logo-box img { width: 100%; height: auto; object-fit: contain; transition: transform 0.3s ease; cursor: pointer; }
.lm-logo-box img:hover, .lm-logo-box img:active { transform: scale(1.1); }

.lm-brand h2 { font-size: 40px; line-height: 1.2; font-weight: 700; color: #191c1e; margin: 0 0 24px 0; }
.lm-brand > .lm-brand-inner > p { font-size: 18px; line-height: 1.5; color: #434655; margin: 0 auto 48px auto; }

.lm-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.lm-feature-card {
    padding: 24px; background: rgba(255,255,255,0.6);
    border-radius: 12px; border: 1px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.lm-feature-card .material-symbols-outlined { color: #004ac6; margin-bottom: 12px; display: block; }
.lm-feature-card h4 { font-size: 14px; font-weight: 500; color: #191c1e; margin: 0 0 4px 0; }
.lm-feature-card p { font-size: 13px; color: #434655; margin: 0; }

/* Right form panel */
.lm-form-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #fff;
}
.lm-form-inner { width: 100%; max-width: 420px; }

.lm-mobile-logo { display: flex; justify-content: center; margin-bottom: 48px; }
.lm-mobile-logo img { height: 56px; width: auto; object-fit: contain; }

.lm-heading { margin-bottom: 40px; text-align: center; }
.lm-heading h1 { font-size: 32px; font-weight: 600; color: #191c1e; margin: 0 0 8px 0; }
.lm-heading p { font-size: 16px; color: #434655; margin: 0; }

.lm-field { margin-bottom: 24px; }
.lm-field label { display: block; font-size: 14px; font-weight: 500; color: #434655; margin-bottom: 8px; margin-left: 4px; }
.lm-field-header { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.lm-field-header a { font-size: 12px; font-weight: 600; color: #004ac6; text-decoration: none; }

.lm-input-wrap { position: relative; }
.lm-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #737686; pointer-events: none; }
.lm-input-wrap input {
    width: 100%; padding: 16px 16px 16px 48px;
    background: #f2f4f6; border: 1px solid rgba(195,198,215,0.3);
    border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 16px; color: #191c1e;
    outline: none; transition: all .2s ease;
}
.lm-input-wrap input:focus { background: #fff; border-color: #004ac6; box-shadow: 0 0 0 3px rgba(0,74,198,0.15); }
.lm-toggle-pwd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #737686; cursor: pointer; padding: 4px; }

.lm-remember { display: flex; align-items: center; margin-bottom: 24px; }
.lm-remember input { width: 20px; height: 20px; margin-right: 12px; cursor: pointer; accent-color: #004ac6; }
.lm-remember label { font-size: 14px; color: #434655; cursor: pointer; }

.lm-submit-btn {
    width: 100%; padding: 16px; background: #004ac6; color: #fff;
    border: none; border-radius: 8px; font-family: 'Inter', sans-serif;
    font-size: 18px; font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,74,198,0.2);
    cursor: pointer; transition: all .2s ease;
}
.lm-submit-btn:hover { background: #2563eb; transform: translateY(-1px); }

.lm-signup { text-align: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(195,198,215,0.3); font-size: 16px; color: #434655; }
.lm-signup a { color: #004ac6; font-weight: 500; text-decoration: none; margin-left: 4px; }

.lm-footer { text-align: center; margin-top: 48px; }
.lm-footer p { font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: #737686; opacity: 0.6; margin: 0; }
.lm-footer-links { margin-top: 16px; }
.lm-footer-links a { font-size: 12px; color: #434655; text-decoration: none; margin: 0 12px; }

/* Two-column layout activates at 1024px+ */
@media (min-width: 1024px) {
    .lm-brand { display: flex; }
    .lm-form-side { width: 50%; }
    .lm-mobile-logo { display: none; }
}

.lm-page-footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(195,198,215,0.3);
    background: #fff;
}
.lm-page-footer a {
    font-size: 12px;
    color: #434655;
    text-decoration: none;
    margin: 0 16px;
}
.lm-page-footer a:hover { color: #004ac6; }

.web-footer { display: none !important; }
