/* PETROGENIUS - SIGN-IN PAGES (login, customer login, sign up)
   Light brand side with a live fuel dispenser, clean form side.
   Only layout/look: every form field, name and script hook of the page stays as it was. */

body.pgl {
    --pgl-accent: #0B7A8F;
    --pgl-accent-hover: #086577;
    --pgl-accent-soft: rgba(11, 122, 143, .12);
    --pgl-ink: #0F172A;
    --pgl-ink-2: #334155;
    --pgl-muted: #5B6675;
    --pgl-line: #D5DCE3;
    --pgl-deep: #0C2730;
    --pgl-panel: #0E2A31;
    --pgl-tint: #E9F5F7;
    --pgl-font: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --pgl-display: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, sans-serif;
    margin: 0;
    min-height: 100vh;
    background: #F6F8FA;
    color: var(--pgl-ink);
    font: 400 15px/1.5 var(--pgl-font);
    -webkit-font-smoothing: antialiased;
}

body.pgl *,
body.pgl *::before,
body.pgl *::after {
    box-sizing: border-box;
}

body.pgl a {
    color: var(--pgl-accent);
    text-decoration: none;
}

body.pgl a:hover {
    color: var(--pgl-accent-hover);
    text-decoration: underline;
}

body.pgl svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* brand variants start hidden; login-*.css (added by loginpass.js) shows the right one */
body.pgl .mypetrol-content,
body.pgl .codelabFMS-content {
    display: none;
}

/* first paint cover (hidden by loginpass.js once ready) */
body.pgl .loading-block {
    background: #F6F8FA;
    z-index: 2000;
}

body.pgl .loading-block img {
    width: 64px;
    opacity: .8;
}

/* ---------- shell ---------- */
.pgl-shell {
    display: flex;
    min-height: 100vh;
}

/* ---------- brand side ---------- */
.pgl-brand {
    position: relative;
    flex: 0 0 44%;
    max-width: 640px;
    min-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 56px 36px;
    background-color: #EEF4F6;
    border-right: 1px solid #E1E8EB;
    overflow: hidden;
}

.pgl-brand-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pgl-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    background: var(--pgl-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgl-mark svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.pgl-wordmark {
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--pgl-deep);
}

.pgl-pro {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    padding: 3px 7px;
    border-radius: 6px;
    background: #fff;
    color: #0B6676;
    vertical-align: 3px;
}

.pgl-intro {
    position: relative;
}

.pgl-intro h2 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--pgl-deep);
}

.pgl-intro p {
    margin: 0;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.6;
    color: #3E5A62;
}

.pgl-copy {
    position: relative;
    font-size: 12px;
    color: #4A6670;
}

.pgl-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 480px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.pgl-points li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 16px;
    border-left: 1px solid #CFDDE1;
}

.pgl-points li:first-child {
    padding-left: 0;
    border-left: 0;
}

.pgl-points strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--pgl-deep);
}

.pgl-points span {
    font-size: 12px;
    line-height: 1.45;
    color: #4A6670;
}

@media (max-height: 640px) {
    .pgl-points { display: none; }
}
/* ---------- form side ---------- */
.pgl-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 56px;
}

.pgl-top,
.pgl-foot {
    display: flex;
}

.pgl-badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--pgl-accent-soft);
    color: var(--pgl-accent-hover);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.pgl-top {
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    min-height: 36px;
}

body.pgl .pgl-top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #DDE3E8;
    background: #fff;
    color: var(--pgl-ink-2);
    font-size: 13px;
    font-weight: 500;
}

body.pgl .pgl-top-link:hover {
    text-decoration: none;
    color: var(--pgl-ink);
    border-color: #C7D0D8;
}

.pgl-top-link svg {
    width: 15px;
    height: 15px;
}

.pgl-center {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.pgl-card {
    width: 400px;
    max-width: 100%;
}

.pgl-brand-logo {
    display: block;
    width: auto;
}

.pgl-head {
    margin-bottom: 28px;
}

.pgl-head h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--pgl-ink);
}

.pgl-head p {
    margin: 0;
    font-size: 15px;
    color: var(--pgl-muted);
}

.pgl-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pgl-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pgl-field label,
.pgl-label-row label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}

.pgl-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.pgl-label-row a {
    font-size: 13px;
    font-weight: 500;
}

.pgl-input {
    position: relative;
}

.pgl-input > svg {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 17px;
    height: 17px;
    stroke: #64748B;
    pointer-events: none;
}

body.pgl .pgl-input input[type="text"],
body.pgl .pgl-input input[type="email"],
body.pgl .pgl-input input[type="password"],
body.pgl .pgl-input input[type="tel"],
body.pgl .pgl-input select {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border-radius: 10px;
    border: 1px solid var(--pgl-line);
    background: #fff;
    color: var(--pgl-ink);
    font: 400 15px var(--pgl-font);
    outline: none;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}

body.pgl .pgl-input input::placeholder {
    color: #94A3B8;
}

body.pgl .pgl-input input:hover {
    border-color: #B8C3CD;
}

body.pgl .pgl-input input:focus,
body.pgl .pgl-input select:focus {
    border-color: var(--pgl-accent);
    box-shadow: 0 0 0 4px var(--pgl-accent-soft);
}

body.pgl .pgl-input input[type="password"],
body.pgl .pgl-input.pgl-has-eye input {
    padding-right: 48px;
}

.pgl-eye {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pgl-eye:hover {
    background: #F1F5F9;
    color: var(--pgl-ink);
}

.pgl-eye:focus-visible {
    outline: 2px solid var(--pgl-accent);
    outline-offset: 1px;
}

.pgl-eye svg {
    width: 18px;
    height: 18px;
}

.pgl-eye[aria-pressed="true"] {
    color: var(--pgl-accent);
}

body.pgl .pgl-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--pgl-ink-2);
    cursor: pointer;
    user-select: none;
}

body.pgl .pgl-check input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--pgl-accent);
    cursor: pointer;
}

body.pgl .pgl-submit {
    margin-top: 4px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--pgl-accent);
    color: #fff;
    font: 600 15px var(--pgl-font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
    transition: background-color .15s, transform .1s;
}

body.pgl .pgl-submit {
    background: linear-gradient(180deg, #0E8EA4, #0B7A8F);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px rgba(11, 122, 143, .65);
}

body.pgl .pgl-submit:hover {
    background: linear-gradient(180deg, #0B7F94, #086577);
}

body.pgl .pgl-submit:active {
    transform: translateY(1px);
}

body.pgl .pgl-submit:focus-visible {
    outline: 3px solid var(--pgl-accent-soft);
    outline-offset: 2px;
}

.pgl-submit svg {
    width: 17px;
    height: 17px;
    transition: transform .15s;
}

.pgl-submit:hover svg {
    transform: translateX(3px);
}

.pgl-signup {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--pgl-muted);
}

.pgl-signup a {
    font-weight: 600;
}

.pgl-help {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E3E8ED;
}

.pgl-help-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    background: #E6F3F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgl-help-icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--pgl-accent);
}

.pgl-help-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: #475569;
}

.pgl-help-text strong {
    font-weight: 600;
    color: #1E293B;
}

.pgl-foot {
    justify-content: space-between;
    font-size: 12px;
    color: #64748B;
}

.pgl-copy-m {
    display: none;
}

/* ---------- password warning dialog ---------- */
body.pgl .pgl-modal .modal-dialog {
    max-width: 440px;
}

body.pgl .pgl-modal .modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    overflow: visible;
}

body.pgl.modal-open .modal-backdrop.show,
body.pgl .modal-backdrop.show {
    opacity: .45;
    background: #0C2730;
}

.pgl-warn {
    padding: 30px 30px 8px;
    text-align: center;
}

.pgl-warn-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: #FEF3C7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgl-warn-icon svg {
    width: 28px;
    height: 28px;
    stroke: #B45309;
}

.pgl-warn h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--pgl-ink);
}

.pgl-warn p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--pgl-muted);
}

.pgl-warn-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 30px 26px;
}

.pgl-warn-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.pgl .pgl-modal .password-share-btn {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--pgl-accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

body.pgl .pgl-modal .password-share-btn:hover {
    background: var(--pgl-accent-hover);
}

body.pgl .pgl-modal .password-share-btn:focus-visible {
    outline: 3px solid var(--pgl-accent-soft);
    outline-offset: 2px;
}

/* "Please check to continue" bubble from loginchk.css, tidied */
body.pgl input#chkdonotshowpasswordterm.error-input {
    outline: 2px solid #DC2626;
    outline-offset: 2px;
}

/* ---------- PREMIUM DARK BRAND PANEL ---------- */
.pgl-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pgl-brand {
    background: #061418;
    color: #DCE8EB;
    border-right: 0;
    isolation: isolate;
}

/* soft light falling across the panel */
.pgl-brand::before,
.pgl-brand::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.pgl-brand::before {
    right: -180px;
    top: -200px;
    width: 620px;
    height: 620px;
    background: radial-gradient(closest-side, rgba(45, 212, 191, .28), rgba(45, 212, 191, 0));
    animation: pglGlow 9s ease-in-out infinite alternate;
}

.pgl-brand::after {
    left: -220px;
    bottom: -260px;
    width: 640px;
    height: 640px;
    background: radial-gradient(closest-side, rgba(14, 116, 144, .45), rgba(14, 116, 144, 0));
}

@keyframes pglGlow {
    from { transform: translate(0, 0) scale(1); opacity: .85; }
    to { transform: translate(-40px, 30px) scale(1.08); opacity: 1; }
}

/* hairline at the panel's edge */
.pgl-shell > .pgl-brand {
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

.pgl-logo-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px 6px 10px;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}

.pgl-logo-chip .pgl-brand-logo {
    height: 60px;
    margin: 0;
}

.pgl-brand .pgl-wordmark { color: #FFFFFF; }

.pgl-brand .pgl-intro h2 {
    color: #FFFFFF;
    font-size: 38px;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.pgl-sheen {
    background: linear-gradient(100deg, #5EEAD4 0%, #67E8F9 45%, #A7F3D0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pgl-brand .pgl-intro p { color: #9AB3B9; }
.pgl-brand .pgl-copy { color: #6F8A91; }

/* glass product preview, with a second card behind for depth */
.pgl-glass {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-top: 34px;
    padding: 18px 20px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #DCE8EB;
}

.pgl-glass::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: -9px;
    height: 20px;
    z-index: -1;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 0;
}

.pgl-glass-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #8FA9B0;
}

.pgl-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(52, 211, 153, .12);
    color: #6EE7B7;
    font-weight: 600;
}

.pgl-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
    animation: pglPulse 2s ease-out infinite;
}

@keyframes pglPulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
    70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.pgl-up {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(45, 212, 191, .12);
    color: #5EEAD4;
    font-weight: 600;
}

.pgl-glass-kpi {
    margin: 10px 0 14px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
}

.pgl-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.pgl-bars i {
    flex: 1 1 0;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(94, 234, 212, .45), rgba(94, 234, 212, .12));
    transform-origin: bottom;
    animation: pglGrow .7s cubic-bezier(.2, .8, .2, 1) both;
}

.pgl-bars i.pgl-bar-now {
    background: linear-gradient(180deg, #5EEAD4, #14B8A6);
    box-shadow: 0 0 18px rgba(45, 212, 191, .45);
}

.pgl-bars i:nth-child(1) { animation-delay: .35s; }
.pgl-bars i:nth-child(2) { animation-delay: .39s; }
.pgl-bars i:nth-child(3) { animation-delay: .43s; }
.pgl-bars i:nth-child(4) { animation-delay: .47s; }
.pgl-bars i:nth-child(5) { animation-delay: .51s; }
.pgl-bars i:nth-child(6) { animation-delay: .55s; }
.pgl-bars i:nth-child(7) { animation-delay: .59s; }
.pgl-bars i:nth-child(8) { animation-delay: .63s; }
.pgl-bars i:nth-child(9) { animation-delay: .67s; }
.pgl-bars i:nth-child(10) { animation-delay: .71s; }
.pgl-bars i:nth-child(11) { animation-delay: .75s; }
.pgl-bars i:nth-child(12) { animation-delay: .79s; }

@keyframes pglGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.pgl-tanks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.pgl-tanks span {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    font-size: 11px;
}

.pgl-tanks b { font-weight: 600; color: #DCE8EB; }
.pgl-tanks small { justify-self: end; color: #8FA9B0; font-size: 11px; }

.pgl-tanks em {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.pgl-tanks em i {
    display: block;
    width: var(--v);
    height: 100%;
    border-radius: 3px;
    background: #2DD4BF;
    transform-origin: left;
    animation: pglFill 1s cubic-bezier(.2, .8, .2, 1) .6s both;
}

.pgl-tank-low em i { background: #FBBF24; }
.pgl-tank-low small { color: #FCD34D; }

@keyframes pglFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.pgl-brand .pgl-points { margin-top: 30px; }
.pgl-brand .pgl-points li { border-left-color: rgba(255, 255, 255, .10); }
.pgl-brand .pgl-points strong { color: #FFFFFF; }
.pgl-brand .pgl-points span { color: #8FA9B0; }

/* staggered entrance */
.pgl-brand-top,
.pgl-intro,
.pgl-glass,
.pgl-brand .pgl-points {
    animation: pglRise .7s cubic-bezier(.2, .8, .2, 1) both;
}

.pgl-intro { animation-delay: .08s; }
.pgl-glass { animation-delay: .18s; }
.pgl-brand .pgl-points { animation-delay: .3s; }
.pgl-card { animation: pglRise .6s cubic-bezier(.2, .8, .2, 1) .1s both; }

@keyframes pglRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@media (max-height: 760px) {
    .pgl-glass { margin-top: 22px; }
    .pgl-bars { height: 52px; }
    .pgl-brand .pgl-intro h2 { font-size: 34px; }
}

@media (max-height: 680px) {
    .pgl-glass { display: none; }
}

@media (max-width: 980px) {
    .pgl-glass { display: none; }
    .pgl-brand .pgl-intro h2 { font-size: 26px; }
    .pgl-logo-chip .pgl-brand-logo { height: 40px; }
    .pgl-brand::before { width: 420px; height: 420px; right: -160px; top: -200px; }
    .pgl-brand::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pgl-brand::before,
    .pgl-live i,
    .pgl-bars i,
    .pgl-tanks em i,
    .pgl-brand-top,
    .pgl-intro,
    .pgl-glass,
    .pgl-brand .pgl-points,
    .pgl-card { animation: none; }
}
/* ---------- FONTS: Jakarta for headings, Inter for text ---------- */
body.pgl {
    font-feature-settings: "cv11", "ss01";
}

.pgl-intro h2,
.pgl-head h1,
.pgl-wordmark,
.pgl-glass-kpi,
.pgl-warn h3,
.pgl-points strong,
body.pgl .pgl-submit {
    font-family: var(--pgl-display) !important;
}

.pgl-brand .pgl-intro h2 { font-weight: 700; letter-spacing: -.02em; }
.pgl-glass-kpi { font-weight: 700; letter-spacing: -.025em; }

/* ---------- TRY: right side v2 (remove this block to go back) ---------- */
.pgl-main {
    background:
        radial-gradient(520px 360px at 100% 0%, rgba(45, 212, 191, .09), rgba(45, 212, 191, 0) 70%),
        #FFFFFF;
}

.pgl-head h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.pgl-head p { font-size: 15px; color: #64748B; }

.pgl-field label,
.pgl-label-row label {
    font-weight: 500;
    color: #334155;
}

body.pgl .pgl-input input[type="text"],
body.pgl .pgl-input input[type="email"],
body.pgl .pgl-input input[type="password"] {
    height: 50px;
    border-radius: 12px;
    border-color: #E6EBF0;
    background: #F7F9FB;
}

body.pgl .pgl-input input:hover {
    border-color: #D3DBE2;
    background: #F4F7F9;
}

body.pgl .pgl-input input:focus {
    background: #FFFFFF;
    border-color: var(--pgl-accent);
    box-shadow: 0 0 0 4px var(--pgl-accent-soft);
}

.pgl-input > svg { top: 16px; stroke: #94A3B8; }
.pgl-eye { top: 7px; }

body.pgl .pgl-submit {
    height: 52px;
    margin-top: 8px;
    border-radius: 12px;
    font-size: 15.5px !important;
    letter-spacing: -.005em;
}

.pgl-help {
    border: 0;
    border-radius: 14px;
    background: #F7F9FB;
}

.pgl-help-icon { background: #FFFFFF; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }

body.pgl .pgl-top-link {
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    background: transparent;
    color: var(--pgl-accent);
    font-weight: 600;
}

body.pgl .pgl-top-link:hover {
    background: var(--pgl-accent-soft);
    color: var(--pgl-accent-hover);
}

body.pgl .pgl-check input[type="checkbox"] { border-radius: 5px; }

.pgl-byline {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    margin-right: auto;
    font-size: 12px;
    color: #64748B;
}

.pgl-byline span {
    line-height: 1;
    padding-bottom: 4px;
}

.pgl-byline img {
    width: auto;
    height: 24px;
}

@media (max-width: 980px) {
    .pgl-main { background: #F6F8FA; }
    .pgl-top { flex-direction: column; gap: 14px; }
    .pgl-byline { margin-right: 0; }
    .pgl-head h1 { font-size: 24px; }
}
/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
    .pgl-brand { min-width: 460px; padding: 40px 40px 32px; }
    .pgl-main { padding: 28px 40px; }
}

@media (max-width: 980px) {
    .pgl-shell { flex-direction: column; }

    .pgl-brand {
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        gap: 14px;
        padding: 24px 24px 64px;
    }

    .pgl-points { display: none; }
    body.pgl .pgl-brand .pgl-copy { display: none !important; }
    .pgl-main { position: relative; z-index: 1; }

    .pgl-intro h2 { font-size: 26px; margin-bottom: 6px; }
    .pgl-intro p { font-size: 14px; }

    .pgl-main {
        padding: 0 16px 24px;
    }

    .pgl-top {
        order: 3;
        justify-content: center;
        margin-top: 16px;
    }

    .pgl-center {
        padding: 0;
        margin-top: -44px;
    }

    .pgl-card {
        width: 520px;
        padding: 24px 20px;
        border-radius: 18px;
        background: #fff;
        border: 1px solid #E3E8ED;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    }


    .pgl-head { margin-bottom: 20px; }
    .pgl-head h1 { font-size: 22px; }

    body.pgl .pgl-input input[type="text"],
    body.pgl .pgl-input input[type="email"],
    body.pgl .pgl-input input[type="password"] {
        height: 48px;
        font-size: 16px;
    }

    .pgl-foot {
        order: 4;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-top: 18px;
        text-align: center;
    }

    .pgl-copy-m { display: inline; }

    .pgl-warn-foot {
        flex-direction: column;
        align-items: stretch;
    }

    body.pgl .pgl-modal .password-share-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .pgl-card { animation: none; }
}
