/* Adobe XD Portfolio Health Check. All styles are confined to the page content; shared site header and footer retain their layout styles. */
.phc-page {
    --phc-burgundy: #642a38;
    --phc-gold: #c19741;
    --phc-ink: #212529;
    --phc-muted: #707070;
    --phc-line: #eaeaea;
    margin: 0;
    color: var(--phc-ink);
    background: #fff;
    font: 14px/1.5 'Roboto', Arial, sans-serif;
}

.phc-page *,
.phc-page *::before,
.phc-page *::after {
    box-sizing: border-box;
}

.phc-page [hidden] {
    display: none !important;
}

.phc-page button,
.phc-page input,
.phc-page select {
    font: inherit;
}

.phc-page button,
.phc-page a,
.phc-page input,
.phc-page select {
    -webkit-tap-highlight-color: transparent;
}

.phc-page button,
.phc-page a,
.phc-page label[for="phc-file"] {
    cursor: pointer;
}

.phc-page a {
    color: inherit;
}

.phc-page button:focus-visible,
.phc-page a:focus-visible,
.phc-page input:focus-visible,
.phc-page select:focus-visible {
    outline: 3px solid #c1974180;
    outline-offset: 3px;
}

.phc-skip {
    position: fixed;
    left: 12px;
    top: -80px;
    padding: 12px 18px;
    background: #fff;
    z-index: 20;
}

.phc-skip:focus {
    top: 12px;
}

.phc-main {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 46px 32px 108px;
    overflow: hidden;
}

.phc-corner {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.phc-intro {
    text-align: center;
    margin-bottom: 44px;
}

.phc-intro h1 {
    font: 900 48px/1.25 'Playfair Display', Georgia, serif;
    letter-spacing: -.8px;
    margin: 0 0 24px;
    color: #191410;
}

.phc-intro h1 span {
    color: var(--phc-gold);
}

.phc-intro p {
    color: #858585;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.phc-content {
    max-width: 1146px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 574fr) minmax(0, 508fr);
    align-items: start;
    gap: 64px;
}

.phc-form-card {
    border: 1px solid #dedede;
    border-radius: 7px;
    padding: 26px 28px 20px;
}

.phc-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.phc-welcome img {
    flex-shrink: 0;
}

.phc-welcome span {
    color: var(--phc-muted);
    font-size: 12px;
}

.phc-welcome h2 {
    margin: 1px 0 6px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
}

.phc-welcome p {
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

.phc-new-heading {
    font-size: 20px;
    font-weight: 500;
    margin: 2px 0 18px;
}

.phc-form-description {
    color: var(--phc-muted);
    font-size: 14px;
    margin: 0 0 10px;
}

.phc-demo-note {
    color: #8a7780;
    font-size: 11px;
    margin: 0 0 24px;
}

.phc-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.phc-field {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.phc-field-full,
.phc-email-field {
    grid-column: 1 / -1;
}

.phc-new-visitor .phc-email-field {
    grid-column: auto;
}

.phc-field>label,
.phc-field legend {
    display: block;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 7px;
    line-height: 1.45;
}

.phc-field label>span,
.phc-field legend>span {
    color: var(--phc-burgundy);
}

.phc-pan-help {
    position: relative;
    z-index: 3;
}

.phc-pan-label-row {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 7px;
}

.phc-pan-label-row>label {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.phc-pan-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    margin: -7px 0;
    padding: 4px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--phc-burgundy);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.phc-pan-info:focus-visible {
    outline: 2px solid var(--phc-burgundy);
    outline-offset: 2px;
}

.phc-pan-info img {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
}

/* Float above the label, leaving the PAN input and Proceed button unobscured. */
.phc-pan-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    z-index: 30;
    width: 320px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    margin: 0;
    padding: 14px 16px;
    border: 2px solid #292929;
    border-radius: 16px;
    background: #fff;
    box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.16);
    color: var(--phc-ink);
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.phc-pan-tooltip::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    height: 16px;
}

.phc-pan-tooltip::after {
    content: '';
    position: absolute;
    left: calc(var(--phc-pan-arrow, 96px) - 10px);
    bottom: -11px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-right: 2px solid #292929;
    border-bottom: 2px solid #292929;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
    transform: rotate(45deg);
}

.phc-pan-tooltip[hidden] {
    display: none;
}

.phc-field input:not([type="radio"]):not([type="file"]),
.phc-field>select {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 10px 12px;
    border-radius: 9px;
    border: 1px solid var(--phc-line);
    background: #fff;
    color: var(--phc-ink);
    font-size: 12px;
}

.phc-field input::placeholder {
    color: #999;
}

.phc-field input:focus,
.phc-field select:focus {
    border-color: #c19741;
}

.phc-field input[aria-invalid="true"] {
    border-color: #d30020 !important;
}

.phc-phone .intl-tel-input {
    display: block;
    width: 100%;
}

.phc-page .phc-phone .intl-tel-input.separate-dial-code input[type="tel"] {
    padding-left: 112px;
}

.phc-phone .intl-tel-input .selected-flag {
    border-radius: 8px 0 0 8px;
    font-size: 12px;
}

.phc-phone .intl-tel-input .country-list {
    font-size: 12px;
    width: min(420px, calc(100vw - 76px));
    white-space: normal;
}

#phc-pan {
    text-transform: uppercase;
}

.phc-cas legend {
    font-size: 11px;
    white-space: nowrap;
}

.phc-cas-options {
    display: flex;
    gap: 10px;
}

.phc-cas-options label {
    flex: 1;
    position: relative;
}

.phc-cas-options input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.phc-cas-options label span {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid var(--phc-line);
    border-radius: 6px;
    font-size: 11px;
    color: var(--phc-ink);
    cursor: pointer;
}

.phc-cas-options input:checked+span {
    background: #ffd0d3;
    border-color: #ffd0d3;
}

.phc-cas-options input:focus-visible+span {
    outline: 3px solid #c1974180;
    outline-offset: 3px;
}

.phc-dropzone {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    border: 1px solid var(--phc-line);
    border-radius: 8px;
    padding: 3px;
}

.phc-dropzone.phc-dragging {
    border-color: var(--phc-burgundy);
    background: #fff2f2;
}

.phc-browse {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 34px;
    line-height: 18px;
    background: #212529;
    border-radius: 6px;
    color: #fff;
    padding: 8px 18px;
    font-size: 12px;
    z-index: 1;
    flex-shrink: 0;
}

.phc-dropzone>span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #999;
    padding-right: 8px;
}

.phc-dropzone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    cursor: pointer;
}

.phc-dropzone:focus-within {
    outline: 3px solid #c1974180;
    outline-offset: 2px;
}

.phc-file-feedback {
    display: block;
    font-size: 11px;
    color: var(--phc-muted);
    margin-top: 4px;
}

.phc-file-feedback:empty {
    display: none;
}

.phc-file-feedback.phc-error {
    color: #d30020;
}

.phc-consent {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    margin-top: 16px;
    font-size: 10px;
    line-height: 1.5;
    cursor: pointer;
}

.phc-consent input {
    accent-color: var(--phc-burgundy);
    margin: 1px 0 0;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.phc-button {
    display: block;
    width: 100%;
    min-height: 43px;
    background: var(--phc-burgundy);
    color: white;
    border: 1px solid var(--phc-burgundy);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    transition: background .15s;
}

.phc-button:disabled, .phc-resend button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.phc-is-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -3px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: phc-button-spin .7s linear infinite;
}

@keyframes phc-button-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .phc-is-loading::before { animation: none; }
}

.phc-button:hover {
    background: #50212d;
}

.phc-proceed {
    margin-top: 20px;
}

.phc-terms {
    font-size: 10px;
    text-align: center;
    margin: 18px 0 24px;
    line-height: 1.5;
}

.phc-terms a {
    color: var(--phc-burgundy);
    font-weight: 700;
}

.phc-trust {
    display: flex;
    justify-content: center;
    gap: 34px;
    background: #efefef;
    border-radius: 4px;
    padding: 5px 12px;
    color: #a4a4a4;
    font-size: 10px;
}

.phc-trust>span {
    display: flex;
    gap: 6px;
    align-items: center;
}

.phc-trust>span>span {
    font-size: 15px;
}

.phc-location-hint {
    margin: -4px 0;
    background: #fff2f2;
    color: #888;
    font-size: 11px;
    border-radius: 5px;
    padding: 10px 12px;
}

.phc-location-hint[data-state="success"] {
    color: #346c37;
    background: #f0f7ee;
}

.phc-location-hint[data-state="loading"] {
    color: var(--phc-burgundy);
    background: #fffaf4;
}

.phc-pincode-control {
    position: relative;
}

.phc-page .phc-pincode-control input {
    padding-right: 42px !important;
}

.phc-pincode-control button {
    position: absolute;
    right: 3px;
    top: 3px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--phc-burgundy);
}

.phc-pincode-control button:hover {
    background: #fdf2e5;
}

.phc-pincode-control button:disabled {
    cursor: wait;
    opacity: .5;
}

.phc-form-error {
    margin: 14px 0 0;
    color: #d30020;
    font-size: 12px;
}

.phc-benefits {
    position: relative;
    overflow: hidden;
    background: #fffaf4;
    border: 1px solid #e6d1ba;
    border-radius: 7px;
    padding: 30px 32px 112px;
}

.phc-document {
    display: block;
    margin-bottom: 14px;
}

.phc-benefits h2 {
    font: 900 28px/1.3 'Playfair Display', Georgia, serif;
    letter-spacing: -.7px;
    margin: 0 0 18px;
}

.phc-benefits-lead {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 26px;
}

.phc-benefits-description {
    font-size: 12px;
    color: #858585;
    line-height: 1.6;
    margin: 0 0 28px;
}

.phc-benefits h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 16px;
}

.phc-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.phc-benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.phc-benefits li img {
    flex-shrink: 0;
}

.phc-benefits-callout {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 6px;
    background: #fdf2e5;
    position: relative;
    z-index: 1;
}

.phc-benefits-callout img {
    flex-shrink: 0;
}

.phc-benefits-callout h3 {
    margin: 0 0 5px;
    font-size: 12px;
}

.phc-benefits-callout p {
    margin: 0;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

.phc-wave {
    position: absolute;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    pointer-events: none;
}

.phc-modal-open {
    overflow: hidden;
}

.phc-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: #0f0f0f59;
    overflow-y: auto;
}

.phc-dialog {
    width: 470px;
    max-width: 100%;
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    position: relative;
    background: #fff;
    padding: 44px 48px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 10px 35px #0000000d;
}

.phc-close {
    position: absolute;
    right: 20px;
    top: 12px;
    border: 0;
    background: none;
    color: #999;
    font-size: 24px !important;
}

.phc-dialog h2 {
    color: #7f2121;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.phc-dialog-description {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 32px;
}

.phc-otp-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.phc-otp-fieldset legend {
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}

.phc-otp-inputs {
    display: flex;
    gap: 11px;
    justify-content: center;
}

.phc-otp-inputs input {
    width: 48px;
    min-width: 0;
    height: 50px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    text-align: center;
    background: #fefeff;
    font-size: 14px;
}

.phc-otp-inputs.phc-invalid input {
    border-color: #d30020;
}

.phc-otp-error {
    color: #d30020;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    margin: 14px 0;
}

.phc-resend {
    font-size: 12px;
    font-style: italic;
    margin: 25px 0 20px;
}

.phc-resend button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--phc-burgundy);
    font-size: 12px;
    font-style: italic;
    font-weight: 700;
    text-decoration: underline;
}

.phc-international {
    color: #999;
    font-size: 11px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.phc-demo-otp {
    color: var(--phc-burgundy);
    font-size: 11px;
    margin: 0 0 22px;
}

.phc-dialog .phc-button {
    font-size: 12px;
    font-weight: 700;
}

.phc-button-outline {
    color: var(--phc-burgundy);
    background: #fffdfe;
    margin-top: 20px;
}

.phc-button-outline:hover {
    background: #fff2f2;
}

.phc-success {
    padding: 66px 48px 40px;
}

.phc-success-icon {
    background: #48c65a;
    color: white;
    width: 72px;
    height: 72px;
    font: 700 50px/72px Arial, sans-serif;
    border-radius: 50%;
    margin: 12px auto 54px;
    animation: phc-success-in .3s ease-out;
}

.phc-success h2 {
    color: #48a037;
    font-size: 20px;
    margin-bottom: 22px;
}

.phc-success>p:not(.phc-demo-note) {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.phc-success .phc-button {
    width: 60%;
    margin: 30px auto 0;
}

@keyframes phc-success-in {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1150px) {
    .phc-content {
        gap: 32px;
    }

    .phc-form-card {
        padding: 24px;
    }

    .phc-benefits {
        padding: 28px 24px 105px;
    }

    .phc-benefits h2 {
        font-size: 25px;
    }

    .phc-cas legend {
        white-space: normal;
    }
}

@media (max-width: 850px) {
    .phc-main {
        padding: 42px 24px 64px;
    }

    .phc-intro h1 {
        font-size: 38px;
    }

    .phc-intro p {
        font-size: 14px;
    }

    .phc-content {
        max-width: 574px;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .phc-benefits h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .phc-main {
        padding: 46px 18px 48px;
    }

    .phc-corner {
        transform: scale(.65);
        transform-origin: top left;
    }

    .phc-intro {
        margin-bottom: 30px;
    }

    .phc-intro h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .phc-intro p {
        font-size: 13px;
    }

    .phc-desktop-break {
        display: none;
    }

    .phc-form-card {
        padding: 22px 18px 18px;
    }

    .phc-welcome {
        gap: 10px;
    }

    .phc-welcome h2 {
        font-size: 18px;
    }

    .phc-welcome p {
        font-size: 11px;
    }

    .phc-form-description {
        font-size: 12px;
    }

    .phc-fields {
        gap: 16px 12px;
    }

    .phc-cas {
        grid-column: 1 / -1;
    }

    .phc-field:has(#phc-pan) {
        grid-column: 1 / -1;
    }

    .phc-new-visitor .phc-fields>.phc-field {
        grid-column: 1 / -1;
    }

    .phc-benefits {
        padding: 26px 22px 105px;
    }

    .phc-benefits h2 {
        font-size: 26px;
    }

    .phc-benefits-callout {
        padding: 14px;
        gap: 10px;
    }

    .phc-dialog {
        padding: 40px 24px 30px;
        border-radius: 28px;
    }

    .phc-dialog-description br,
    .phc-international br {
        display: none;
    }

    .phc-otp-inputs {
        gap: 8px;
    }

    .phc-otp-inputs input {
        flex: 1;
        max-width: 48px;
        height: 46px;
    }

    .phc-success-icon {
        margin-bottom: 32px;
    }

    .phc-success .phc-button {
        width: 70%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phc-page * {
        animation: none !important;
        transition: none !important;
    }
}
