/* PETROGENIUS - SIGN UP (company registration)
   Restyles SignUp.aspx in the sign-in pages' look. Loaded after stylesignup.css;
   every field, popup and script hook of the page is untouched. */

body.pgs {
    --pgs-accent: #0B7A8F;
    --pgs-accent-hover: #086577;
    --pgs-accent-soft: rgba(11, 122, 143, .12);
    --pgs-ink: #0F172A;
    --pgs-ink-2: #334155;
    --pgs-muted: #5B6675;
    --pgs-line: #D5DCE3;
    --pgs-deep: #0C2730;
    --pgs-font: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --pgs-display: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, sans-serif;
    margin: 0;
    background: #F6F8FA;
    color: var(--pgs-ink);
    font-family: var(--pgs-font);
    -webkit-font-smoothing: antialiased;
}

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

/* ---------- page and card ---------- */
body.pgs .page-content {
    height: auto;
    min-height: 100vh;
    padding: 20px 24px;
    background: #F6F8FA;
}

body.pgs .page-content::before,
body.pgs .page-content::after {
    display: none;
}

body.pgs .form-v10-content {
    width: 1200px;
    max-width: 100%;
    margin: 0;
    border-radius: 18px;
    border: 1px solid #E3E8ED;
    box-shadow: 0 20px 48px -24px rgba(12, 39, 48, .25);
    font-family: var(--pgs-font);
}

body.pgs .form-v10-content .form-detail {
    align-items: stretch;
}

/* ---------- brand panel (left) ---------- */
body.pgs .form-v10-content .form-detail .form-right {
    flex: 0 0 380px;
    width: 380px;
    background: #EEF4F6;
    border-right: 1px solid #E1E8EB;
    border-radius: 18px 0 0 18px;
}

.pgs-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    height: 100%;
    padding: 26px 32px;
}

body.pgs .pgs-logo {
    display: block;
    align-self: flex-start;
    width: auto !important;
    max-width: none;
    height: 68px;
    margin: -8px 0 0 -6px;
}

body.pgs .pgs-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--pgs-deep);
}

body.pgs .pgs-hero p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #3E5A62;
}

.pgs-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.pgs-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pgs-steps b {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #CFDDE1;
    color: var(--pgs-accent);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.pgs .pgs-steps span {
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: #4A6670;
    font-size: 13px;
}

body.pgs .pgs-steps strong {
    color: var(--pgs-deep);
    font-size: 14px;
    font-weight: 600;
}

body.pgs .pgs-copy {
    font-size: 12px;
    line-height: 1.5;
    color: #4A6670;
}

/* ---------- premium dark brand panel (matches the sign-in pages) ---------- */
body.pgs .form-v10-content .form-detail .form-right {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #061418;
    border-right: 0;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

body.pgs .form-v10-content .form-detail .form-right::before,
body.pgs .form-v10-content .form-detail .form-right::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

body.pgs .form-v10-content .form-detail .form-right::before {
    right: -220px;
    top: -220px;
    width: 520px;
    height: 520px;
    background: radial-gradient(closest-side, rgba(45, 212, 191, .26), rgba(45, 212, 191, 0));
}

body.pgs .form-v10-content .form-detail .form-right::after {
    left: -220px;
    bottom: -240px;
    width: 520px;
    height: 520px;
    background: radial-gradient(closest-side, rgba(14, 116, 144, .45), rgba(14, 116, 144, 0));
}

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

body.pgs .pgs-logo-chip .pgs-logo {
    height: 54px;
    margin: 0;
}

body.pgs .pgs-hero h1 { color: #FFFFFF; font-size: 28px; text-wrap: balance; }
body.pgs .pgs-hero p { color: #9AB3B9; }

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

body.pgs .pgs-steps b {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: #5EEAD4;
}

body.pgs .pgs-steps span { color: #8FA9B0; }
body.pgs .pgs-steps strong { color: #FFFFFF; }
body.pgs .pgs-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #6F8A91;
}

body.pgs .pgs-copy span {
    color: #6F8A91;
    font-weight: 400;
}

body.pgs .pgs-copy b {
    font-weight: 500;
    white-space: nowrap;
    color: #9AB3B9;
}

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

body.pgs .register:hover {
    background: linear-gradient(180deg, #0B7F94, #086577) !important;
}

.pgs-brand > * { animation: pgsRise .7s cubic-bezier(.2, .8, .2, 1) both; }
.pgs-brand > :nth-child(2) { animation-delay: .1s; }
.pgs-brand > :nth-child(3) { animation-delay: .2s; }

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

@media (prefers-reduced-motion: reduce) {
    .pgs-brand > * { animation: none; }
}
/* ---------- form side ---------- */
body.pgs .form-v10-content .form-detail .form-left {
    flex: 1 1 auto;
    min-width: 0;
    padding: 26px 36px 24px;
    border-radius: 0 18px 18px 0;
}

.pgs-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

body.pgs .form-v10-content .form-detail .form-left .pgs-head h2 {
    margin: 0 0 6px;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--pgs-ink);
}

body.pgs .form-tagline {
    margin: 0;
    padding: 0;
    background: none;
    color: var(--pgs-muted);
    font-size: 14px;
}

body.pgs .pgs-signin {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #DDE3E8;
    background: #FFFFFF;
    color: var(--pgs-ink-2);
    font-size: 13px;
    text-decoration: none;
}

body.pgs .pgs-signin span {
    color: var(--pgs-accent);
    font-weight: 600;
}

body.pgs .pgs-signin:hover {
    border-color: #C7D0D8;
}

/* the old link beside Register is replaced by the one in the header */
body.pgs .alreadyregister.display-inline {
    display: none;
}

/* two-column field grid */
body.pgs .form-v10-content .form-detail .form-group {
    gap: 12px;
    margin-bottom: 12px;
}

body.pgs .form-v10-content .form-detail .form-row,
body.pgs .form-v10-content .form-detail .form-left .form-group .form-row.form-row-1,
body.pgs .form-v10-content .form-detail .form-left .form-group .form-row.form-row-2 {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Pincode + Plan Type share one column: split it evenly */
body.pgs .form-row:has(> div[style*="float"]) {
    display: flex;
    gap: 12px;
}

body.pgs .form-row > div[style*="float"] {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
}
/* boxed fields with a floating label inside */
body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]),
body.pgs .form-v10-content .form-detail .form-left select {
    height: 46px;
    padding: 17px 12px 3px;
    border: 1px solid var(--pgs-line);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--pgs-ink);
    font: 400 15px var(--pgs-font);
    transition: border-color .15s, box-shadow .15s;
}

body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]):hover,
body.pgs .form-v10-content .form-detail .form-left select:hover {
    border-color: #B8C3CD;
}

body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]):focus,
body.pgs .form-v10-content .form-detail .form-left select:focus {
    border-color: var(--pgs-accent);
    box-shadow: 0 0 0 4px var(--pgs-accent-soft);
}

body.pgs .form-v10-content .form-detail .form-left select {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

body.pgs .form-v10-content select {
    padding-left: 12px !important;
}

body.pgs .form-v10-content .form-detail .select-btn {
    display: none;
}

body.pgs .form-row .fake-placeholder {
    left: 13px;
    top: 13px;
    width: auto;
    right: 12px;
    z-index: 10;
    color: #64748B;
    font-size: 14px;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: top .15s, font-size .15s, color .15s;
}

body.pgs .form-row input:focus + span.fake-placeholder,
body.pgs .form-row select:focus + span.fake-placeholder,
body.pgs .form-row input:not(:placeholder-shown) + span.fake-placeholder,
body.pgs .form-row select + span.fake-placeholder.active {
    top: 5px !important;
    font-size: 11px !important;
    font-weight: 500;
    color: #64748B !important;
    z-index: 10;
}

body.pgs .form-row input:focus + span.fake-placeholder,
body.pgs .form-row select:focus + span.fake-placeholder {
    color: var(--pgs-accent) !important;
}

body.pgs .required ~ span.fake-placeholder::after {
    left: 3px;
    color: #DC2626;
}

/* inline actions and messages that sit inside a field */
body.pgs .floating-right-controls,
body.pgs #VerifiedOTP,
body.pgs .floating-right-controls-not-available,
body.pgs .floating-right-controls-not-available-email,
body.pgs .floating-right-controls-not-available-gstinno {
    top: 2px;
    right: 10px;
    height: 38px;
    margin: 0;
    align-items: center;
    z-index: 11;
    font-size: 12px;
}

body.pgs .floating-right-controls.show,
body.pgs .floating-right-controls-not-available.show,
body.pgs .floating-right-controls-not-available-email.show,
body.pgs .floating-right-controls-not-available-gstinno.show {
    display: flex;
}

body.pgs #VerifiedOTP {
    display: flex;
    gap: 4px;
    color: #15803D;
    font-weight: 600;
}

body.pgs .floating-right-controls-not-available.show,
body.pgs .floating-right-controls-not-available-email.show,
body.pgs .floating-right-controls-not-available-gstinno.show {
    gap: 4px;
    padding-left: 8px;
    background: #FFFFFF;
    color: #DC2626;
}

body.pgs .otp-link-btn {
    padding: 0;
    color: var(--pgs-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

body.pgs .otp-link-btn:hover {
    color: var(--pgs-accent-hover);
}

body.pgs .floating-right-controls .otp-link-btn {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--pgs-accent-soft);
}

body.pgs .upload-document-here {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 12px;
}

/* password rules card: checklist + segmented strength bar */
body.pgs span.input-hint {
    left: 0;
    width: 320px;
    max-width: calc(100vw - 48px);
    padding: 14px 16px 16px;
    border: 1px solid #E6EBF0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .28);
}

body.pgs span.input-hint::after {
    top: -6px;
    left: 24px;
    width: 10px;
    height: 10px;
    border: 0;
    background: #FFFFFF;
    border-left: 1px solid #E6EBF0;
    border-top: 1px solid #E6EBF0;
    transform: rotate(45deg);
}

body.pgs input:focus + span + span.input-hint {
    top: 54px;
    padding-bottom: 16px;
}

body.pgs ul.password-validation-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.pgs ul.password-validation-type li:first-child {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    padding: 0;
    border: 0;
    font-family: var(--pgs-display);
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pgs-ink);
}

body.pgs ul.password-validation-type li:not(:first-child) {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.3;
    color: #64748B;
    white-space: nowrap;
}

body.pgs ul.password-validation-type li.pass-len {
    grid-column: 1 / -1;
}

/* state icon: empty circle -> green tick, soft red cross when typed but not met */
body.pgs ul.password-validation-type li i {
    flex: 0 0 14px;
    width: 14px;
    font-size: 14px;
    text-align: center;
    color: #CBD5E1;
    animation: none;
    transition: color .15s;
}

body.pgs ul.password-validation-type li i::before { content: "\f10c"; }

body.pgs ul.password-validation-type li i.password-valid { color: #16A34A; animation: pgsTick .25s ease-out; }
body.pgs ul.password-validation-type li i.password-valid::before { content: "\f058"; }
body.pgs ul.password-validation-type li:has(i.password-valid) { color: var(--pgs-ink); }

body.pgs ul.password-validation-type li i.password-invalid { color: #F87171; }
body.pgs ul.password-validation-type li i.password-invalid::before { content: "\f057"; }

@keyframes pgsTick { from { transform: scale(.6); } to { transform: scale(1); } }

/* strength: the marker the page's script moves now reveals a red -> amber -> green bar in four segments */
body.pgs li.password-meter {
    grid-column: 1 / -1;
    display: block !important;
    position: static;
    margin-top: 6px !important;
    padding-top: 12px;
    border-top: 1px solid #EEF2F4;
}

body.pgs .password-meter a.password-meter-range {
    position: relative;
    float: none;
    display: block;
    width: 100%;
    max-width: none;
    height: 6px;
    border-radius: 3px;
    box-shadow: none;
    overflow: hidden;
    background: linear-gradient(90deg, #EF4444 0%, #F59E0B 45%, #22C55E 85%, #16A34A 100%);
}

body.pgs .password-meter a.password-meter-range i { display: none; }

body.pgs a.password-meter-range needle {
    position: absolute;
    top: 0;
    width: 0;
    height: 6px;
    border: 0;
    text-shadow: none;
    box-shadow: 0 0 0 600px #E8EDF1, 600px 0 0 600px #E8EDF1;
    clip-path: inset(0 -1000px 0 0);
    transition: left .35s cubic-bezier(.2, .8, .2, 1);
}

/* gaps that split the bar into four segments */
body.pgs .password-meter a.password-meter-range::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 2px), #FFFFFF calc(25% - 2px) 25%);
    pointer-events: none;
}

body.pgs .password-meter a.password-meter-text { display: none; }
/* plan help tooltip */
body.pgs .plan-detail {
    border: 1px solid #E3E8ED;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 14px 32px -12px rgba(15, 23, 42, .25);
}

/* terms */
body.pgs .form-row.text-left {
    margin-top: 4px;
}

body.pgs input[type=checkbox] + label {
    display: block;
    position: relative;
    margin: 0;
    padding: 0 0 0 28px;
    line-height: 20px;
    font-size: 13px !important;
    color: var(--pgs-ink-2);
}

body.pgs input[type=checkbox] + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 1.5px solid #94A3B8;
    border-radius: 5px;
    background: #FFFFFF center / 12px no-repeat;
    transition: background-color .15s, border-color .15s;
}

body.pgs input[type=checkbox]:checked + label:before {
    border-color: var(--pgs-accent);
    background-color: var(--pgs-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

body.pgs input[type=checkbox] + label a {
    color: var(--pgs-accent);
    text-decoration: none;
    font-weight: 500;
}

/* register */
body.pgs .form-v10-content .form-detail .form-row[style] {
    padding-bottom: 0 !important;
}

body.pgs .register {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 200px;
    height: 44px;
    margin: 4px 0 0 !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    background: var(--pgs-accent) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .12) !important;
    color: #FFFFFF !important;
    font: 600 15px var(--pgs-font) !important;
    text-decoration: none;
}

body.pgs .register:hover {
    background: var(--pgs-accent-hover) !important;
}

body.pgs .error-msg {
    color: #DC2626;
    font-size: 13px;
}

/* browser-autofilled fields: keep the boxed look and lift the label */
body.pgs .form-v10-content .form-detail .form-left input:-webkit-autofill,
body.pgs .form-v10-content .form-detail .form-left input:-webkit-autofill:hover {
    border: 1px solid var(--pgs-line) !important;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
    -webkit-text-fill-color: var(--pgs-ink);
    caret-color: var(--pgs-ink);
}

body.pgs .form-v10-content .form-detail .form-left input:-webkit-autofill:focus {
    border-color: var(--pgs-accent) !important;
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset, 0 0 0 4px var(--pgs-accent-soft) !important;
}

body.pgs .form-row input:-webkit-autofill + span.fake-placeholder {
    top: 5px !important;
    font-size: 11px !important;
    font-weight: 500;
    color: #64748B !important;
    z-index: 10;
}

/* short screens: tighten further so the whole form fits without scrolling */
@media (max-height: 760px) and (min-width: 861px) {
    body.pgs { --pgs-field-h: 42px; }
    body.pgs .page-content { padding: 12px 24px; }
    body.pgs .form-v10-content .form-detail .form-left { padding: 20px 32px 18px; }
    .pgs-head { margin-bottom: 14px; }
    body.pgs .form-v10-content .form-detail .form-group { gap: 10px; margin-bottom: 10px; }
    body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]),
    body.pgs .form-v10-content .form-detail .form-left select { height: 42px; padding-top: 15px; }
    body.pgs .form-row .fake-placeholder { top: 11px; }
    body.pgs .form-row input:focus + span.fake-placeholder,
    body.pgs .form-row select:focus + span.fake-placeholder,
    body.pgs .form-row input:not(:placeholder-shown) + span.fake-placeholder,
    body.pgs .form-row select + span.fake-placeholder.active,
    body.pgs .form-row input:-webkit-autofill + span.fake-placeholder { top: 3px !important; }
    .pgs-steps { gap: 12px; margin-top: 18px; }
}

/* ---------- reset password page (ForgotPassword.aspx) ---------- */
body.pgs .form-v10-content.small-card {
    width: 940px;
    max-width: 100%;
}

body.pgs.pgs-reset .form-v10-content .form-detail .form-right {
    flex-basis: 360px;
    width: 360px;
}

body.pgs.pgs-reset .form-v10-content .form-detail .form-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 40px;
}

body.pgs.pgs-reset .form-row:has(> div[style*="float"]) {
    align-items: center;
    gap: 10px;
}

body.pgs.pgs-reset .form-row > div[style*="float"] {
    flex: 0 0 auto;
}

/* captcha shown as a chip next to its refresh button */
body.pgs #lblCaptcha {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 140px;
    height: var(--pgs-field-h, 46px) !important;
    padding: 0 18px !important;
    border: 1px dashed #94A3B8 !important;
    border-radius: 10px !important;
    background: repeating-linear-gradient(135deg, #F8FAFC 0 8px, #EEF2F6 8px 16px) !important;
    color: #0F172A !important;
    font: italic 700 19px/1 Verdana, var(--pgs-font) !important;
    letter-spacing: .18em;
    user-select: none;
}

body.pgs input#btnimage {
    float: none !important;
    display: block;
    width: var(--pgs-field-h, 46px) !important;
    height: var(--pgs-field-h, 46px) !important;
    margin: 0;
    padding: 10px !important;
    border: 1px solid #E6EBF0 !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.pgs input#btnimage:hover {
    border-color: var(--pgs-accent) !important;
    background: #F1F8FA !important;
}

body.pgs input#btnimage {
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .15s, background-color .15s;
}

body.pgs input#btnimage:active {
    transform: rotate(180deg);
}

body.pgs .pgs-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px !important;
}

body.pgs .pgs-actions .register {
    width: 100% !important;
}

body.pgs .verification-complete {
    border-color: #86EFAC !important;
    background: #F0FDF4 !important;
}
@media (max-width: 860px) {
    body.pgs .pgs-brand { justify-content: flex-start; height: auto; }
    body.pgs.pgs-reset .form-v10-content .form-detail .form-right { flex-basis: auto; width: auto; }
    body.pgs.pgs-reset .form-v10-content .form-detail .form-left { padding: 22px 18px 26px; }
}
/* ---------- FONTS: Jakarta for headings, Inter for text ---------- */
body.pgs { font-feature-settings: "cv11", "ss01"; }

body.pgs .pgs-hero h1,
body.pgs .form-v10-content .form-detail .form-left .pgs-head h2,
body.pgs .popup h2,
body.pgs .register {
    font-family: var(--pgs-display) !important;
}

body.pgs .pgs-hero h1 { font-weight: 700; letter-spacing: -.02em; }

/* calmer brand panel: lighter steps, more air */
body.pgs .pgs-hero h1 { font-size: 26px; line-height: 1.22; margin-bottom: 12px; }
body.pgs .pgs-hero p { font-size: 13.5px; line-height: 1.65; color: #8FA9B0; max-width: 300px; }

body.pgs .pgs-steps {
    gap: 14px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

body.pgs .pgs-steps li { gap: 11px; }

body.pgs .pgs-steps b {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    margin-top: 1px;
    font-size: 10.5px;
    border-color: rgba(94, 234, 212, .35);
    background: transparent;
}

body.pgs .pgs-steps span { gap: 2px; font-size: 12px; line-height: 1.4; color: #7F99A0; }
body.pgs .pgs-steps strong { font-size: 13px; font-weight: 600; color: #E6F0F2; }
/* ---------- TRY: right side v2 (remove this block to go back) ---------- */
body.pgs .form-v10-content .form-detail .form-left {
    background:
        radial-gradient(480px 320px at 100% 0%, rgba(45, 212, 191, .08), rgba(45, 212, 191, 0) 70%),
        #FFFFFF;
}

body.pgs .form-v10-content .form-detail .form-left .pgs-head h2 {
    font-size: 26px;
    letter-spacing: -.02em;
}

body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]):not([type="image"]),
body.pgs .form-v10-content .form-detail .form-left select {
    border-color: #E6EBF0;
    border-radius: 12px;
    background-color: #F7F9FB;
}

body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]):not([type="image"]):hover,
body.pgs .form-v10-content .form-detail .form-left select:hover {
    border-color: #D3DBE2;
}

body.pgs .form-v10-content .form-detail .form-left input:not([type="checkbox"]):not([type="file"]):not([type="image"]):focus,
body.pgs .form-v10-content .form-detail .form-left select:focus {
    background-color: #FFFFFF;
}

body.pgs .register { border-radius: 12px !important; }

body.pgs .pgs-back {
    gap: 7px;
}

body.pgs .pgs-back svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--pgs-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .15s;
}

body.pgs .pgs-back:hover svg {
    transform: translateX(-3px);
}

body.pgs .pgs-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

body.pgs .pgs-byline {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    font-size: 12px;
    color: #64748B;
}

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

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

body.pgs .pgs-signin {
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    background: transparent;
}

body.pgs .pgs-signin:hover {
    background: var(--pgs-accent-soft);
}
/* ---------- popups (OTP, document, plan) ---------- */
body.pgs .popup {
    width: 440px;
    max-width: calc(100vw - 32px);
    padding: 0 24px 22px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    font-family: var(--pgs-font);
}

body.pgs .popup.active {
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

body.pgs .popup h2 {
    margin: 0 -24px 20px !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid #EEF2F4;
    border-radius: 16px 16px 0 0;
    background: none !important;
    color: var(--pgs-ink) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body.pgs .popup .close {
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    color: #64748B;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
}

body.pgs .popup .close:hover {
    background: #F1F5F9;
    color: var(--pgs-ink);
}

body.pgs .popup input:not([type="file"]) {
    height: 48px;
    padding: 0 14px !important;
    border: 1px solid var(--pgs-line);
    border-radius: 10px;
    font-size: 15px;
}

body.pgs .popup .fake-placeholder {
    display: none;
}

body.pgs .popup .inline-block {
    margin-bottom: 12px;
}

body.pgs .popup button,
body.pgs .btn-common {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 6px 4px 0;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--pgs-accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

body.pgs .btn-common:hover {
    background: var(--pgs-accent-hover);
}

body.pgs .close-popup {
    background: rgba(12, 39, 48, .45);
}

body.pgs .popup table th,
body.pgs .popup table td {
    padding: 8px 10px;
    border: 1px solid #E3E8ED;
    font-size: 13px;
}

body.pgs .popup table th {
    background: #F8FAFB;
    color: var(--pgs-muted);
    font-weight: 600;
}

body.pgs #Progressbar {
    background: rgba(246, 248, 250, .75);
}

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
    body.pgs .form-v10-content .form-detail .form-right {
        flex-basis: 320px;
        width: 320px;
    }

    .pgs-brand { padding: 28px; }
    body.pgs .form-v10-content .form-detail .form-left { padding: 28px; }
}

@media (max-width: 860px) {
    body.pgs .page-content { padding: 16px; align-items: flex-start; }

    body.pgs .form-v10-content .form-detail { flex-direction: column; }

    body.pgs .form-v10-content .form-detail .form-right {
        flex: 0 0 auto;
        width: auto;
        border-right: 0;
        border-bottom: 1px solid #E1E8EB;
        border-radius: 18px 18px 0 0;
    }

    .pgs-brand { gap: 14px; padding: 22px; }
    .pgs-steps,
    body.pgs .pgs-copy { display: none; }
    body.pgs .pgs-logo-chip .pgs-logo { height: 42px; }
    body.pgs .pgs-hero h1 { font-size: 22px; }
    body.pgs .pgs-hero p { font-size: 14px; }

    body.pgs .form-v10-content .form-detail .form-left {
        padding: 22px 18px 26px;
        border-radius: 0 0 18px 18px;
    }

    .pgs-head { flex-direction: column; }

    body.pgs .form-v10-content .form-detail .form-group {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 14px;
    }

    body.pgs .form-v10-content .form-detail .form-row,
    body.pgs .form-v10-content .form-detail .form-left .form-group .form-row.form-row-1,
    body.pgs .form-v10-content .form-detail .form-left .form-group .form-row.form-row-2 {
        flex: 0 0 auto;
        width: 100%;
    }

    body.pgs .register { width: 100% !important; }
}

