*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f5faf6;
}

/* ─── Left brand panel ─── */
.lp-brand {
    width: 42%;
    background: #1a5c2a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 48px 36px;
}

/* decorative circles */
.lp-deco {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.10);
    pointer-events: none;
}

.lp-deco-1 {
    width: 340px;
    height: 340px;
    top: -100px;
    right: -100px;
}

.lp-deco-2 {
    width: 220px;
    height: 220px;
    bottom: -60px;
    left: -70px;
}

.lp-deco-3 {
    width: 140px;
    height: 140px;
    bottom: 90px;
    right: 36px;
    background: rgba(184,134,11,0.08);
    border-color: rgba(184,134,11,0.22);
}

.lp-brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* Logo ring */
.lp-logo-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,0.28);
    overflow: hidden;
    margin: 0 auto 22px;
}

    .lp-logo-ring img {
        width: 100%;
        height: 100%;
        display: block;
    }

.lp-brand-name {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 5px;
    color: #fff;
    margin-bottom: 6px;
}

.lp-brand-tagline {
    font-size: 12.5px;
    color: rgba(255,255,255,0.68);
    font-style: italic;
    margin-bottom: 22px;
}

/* Golden accent divider */
.lp-divider {
    width: 48px;
    height: 3px;
    background: #b8860b;
    border-radius: 2px;
    margin: 0 auto 22px;
}

.lp-brand-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.58);
    line-height: 1.7;
    max-width: 230px;
    margin: 0 auto;
}

/* ─── Right form panel ─── */
.lp-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: #fff;
}

.lp-form-wrap {
    width: 100%;
    max-width: 360px;
}

/* Small logo above form title (mobile / brand reinforcement) */
.lp-form-logo {
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e8f5e9;
    border: 2px solid #b8d6be;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .lp-form-logo img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

.lp-greeting {
    font-size: 24px;
    font-weight: 700;
    color: #1a5c2a;
    margin-bottom: 4px;
}

.lp-subtitle {
    font-size: 13px;
    color: #999;
    margin-bottom: 30px;
}

/* Fields */
.lp-field {
    margin-bottom: 18px;
}

.lp-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.lp-input-wrap {
    position: relative;
}

.lp-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 13px;
    pointer-events: none;
    transition: color 0.18s;
}

.lp-input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1.5px solid #e2e8e4;
    border-radius: 8px;
    font-size: 13.5px;
    color: #333;
    background: #fafcfb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

    .lp-input:focus {
        border-color: #1a5c2a;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(26,92,42,0.10);
    }

        .lp-input:focus + .lp-input-icon,
        .lp-input-wrap:focus-within .lp-input-icon {
            color: #1a5c2a;
        }

/* Remember me */
.lp-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
}

    .lp-remember input[type="checkbox"] {
        accent-color: #1a5c2a;
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

    .lp-remember label {
        font-size: 13px;
        color: #666;
        cursor: pointer;
    }

/* Submit button */
.lp-btn {
    width: 100%;
    padding: 12px;
    background: #1a5c2a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s, transform 0.12s;
}

    .lp-btn:hover {
        background: #164d23;
        transform: translateY(-1px);
    }

    .lp-btn:active {
        transform: translateY(0);
    }

/* Error */
.lp-error {
    margin-top: 18px;
    padding: 11px 14px;
    background: #fff4f4;
    border: 1px solid #f5c6c6;
    border-left: 3px solid #c0392b;
    border-radius: 7px;
    color: #c0392b;
    font-size: 13px;
}

/* Footer caption */
.lp-footer {
    margin-top: 32px;
    font-size: 11.5px;
    color: #ccc;
    text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .lp-brand {
        width: 100%;
        padding: 36px 24px;
    }

    .lp-brand-content { /* compact on mobile */
    }

    .lp-logo-ring {
        width: 80px;
        height: 80px;
        margin-bottom: 14px;
    }

        .lp-logo-ring img {
            width: 50px;
            height: 50px;
        }

    .lp-brand-name {
        font-size: 22px;
    }

    .lp-brand-desc {
        display: none;
    }

    .lp-form-panel {
        padding: 36px 24px;
    }

    .lp-form-logo {
        display: flex;
    }
}