* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.lp-body { font-family: "Segoe UI", Calibri, Arial, sans-serif; background: #f4f6fb; color: #1f2d4d; }

.lp-wrap { display: flex; min-height: 100vh; }

/* brand panel */
.lp-brand { flex: 1 1 52%; background: #1f2d4d; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.lp-brand:before, .lp-brand:after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.05); }
.lp-brand:before { width: 420px; height: 420px; right: -140px; top: -120px; }
.lp-brand:after { width: 320px; height: 320px; left: -110px; bottom: -110px; }
.lp-logo { background: #fff; border-radius: 12px; padding: 10px 16px; display: inline-block; align-self: flex-start; position: relative; z-index: 1; }
.lp-logo img { height: 56px; display: block; }
.lp-hero { position: relative; z-index: 1; max-width: 520px; }
.lp-hero h1 { font-size: 38px; line-height: 1.2; font-weight: 600; margin: 0 0 14px; }
.lp-hero p { font-size: 16px; line-height: 1.6; color: #c8d3ee; margin: 0; }
.lp-points { list-style: none; padding: 0; margin: 28px 0 0; }
.lp-points li { font-size: 14px; color: #dfe6f8; padding: 6px 0 6px 28px; position: relative; }
.lp-points li:before { content: "\2713"; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: #1f4fd8; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.lp-copy { font-size: 12px; color: #9fb0d6; position: relative; z-index: 1; }

/* form panel */
.lp-panel { flex: 1 1 48%; display: flex; align-items: center; justify-content: center; padding: 32px 24px; background: #fff; }
.lp-card { width: 100%; max-width: 380px; }
.lp-card h2 { font-size: 26px; font-weight: 600; margin: 0 0 6px; color: #1f2d4d; }
.lp-card .lp-sub { color: #6b7280; font-size: 14px; margin: 0 0 24px; }

.lp-form .lf { position: relative; margin-bottom: 14px; }
.lp-form input[type="text"], .lp-form input[type="password"], .lp-form select {
    width: 100%; height: 46px; border: 1px solid #d3d9e6; border-radius: 8px; background-color: #f8f9fc;
    font-size: 15px; color: #1f2d4d; padding: 0 44px 0 44px; outline: none;
    background-repeat: no-repeat; background-position: 14px center; background-size: 18px; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.lp-form select { padding-right: 14px; }
.lp-form input:focus, .lp-form select:focus { border-color: #1f4fd8; background-color: #fff; box-shadow: 0 0 0 3px rgba(31,79,216,.15); }
.lp-form input.user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.lp-form input.lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.lp-form select.branch { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 9h1M14 9h1M9 13h1M14 13h1M10 21v-4h4v4'/%3E%3C/svg%3E"); }
.lp-form select:disabled { opacity: .6; cursor: not-allowed; }
.lp-form .lf span[id*="ReqFildVal"] { position: absolute; right: 14px; top: 11px; font-weight: 700; }
.lp-form .lf select + span { right: 34px; }
.lp-form .lf-pwd input { padding-right: 70px; }
.lp-form .lf-pwd span[id*="ReqFildVal"] { right: 62px; }
.pw-toggle { position: absolute; right: 12px; top: 0; height: 46px; line-height: 46px; font-size: 12px; font-weight: 600; color: #1f4fd8; cursor: pointer; user-select: none; }

.lp-form .Sbmt { width: 100%; height: 48px; border: 0; border-radius: 8px; background: #1f4fd8; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 6px; transition: background .15s; }
.lp-form .Sbmt:hover { background: #173fb0; }
.lp-form .Sbmt:active { transform: translateY(1px); }
.lp-form .lp-forgot { display: block; text-align: right; margin-top: 14px; font-size: 14px; color: #1f4fd8; text-decoration: none; }
.lp-form .lp-forgot:hover { text-decoration: underline; }
.lp-form .pimg { height: 28px; }

/* small screens: brand panel becomes a slim banner */
@media (max-width: 860px) {
    .lp-wrap { flex-direction: column; }
    .lp-brand { flex: none; padding: 20px 24px; }
    .lp-logo img { height: 40px; }
    .lp-hero { margin-top: 16px; }
    .lp-hero h1 { font-size: 22px; margin-bottom: 6px; }
    .lp-hero p { font-size: 14px; }
    .lp-points, .lp-copy { display: none; }
    .lp-panel { flex: 1; align-items: flex-start; padding: 28px 20px; }
}

/* Forgot / change password pages (plain fieldset with fields directly inside) */
.lp-form fieldset.LgnFieldSet { border: 0; margin: 0; padding: 0; min-width: 0; }
.lp-form fieldset.LgnFieldSet legend { display: none; }
.lp-form fieldset input[type="text"], .lp-form fieldset input[type="password"] { display: block; margin-bottom: 14px; }
.lp-form fieldset input[type="text"][disabled], .lp-form fieldset input[type="password"][disabled] { opacity: .6; cursor: not-allowed; }
.lp-form fieldset span[style*="visibility: hidden"], .lp-form fieldset span[style*="visibility:hidden"] { display: none !important; }
.lp-form fieldset span[id*="Req"], .lp-form fieldset span[id*="Comp"], .lp-form fieldset span[id*="Regex"] { display: block; font-size: 12px; margin: -8px 0 10px; }
.lp-form fieldset span[id*="lblMessage"] { display: block; margin-top: 12px; font-size: 14px; }
