:root {
    --dp-navy: #1c1c34;
    --dp-yellow: #1fa96a;
    --dp-green: #1fa96a;
    --dp-green-dark: #14824f;
    --dp-red: #e5484d;
    --dp-bg-soft: #f8f9fc;
    --dp-border: #e6e8f0;
    --dp-muted: #6b6f8a;
    --dp-text: #1c1c34;
}

#dealplex-onboarding-form * {
    box-sizing: border-box;
}

#dealplex-onboarding-form {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--dp-text);
}

#dealplex-onboarding-form a {
    text-decoration: none;
}

#dealplex-onboarding-form input,
#dealplex-onboarding-form select,
#dealplex-onboarding-form textarea {
    font-family: inherit;
}

#dealplex-onboarding-form .hidden {
    display: none !important;
}

#dealplex-onboarding-form .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ TOP HEADER ============ */
/* =========================================================
   DEALPLEX PARTNER HEADER
   ========================================================= */

#dealplex-onboarding-form .dp-header {
    width: 100%;
    height: 88px;
    min-height: 88px;

    background: #ffffff;
    border-bottom: 1px solid #e4e7eb;

    padding: 0 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 100;
}

/* Left logo */
#dealplex-onboarding-form .dp-header .navbar-bottom-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

#dealplex-onboarding-form .dp-header .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

#dealplex-onboarding-form .dp-header .logo img {
    display: block;

    width: 335px;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}

/* Right side */
#dealplex-onboarding-form .dp-header-actions {
    display: flex;
    align-items: center;
    gap: 42px;
}

/* Support */
#dealplex-onboarding-form .dp-header-support {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #242936;
    font-size: 20px;
    font-weight: 500;

    text-decoration: none;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-header-support:hover {
    color: #14824f;
}

#dealplex-onboarding-form .dp-header-support .dp-support-icon {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #17191d;
}

/* Login button */
#dealplex-onboarding-form .dp-header-login {
    height: 56px;
    min-width: 132px;

    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1.5px solid #159451;
    border-radius: 12px;

    background: #fff;

    color: #0b8d48;

    font-size: 20px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease,
        box-shadow .15s ease;
}

#dealplex-onboarding-form .dp-header-login:hover {
    background: #f2fbf6;
    color: #087a3e;
    box-shadow: 0 3px 10px rgba(21, 148, 81, .10);
}

/* Login user icon */
#dealplex-onboarding-form .dp-header-login .dp-login-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #0b9850;
}

/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    #dealplex-onboarding-form .dp-header {
        height: 76px;
        min-height: 76px;
        padding: 0 24px;
    }

    #dealplex-onboarding-form .dp-header .logo img {
        width: 245px;
    }

    #dealplex-onboarding-form .dp-header-actions {
        gap: 20px;
    }

    #dealplex-onboarding-form .dp-header-support {
        font-size: 16px;
    }

    #dealplex-onboarding-form .dp-header-login {
        height: 46px;
        min-width: 105px;
        font-size: 16px;
        border-radius: 10px;
    }

    #dealplex-onboarding-form .dp-header-login .dp-login-icon {
        width: 24px;
        height: 24px;
    }

    #dealplex-onboarding-form .dp-header-support .dp-support-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 600px) {

    #dealplex-onboarding-form .dp-header {
        padding: 0 16px;
    }

    #dealplex-onboarding-form .dp-header .logo img {
        width: 190px;
    }

    #dealplex-onboarding-form .dp-header-actions {
        gap: 10px;
    }

    #dealplex-onboarding-form .dp-header-support {
        font-size: 0;
        gap: 0;
    }

    #dealplex-onboarding-form .dp-header-support .dp-support-icon {
        width: 25px;
        height: 25px;
    }

    #dealplex-onboarding-form .dp-header-login {
        min-width: 48px;
        width: 48px;
        height: 44px;
        padding: 0;
    }

    #dealplex-onboarding-form .dp-header-login span {
        display: none;
    }
}

/* ============ ERROR BANNER ============ */
#dealplex-onboarding-form .dp-error-banner {
    max-width: 1280px;
    margin: 16px auto 0;
    padding: 14px 18px;
    background: #fdecec;
    border: 1px solid #f6c6c8;
    border-radius: 10px;
    color: var(--dp-red);
    font-size: 13.5px;
}

#dealplex-onboarding-form .dp-error-banner strong {
    display: block;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-error-banner ul {
    margin: 0;
    padding-left: 18px;
}

/* ============ MODULE SELECT SCREEN ============ */

#dealplex-onboarding-form #view-module-select {
    position: relative;
    min-height: calc(100vh - 72px);
    background: #fff;
    overflow: hidden;
}

#dealplex-onboarding-form #restaurant-same-time-block .dp-field>label,
#dealplex-onboarding-form #restaurant-perday-time-rows .dp-field>label {
    position: static !important;
    display: block !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    color: var(--dp-muted) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

#dealplex-onboarding-form #restaurant-same-time-block .dp-field,
#dealplex-onboarding-form #restaurant-perday-time-rows .dp-field {
    padding-top: 4px;
}

/* =========================================================
   SUBTLE RIGHT-SIDE BACKGROUND BANNER
   ========================================================= */

#dealplex-onboarding-form #view-module-select::after {
    content: "";
    position: absolute;
    top: 72px;
    right: 0;

    width: 25%;
    height: calc(100% - 72px);

    /* background-image: url("{{ asset('public/Home_Page-image/banner.png') }}"); */
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;

    /* Make it look like a soft background image */
    opacity: 0.18;
    filter: blur(2px);

    /* Fade image into white */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            rgba(0, 0, 0, .35) 25%,
            rgba(0, 0, 0, .75) 60%,
            #000 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            rgba(0, 0, 0, .35) 25%,
            rgba(0, 0, 0, .75) 60%,
            #000 100%);

    pointer-events: none;
    z-index: 0;
}

/* Header inside first page */
#dealplex-onboarding-form #view-module-select .dp-select-header {
    position: relative;
    z-index: 2;
    height: 72px;
    border-bottom: 1px solid #dfe3e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: #fff;
}

/* Brand */
#dealplex-onboarding-form #view-module-select .dp-select-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

#dealplex-onboarding-form #view-module-select .dp-select-brand img {
    width: 120px;
    height: auto;
    display: block;
}

#dealplex-onboarding-form #view-module-select .dp-select-brand-divider {
    width: 1px;
    height: 25px;
    background: #cfd4dc;
}

#dealplex-onboarding-form #view-module-select .dp-select-brand-partner {
    font-size: 21px;
    line-height: 1;
    font-weight: 700;
    color: #163c2b;
}

/* Support */
#dealplex-onboarding-form #view-module-select .dp-select-support {
    font-size: 14px;
    color: #202631;
}

#dealplex-onboarding-form #view-module-select .dp-select-support a {
    color: #08a34d;
    font-weight: 600;
    text-decoration: none;
}

/* Main content */
#dealplex-onboarding-form #view-module-select .dp-select-wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 58px 0 78px;
}

/* Heading */
#dealplex-onboarding-form #view-module-select .dp-select-wrap h2 {
    color: #145f38;
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

/* Subtitle */
#dealplex-onboarding-form #view-module-select .dp-select-wrap>p {
    color: #53627a;
    margin: 0 0 36px;
    font-size: 17px;
    line-height: 1.5;
}

/* Cards */
#dealplex-onboarding-form #view-module-select .dp-module-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* Individual card */
#dealplex-onboarding-form #view-module-select .dp-module-card {
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    padding: 0 0 18px;
    background: #fff;
    text-align: left;
    transition:
        box-shadow .18s ease,
        transform .18s ease,
        border-color .18s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 377px;
    width: 224px;
    overflow: hidden;
}

/* Card hover */
#dealplex-onboarding-form #view-module-select .dp-module-card:hover {
    border-color: #cfd8d3;
    box-shadow: 0 8px 22px rgba(28, 28, 52, .10);
    transform: translateY(-2px);
}

/* Card image */
#dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #f3f5f7;
}

/* Card content */
#dealplex-onboarding-form #view-module-select .dp-module-card .module-content {
    padding: 17px 13px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Card title */
#dealplex-onboarding-form #view-module-select .dp-module-card h5 {
    color: #124e32;
    font-weight: 700;
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.25;
}

/* Card description */
#dealplex-onboarding-form #view-module-select .dp-module-card p {
    color: #58657b;
    font-size: 13.5px;
    margin: 0 0 20px;
    line-height: 1.55;
    flex-grow: 1;
}

/* Start onboarding */
#dealplex-onboarding-form #view-module-select .dp-module-card .go-btn {
    font-size: 13.5px;
    font-weight: 600;
    color: #08a34d;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Hide old emoji icon */
#dealplex-onboarding-form #view-module-select .dp-module-card .icon-box {
    display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1250px) {

    #dealplex-onboarding-form #view-module-select .dp-select-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }

    #dealplex-onboarding-form #view-module-select::after {
        width: 22%;
        opacity: .65;
    }
}

@media (max-width: 1050px) {

    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #dealplex-onboarding-form #view-module-select::after {
        width: 20%;
        opacity: .35;
    }
}

@media (max-width: 700px) {

    #dealplex-onboarding-form #view-module-select::after {
        display: none;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-header {
        padding: 0 20px;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-support {
        display: none;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap {
        padding: 38px 18px 50px;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap h2 {
        font-size: 30px;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap>p {
        font-size: 15px;
        margin-bottom: 26px;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        height: 180px;
    }
}

@media (max-width: 480px) {

    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: 1fr;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        height: 210px;
    }
}

/* ============ WIZARD SHELL ============ */
#dealplex-onboarding-form .dp-wizard-view {
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0px 40px 30px 40px; */
}

#dealplex-onboarding-form .dp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dp-muted);
    font-size: 13px;
    margin-bottom: 14px;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-back-link:hover {
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-wizard-body {
    display: grid;
    grid-template-columns: 250px 1fr 260px;
    gap: 20px;
    align-items: start;
}

@media (max-width: 991px) {
    #dealplex-onboarding-form .dp-wizard-body {
        grid-template-columns: 1fr;
    }
}

#dealplex-onboarding-form .dp-panel {
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    background: #fff;
}

/* sidebar */
#dealplex-onboarding-form .dp-sidebar {
    padding: 20px !important;
    position: sticky;
    top: 96px;
    align-self: start;
    height: fit-content;
}

#dealplex-onboarding-form .dp-sidebar .brand-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #198545;
    margin-bottom: 4px;
    font-size: 18px;
    font-style: Italic;
}

#dealplex-onboarding-form .dp-sidebar .brand-mini .tag {
    font-size: 9px;
    font-weight: 600;
    color: #1A914B;
    background: #E8F4ED;
    padding: 2px 7px;
    border-radius: 5px;
}

#dealplex-onboarding-form .dp-sidebar h6 {
    color: var(--dp-text);
    font-weight: 600;
    font-size: 14.5px;
    margin: 14px 0 16px;
}

#dealplex-onboarding-form .dp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

#dealplex-onboarding-form .dp-steps li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 8px;
    border-radius: 10px;
    margin-bottom: 2px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-steps li.is-active {
    background: #e7f8ef;
}

#dealplex-onboarding-form .dp-steps li.is-done {
    cursor: pointer;
}

#dealplex-onboarding-form .dp-steps li .dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--dp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-steps li.is-active .dot {
    border-color: var(--dp-green);
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-steps li.is-done .dot {
    background: var(--dp-green);
    border-color: var(--dp-green);
    color: #fff;
}

#dealplex-onboarding-form .dp-steps li .dot .done-check {
    display: none;
}

#dealplex-onboarding-form .dp-steps li.is-done .dot .step-num {
    display: none;
}

#dealplex-onboarding-form .dp-steps li.is-done .dot .done-check {
    display: inline;
}

#dealplex-onboarding-form .dp-steps li .name {
    font-weight: 500;
    font-size: 13.5px;
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-steps li.is-active .name {
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-steps li .sub {
    font-size: 11.5px;
    color: var(--dp-muted);
    margin-top: 1px;
}

#dealplex-onboarding-form .dp-sidebar .support-line {
    font-size: 12.5px;
    color: var(--dp-muted);
    margin-top: 22px;
    border-top: 1px solid var(--dp-border);
    padding-top: 14px;
}

#dealplex-onboarding-form .dp-sidebar .support-line a {
    color: var(--dp-green);
    font-weight: 700;
}

/* main content */
#dealplex-onboarding-form .dp-main {
    padding: 28px 30px;
}

#dealplex-onboarding-form .dp-main .step-head h5 {
    color: var(--dp-text);
    font-weight: 500;
    margin: 0 0 6px;
    font-size: 28px;
    letter-spacing: -0.01em;
}

#dealplex-onboarding-form .dp-main .step-head p {
    color: var(--dp-muted);
    font-size: 14.5px;
    margin: 0 0 22px;
    line-height: 1.5;
    margin-bottom: 15px !important;
}

#dealplex-onboarding-form .dp-step-panel {
    display: none;
}

#dealplex-onboarding-form .dp-step-panel.is-visible {
    display: block;
}

#dealplex-onboarding-form .dp-card {
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

#dealplex-onboarding-form .dp-card h6 {
    color: var(--dp-text);
    font-weight: 700;
    font-size: 15.5px;
    margin: 0 0 4px;
}

#dealplex-onboarding-form .dp-card .req-note {
    color: var(--dp-muted);
    font-size: 12.5px;
    margin: 0 0 14px;
    line-height: 1.5;
}

#dealplex-onboarding-form .dp-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

#dealplex-onboarding-form .dp-field {
    position: relative;
}

#dealplex-onboarding-form .dp-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dp-muted);
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-field label.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#dealplex-onboarding-form .dp-field label .req {
    color: var(--dp-red);
}

#dealplex-onboarding-form .dp-field input[type=text],
#dealplex-onboarding-form .dp-field input[type=email],
#dealplex-onboarding-form .dp-field input[type=tel],
#dealplex-onboarding-form .dp-field input[type=number],
#dealplex-onboarding-form .dp-field input[type=date],
#dealplex-onboarding-form .dp-field input[type=time],
#dealplex-onboarding-form .dp-field select,
#dealplex-onboarding-form .dp-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--dp-border);
    border-radius: 10px;
    margin-bottom: 1px;
    font-size: 14.5px;
    background: #fff;
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-field input::placeholder,
#dealplex-onboarding-form .dp-field textarea::placeholder {
    color: #9195b0;
    font-weight: 400;
}

#dealplex-onboarding-form .dp-field input:focus,
#dealplex-onboarding-form .dp-field select:focus,
#dealplex-onboarding-form .dp-field textarea:focus {
    outline: none;
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 106, 0.12);
}

#dealplex-onboarding-form .phone-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1.5px solid var(--dp-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

#dealplex-onboarding-form .static-flag {
    padding: 13px 12px;
    font-size: 20px;
    background: #f8f9fc;
}

#dealplex-onboarding-form .phone-input-wrapper input {
    flex: 1;
    border: 0 !important;
    margin: 0 !important;
    outline: none;
}

#dealplex-onboarding-form .dp-field select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b6f8a' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
}


#dealplex-onboarding-form .dp-field-error {
    color: var(--dp-red);
    font-size: 11.5px;
    margin-top: 4px;
    display: none;
}

#dealplex-onboarding-form .dp-field.has-error .dp-field-error {
    display: block;
}

/* Generic red border for ANY field marked has-error — covers phone/WhatsApp
   (.iti wrapped) inputs too, not just floating-label text inputs */
#dealplex-onboarding-form .dp-field.has-error input:not([type="hidden"]),
#dealplex-onboarding-form .dp-field.has-error select,
#dealplex-onboarding-form .dp-field.has-error textarea,
#dealplex-onboarding-form .dp-field.has-error .dp-input-with-suffix {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.10) !important;
}

/* Address "Add Location" link row — red border when required & empty */
#dealplex-onboarding-form .dp-link-row.has-error {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.10) !important;
}

#dealplex-onboarding-form .dp-hint {
    font-size: 12px;
    color: var(--dp-muted);
    margin-top: 4px;
}

/* ============ CUSTOM MULTI-SELECT DROPDOWN (categories/cuisines) ============ */
#dealplex-onboarding-form .dp-ms {
    position: relative;
    width: 100%;
    /* max-width: 550px; */
}

#dealplex-onboarding-form .dp-ms-trigger {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 16px;
    border: 1.5px solid var(--dp-border);
    border-radius: 10px;
    background: #fff;
    font-size: 14.5px;
    color: #9195b0;
    cursor: pointer;
    font-family: inherit;
}

#dealplex-onboarding-form .dp-ms-trigger.has-value {
    color: var(--dp-muted);
    font-weight: 400;
}

#dealplex-onboarding-form .dp-ms-trigger:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-ms.is-open .dp-ms-trigger {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 106, 0.12);
}

#dealplex-onboarding-form .dp-ms.has-error .dp-ms-trigger {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.10) !important;
}

#dealplex-onboarding-form .dp-ms-trigger-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-ms-chevron,
#dealplex-onboarding-form .dp-native-select-chevron {
    font-size: 20px !important;
    line-height: 1;
    transform: translateY(-8px);
}



#dealplex-onboarding-form .dp-ms-panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 45;
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(20, 30, 45, .14);
    padding: 10px;
    max-height: min(320px, 60vh);
    overflow: hidden;
}

#dealplex-onboarding-form .dp-ms.is-open .dp-ms-panel {
    display: flex;
}

#dealplex-onboarding-form .dp-ms-search {
    margin-bottom: 8px;
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-ms-search input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--dp-border);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

#dealplex-onboarding-form .dp-ms-search input:focus {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 2px rgba(31, 169, 106, 0.10);
}

#dealplex-onboarding-form .dp-ms-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 1px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--dp-border);
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-ms-count {
    font-size: 11.5px;
    color: var(--dp-muted);
    font-weight: 600;
}

#dealplex-onboarding-form .dp-ms-action {
    border: none;
    background: none;
    color: var(--dp-green-dark);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

#dealplex-onboarding-form .dp-ms-action:hover {
    text-decoration: underline;
}

#dealplex-onboarding-form .dp-ms-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    flex: 1 1 auto;
}

#dealplex-onboarding-form .dp-ms-empty {
    font-size: 12.5px;
    color: var(--dp-muted);
    text-align: center;
    padding: 14px 4px;
}

#dealplex-onboarding-form .dp-ms-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 13px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--dp-text);
    user-select: none;
}

#dealplex-onboarding-form .dp-ms-item:hover {
    background: var(--dp-bg-soft);
}

#dealplex-onboarding-form .dp-ms-item input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: var(--dp-green);
    flex-shrink: 0;
    cursor: pointer;
    margin-right: 10px !important;
}

#dealplex-onboarding-form .dp-ms-item img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-ms-trigger-text img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
    vertical-align: -3px;
    margin-right: 4px;
    border: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-ms-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 20px;
    padding: 2px 8px 2px 2px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dp-text);
    margin: 2px 4px 2px 0;
}

#dealplex-onboarding-form .dp-ms-selected-chip img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

/* ---- Checkbox row ---- */
#dealplex-onboarding-form .dp-checkbox-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 13px;
    color: var(--dp-text);
    margin-bottom: 10px;
    width: 100%;
}

#dealplex-onboarding-form .dp-checkbox-row input[type=checkbox] {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    accent-color: var(--dp-green);
    cursor: pointer;
}

/* append to end of New_vendor-registration.css — must be LAST occurrence */
#dp-qr-modal .dp-qr-close {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .dp-checkbox-row label {
    font-weight: 400 !important;
    color: var(--dp-muted) !important;
}

#dealplex-onboarding-form .dp-checkbox-row label span {
    font-weight: 600 !important;
    color: #5f6476 !important;
}

#dealplex-onboarding-form .dp-checkbox-row label {
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    line-height: 1.4;
    cursor: pointer;
    font-weight: 500;
}

#dealplex-onboarding-form .dp-radio-pill-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-radio-pill {
    border: 1.5px solid var(--dp-border);
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-text);
    cursor: pointer;
    background: #fff;
}

#dealplex-onboarding-form .dp-radio-pill input {
    display: none;
}

#dealplex-onboarding-form .dp-radio-pill.is-checked {
    border-color: var(--dp-green);
    background: var(--dp-green);
    color: #fff;
}

#dealplex-onboarding-form .dp-whatsapp-different {
    margin-top: 10px;
}

#dealplex-onboarding-form .dp-whatsapp-different.hidden {
    display: none !important;
}

#dealplex-onboarding-form .dp-yesno {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-yesno label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--dp-text);
    cursor: pointer;
    font-weight: 500;
    margin: 0;
}

#dealplex-onboarding-form .dp-yesno input[type=radio] {
    width: 17px;
    height: 17px;
    accent-color: var(--dp-green);
    cursor: pointer;
}

#dealplex-onboarding-form .dp-yesno-label {
    font-size: 13px;
    font-weight: 400;
    color: #4A5568;
    margin-bottom: 8px;
}

#dealplex-onboarding-form .dp-days-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-day-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid var(--dp-border);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 400;
    color: var(--dp-text);
    cursor: pointer;
    background: #fff;
}

#dealplex-onboarding-form .dp-day-chip .box {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1.5px solid var(--dp-border);
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-day-chip.is-checked {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-select-all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dp-green);
    cursor: pointer;
}

#dealplex-onboarding-form .dp-time-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    position: relative;
    overflow: hidden;
    min-height: 52px;
    border: 1.5px dashed #cdeedd;
    background: #f2fcf7;
    color: var(--dp-green-dark) !important;
    border-radius: 10px;
    font-weight: 700 !important;
    font-size: 14px;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px;
}

#dealplex-onboarding-form .dp-upload-pill b,
#dealplex-onboarding-form .dp-upload-wide b {
    font-weight: 500;
}

#dealplex-onboarding-form .dp-upload-pill .icon {
    font-size: 16px;
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-upload-pill input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-upload-pill.is-filled {
    background: #e2f6ec;
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

#dealplex-onboarding-form .dp-photo-grid .photo-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dp-text);
    margin-bottom: 8px;
    display: block;
}

#dealplex-onboarding-form .dp-photo-grid .dp-upload-pill {
    max-width: none;
}

#dealplex-onboarding-form .dp-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 6px;
    font-weight: 700;
    color: var(--dp-green-dark);
    font-size: 14px;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-link-row .arrow {
    color: var(--dp-green);
    font-size: 32px;
}

#dealplex-onboarding-form .dp-nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    align-items: center;
}

#dealplex-onboarding-form .dp-btn {
    border: none;
    border-radius: 9px;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-btn-primary {
    background: var(--dp-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#dealplex-onboarding-form .dp-btn-primary:hover {
    background: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

#dealplex-onboarding-form .dp-btn-secondary {
    background: #fff;
    border: 1px solid var(--dp-border);
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-btn-secondary:hover {
    border-color: var(--dp-green);
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-spinner {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: dp-spin .7s linear infinite;
    display: inline-block;
}

@keyframes dp-spin {
    to {
        transform: rotate(360deg);
    }
}

#dealplex-onboarding-form .dp-submit-error {
    background: #fdecec;
    border: 1px solid #f6c6c8;
    color: var(--dp-red);
    font-size: 13px;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 14px;
    display: none;
}

#dealplex-onboarding-form .dp-submit-error.is-visible {
    display: block;
}

#dealplex-onboarding-form .dp-captcha-field>label,
#dealplex-onboarding-form .smartstore-figma .dp-captcha-field>label,
#dealplex-onboarding-form .handyman-figma .dp-captcha-field>label,
#dealplex-onboarding-form .rental-figma .dp-captcha-field>label,
#dealplex-onboarding-form .pharmacy-figma .dp-captcha-field>label,
#dealplex-onboarding-form #view-restaurant .dp-captcha-field>label {
    position: static !important;
    display: block !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    color: var(--dp-text) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
}

/* ============ CAPTCHA ============ */
#dealplex-onboarding-form .dp-captcha-field {
    margin-top: 18px;
}

#dealplex-onboarding-form .dp-captcha-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dp-text);
    margin-bottom: 8px;
}

#dealplex-onboarding-form .dp-captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 12px 16px;
}

#dealplex-onboarding-form .dp-captcha-question {
    font-size: 16px;
    font-weight: 400;
    color: var(--dp-text);
    letter-spacing: .3px;
    user-select: none;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-captcha-input {
    width: 110px;
    height: 42px;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    color: var(--dp-text);
    background: #fff;
}

#dealplex-onboarding-form .dp-captcha-input:focus {
    outline: none;
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-captcha-field.has-error .dp-captcha-box {
    border-color: var(--dp-red);
}

#dealplex-onboarding-form .dp-captcha-error {
    color: var(--dp-red);
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

#dealplex-onboarding-form .dp-captcha-field.has-error .dp-captcha-error {
    display: block;
}

#dealplex-onboarding-form .dp-step-error {
    background: #fdecec;
    border: 1px solid #f6c6c8;
    color: var(--dp-red);
    font-size: 13px;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: none;
}

#dealplex-onboarding-form .dp-step-error.is-visible {
    display: block;
}

#dealplex-onboarding-form .dp-step-error strong {
    display: block;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-step-error ul {
    margin: 0;
    padding-left: 18px;
}

/* make the custom category dropdown visibly red too, since the native
   <select> it wraps is display:none and never shows the red border itself */
#dealplex-onboarding-form .dp-field.has-error .dp-ms-trigger {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.10) !important;
}

/* progress panel */
#dealplex-onboarding-form .dp-progress-panel {
    padding: 20px !important;
    position: sticky;
    top: 96px;
    align-self: start;
    height: fit-content;
}

#dealplex-onboarding-form .dp-progress-panel .heading {
    font-weight: 500;
    color: var(--dp-text);
    font-size: 16px;
    margin-bottom: 4px;
}

#dealplex-onboarding-form .dp-progress-panel .step-label {
    font-size: 13px;
    color: var(--dp-muted);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#dealplex-onboarding-form .dp-progress-panel .step-label .cur-pct {
    color: var(--dp-green);
    font-weight: 500;
}

#dealplex-onboarding-form .dp-progress-track {
    height: 6px;
    border-radius: 6px;
    background: var(--dp-border);
    overflow: hidden;
    margin-bottom: 20px;
}

#dealplex-onboarding-form .dp-progress-fill {
    height: 100%;
    background: var(--dp-green);
    width: 0%;
    transition: width .3s ease;
}

#dealplex-onboarding-form .dp-checklist-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--dp-muted);
    margin-bottom: 8px;
}

#dealplex-onboarding-form .dp-checklist {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

#dealplex-onboarding-form .dp-checklist li {
    font-size: 13px;
    color: var(--dp-muted);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#dealplex-onboarding-form .dp-checklist li.is-checked {
    color: var(--dp-text);
    font-weight: 600;
}

#dealplex-onboarding-form .dp-checklist li .chk {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--dp-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

#dealplex-onboarding-form .dp-checklist li.is-checked .chk {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-checklist li.is-checked .chk::after {
    content: "✓";
}

#dealplex-onboarding-form .dp-est-time {
    font-size: 12.5px;
    color: var(--dp-muted);
    border-top: 1px solid var(--dp-border);
    padding-top: 14px;
}

#dealplex-onboarding-form .dp-est-time strong {
    display: inline;
    color: var(--dp-text);
    margin-left: 5px;
}

#dealplex-onboarding-form .dp-est-time> :not(strong) {}

#dealplex-onboarding-form .dp-est-time-title {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .dp-est-time-title strong {
    display: inline;
    color: var(--dp-text);
    font-weight: 500;
}

#dealplex-onboarding-form .dp-est-time-text {
    line-height: 1.7;
}

/* commission overview */
#dealplex-onboarding-form .dp-commission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

#dealplex-onboarding-form .dp-commission-box {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 12px;
    padding: 18px;
}

#dealplex-onboarding-form .dp-commission-box .label {
    font-size: 13px;
    color: var(--dp-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

#dealplex-onboarding-form .dp-commission-box .value {
    font-size: 28px;
    font-weight: 500;
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-commission-box .value .badge {
    font-size: 10px;
    background: #e7f8ef;
    color: var(--dp-green-dark);
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

#dealplex-onboarding-form .dp-commission-box .value span {
    font-size: 12px;
    font-weight: 600;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-commission-box .note {
    font-size: 11.5px;
    color: var(--dp-muted);
    margin-top: 4px;
}

#dealplex-onboarding-form .dp-esign-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-esign-tab {
    padding: 9px 4px;
    margin-right: 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dp-muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2.5px solid transparent;
}

#dealplex-onboarding-form .dp-esign-tab.is-active {
    color: var(--dp-green);
    border-bottom-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-esign-pane {
    display: none;
    padding-top: 14px;
}

#dealplex-onboarding-form .dp-esign-pane.is-visible {
    display: block;
}

#dealplex-onboarding-form .dp-signature-line {
    border-bottom: 2px solid var(--dp-green);
    font-family: cursive;
    font-size: 24px;
    padding: 10px 6px;
    color: var(--dp-text);
    min-height: 44px;
}

#dealplex-onboarding-form .dp-sign-canvas {
    border: 1.5px dashed var(--dp-border);
    border-radius: 10px;
    width: 100%;
    height: 120px;
    touch-action: none;
    background: #fff;
}

/* contract / e-sign professional layout */
#dealplex-onboarding-form .dp-contract-pane {
    background: #fbfcfe;
    border: 1px solid var(--dp-border);
    border-radius: 16px;
    padding: 24px;
}

#dealplex-onboarding-form .dp-contract-pane .step-head {
    margin-bottom: 20px;
}

#dealplex-onboarding-form .dp-contract-pane .step-head h5 {
    font-size: 24px;
}

#dealplex-onboarding-form .dp-contract-pane .dp-commission-grid {
    grid-template-columns: 1.35fr .65fr;
    margin-bottom: 20px;
}

#dealplex-onboarding-form .dp-contract-pane .dp-commission-box {
    box-shadow: 0 3px 14px rgba(20, 30, 60, .04);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#dealplex-onboarding-form .dp-contract-pane h6 {
    font-size: 16px;
    color: var(--dp-text);
    margin: 0 0 5px;
}

#dealplex-onboarding-form .dp-contract-pane .req-note {
    margin-bottom: 16px;
}

#dealplex-onboarding-form .dp-esign-tabs {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--dp-border);
    border-radius: 0;
    padding: 0;
    gap: 26px;
    margin-bottom: 0;
}

#dealplex-onboarding-form .dp-esign-tab {
    flex: none;
    text-align: left;
    padding: 0 0 12px;
    margin: 0;
    border-radius: 0;
    border-bottom: 2.5px solid transparent;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-esign-tab.is-active {
    background: transparent;
    color: var(--dp-green);
    border-bottom-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-esign-section-label {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    text-transform: uppercase;
    color: var(--dp-muted);
    margin: 4px 0 14px;
}

#dealplex-onboarding-form .dp-agreement-divider {
    border-top: 1px dashed var(--dp-border);
    margin: 18px 0 16px;
}

#dealplex-onboarding-form .dp-esign-pane {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 18px;
    min-height: 190px;
}

#dealplex-onboarding-form .dp-esign-pane[data-esign-pane="type"] .dp-field {
    max-width: none !important;
}

#dealplex-onboarding-form .dp-esign-pane[data-esign-pane="type"] input {
    font-size: 15px;
    padding: 16px 18px;
    border-radius: 12px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-esign-pane[data-esign-pane="type"] .dp-signature-line {
    display: none;
}

#dealplex-onboarding-form .dp-signature-line {
    min-height: 80px;
    display: flex;
    align-items: flex-end;
    padding: 12px 8px;
    font-size: 36px;
    border-bottom: 2px solid #6fc89b;
    margin-top: 14px;
}

#dealplex-onboarding-form .dp-signature-editor {
    border: 1px solid var(--dp-border);
    border-radius: 12px;
    padding: 12px;
    background: #fbfcfe;
}

#dealplex-onboarding-form .dp-signature-canvas-wrap {
    background: #fff;
    border: 1px dashed #b9c1d2;
    border-radius: 10px;
    overflow: hidden;
}

#dealplex-onboarding-form .dp-sign-canvas {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 0;
    cursor: crosshair;
    touch-action: none;
    background: #fff;
}

#dealplex-onboarding-form .dp-signature-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
}

#dealplex-onboarding-form .dp-signature-status {
    font-size: 12px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-signature-clear {
    border: 1px solid var(--dp-border);
    background: #fff;
    color: var(--dp-text);
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-signature-clear:hover {
    border-color: var(--dp-green);
    color: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-esign-pane[data-esign-pane="upload"] .dp-upload-pill {
    min-height: 76px;
    max-width: none;
    justify-content: center;
}


#dealplex-onboarding-form .dp-checkbox-row {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 13px 15px;
}

#dealplex-onboarding-form .dp-checkbox-row.smartstore-agreement {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 16px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

#dealplex-onboarding-form .dp-checkbox-row.smartstore-agreement label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--dp-muted) !important;
    line-height: 1.5 !important;
}

#dealplex-onboarding-form .dp-checkbox-row.smartstore-agreement label span {
    color: var(--dp-text) !important;
    font-weight: 600 !important;
}

#dealplex-onboarding-form .dp-contract-pane .dp-nav-buttons {
    border-top: 1px solid var(--dp-border);
    padding-top: 18px;
    margin-top: 18px;
}

@media(max-width:767px) {
    #dealplex-onboarding-form .dp-contract-pane {
        padding: 16px;
    }

    #dealplex-onboarding-form .dp-contract-pane .dp-commission-grid {
        grid-template-columns: 1fr;
    }

    #dealplex-onboarding-form .dp-esign-tab {
        font-size: 12px;
        padding: 10px 5px;
    }

    #dealplex-onboarding-form .dp-sign-canvas {
        height: 150px;
    }

    #dealplex-onboarding-form .dp-contract-pane .dp-nav-buttons {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    #dealplex-onboarding-form .dp-contract-pane .dp-nav-buttons .dp-btn {
        width: 100%;
        justify-content: center;
    }
}

#dealplex-onboarding-form .smartstore-figma .dp-main {
    padding: 24px 26px;
}

#dealplex-onboarding-form .smartstore-figma .dp-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 20px;
    box-shadow: 0 1px 4px rgba(28, 28, 52, .05);
}

#dealplex-onboarding-form .smartstore-figma .dp-card h6 {
    font-size: 15px;
    margin-bottom: 18px;
}

#dealplex-onboarding-form .smartstore-figma .step-head h5 {
    font-size: 25px;
}

#dealplex-onboarding-form .smartstore-figma .step-head p {
    margin-bottom: 18px !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

#dealplex-onboarding-form .smartstore-figma .dp-divider {
    border-top: 1px dashed var(--dp-border);
    margin: 14px 0 16px;
}

#dealplex-onboarding-form .smartstore-figma .dp-radio-line {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    color: #5f6476;
    font-size: 13.5px;
}

#dealplex-onboarding-form .smartstore-figma .dp-radio-line label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: 500;
}

#dealplex-onboarding-form .smartstore-figma .dp-radio-line input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--dp-green);
}

#dealplex-onboarding-form .smartstore-figma .dp-time-row {
    gap: 14px;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box {
    width: 150px;
    height: 40px;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    background: #fff;
    color: #5f6476;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 2px rgba(25, 166, 99, .10);
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box span {
    color: var(--dp-green);
    font-size: 16px;
    pointer-events: none;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    z-index: 3;
    opacity: .01;
    appearance: auto;
    -webkit-appearance: auto;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box label {
    position: relative;
    z-index: 1;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box span {
    position: relative;
    z-index: 1;
}

#dealplex-onboarding-form .smartstore-figma .dp-requirements {
    font-size: 12.5px;
    color: #5f6476;
    line-height: 1.5;
    margin: 8px 0 12px;
}

#dealplex-onboarding-form .smartstore-figma .dp-requirements strong {
    color: var(--dp-green-dark);
}

#dealplex-onboarding-form .smartstore-figma .dp-requirements ul {
    margin: 5px 0 0;
    padding-left: 18px;
}

#dealplex-onboarding-form .smartstore-figma .dp-upload-wide {
    min-height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px dashed #cdeedd;
    border-radius: 8px;
    background: #f2fcf7;
    color: var(--dp-green-dark);
    cursor: pointer;
    position: relative;
    font-size: 13px;
}

#dealplex-onboarding-form .smartstore-figma .dp-upload-wide input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .smartstore-figma .dp-upload-wide>span {
    color: var(--dp-green);
    font-size: 16px;
}

#dealplex-onboarding-form .smartstore-figma .dp-upload-wide.is-filled {
    background: #e2f6ec;
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .smartstore-figma .dp-image-upload-row {
    display: grid;
    grid-template-columns: 335px 1fr;
    gap: 18px;
    margin-top: 14px;
}

#dealplex-onboarding-form .smartstore-figma .dp-image-drop {
    height: 180px;
    border: 1px dashed #d7dce7;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#dealplex-onboarding-form .smartstore-figma .dp-cover-drop {
    height: 180px;
}

#dealplex-onboarding-form .smartstore-figma .dp-image-drop input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .smartstore-figma .dp-image-drop .drop-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0faf5;
    color: var(--dp-green);
    margin-bottom: 8px;
}

#dealplex-onboarding-form .smartstore-figma .dp-image-drop strong {
    font-size: 11.5px;
    color: #4f5568;
}

#dealplex-onboarding-form .smartstore-figma .dp-image-drop small {
    font-size: 9.5px;
    line-height: 1.35;
    color: #6f7485;
    margin-top: 5px;
}

#dealplex-onboarding-form .smartstore-figma .dp-thumb-upload-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

#dealplex-onboarding-form .smartstore-figma .dp-thumb-drop {
    width: 55px;
    height: 55px;
    border: 1px solid var(--dp-border);
    border-radius: 6px;
    background: #fbfcfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b1b6c4;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#dealplex-onboarding-form .smartstore-figma .dp-thumb-drop input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .smartstore-figma .dp-verification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#dealplex-onboarding-form .smartstore-agreement {
    border: 0;
    padding: 0;
    background: transparent;
    margin-top: 18px;
}

#dealplex-onboarding-form .smartstore-agreement span {
    color: var(--dp-green);
    font-weight: 700;
}

#dealplex-onboarding-form .smartstore-figma .dp-commission-card {
    padding-bottom: 18px;
}

#dealplex-onboarding-form .smartstore-figma .dp-commission-card .dp-commission-grid {
    margin-top: 16px;
    margin-bottom: 0;
}

#dealplex-onboarding-form .smartstore-figma .dp-commission-box {
    background: #f8fafc;
    border: 0;
    border-radius: 9px;
    min-height: 118px;
    padding: 18px;
}

#dealplex-onboarding-form .smartstore-figma .dp-commission-box .value {
    color: var(--dp-green-dark);
    font-size: 28px;
}

#dealplex-onboarding-form .smartstore-figma .old-price {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #e55b5b;
    background: #ffe4e4;
    border-radius: 4px;
    padding: 3px 6px;
    margin-left: 5px;
    vertical-align: middle;
    text-decoration: line-through;
}

#dealplex-onboarding-form .smartstore-figma .dp-contract-pane .step-head {
    text-align: left !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-contract-pane .dp-nav-buttons {
    border-top: 1px solid var(--dp-border);
    padding-top: 14px;
}

@media(max-width:900px) {
    #dealplex-onboarding-form .smartstore-figma .dp-image-upload-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #dealplex-onboarding-form .smartstore-figma .dp-image-drop,
    #dealplex-onboarding-form .smartstore-figma .dp-cover-drop {
        height: 160px;
    }
}

@media(max-width:640px) {
    #dealplex-onboarding-form .smartstore-figma .dp-verification-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

#dealplex-onboarding-form .smartstore-figma .dp-input-with-suffix {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1.5px solid var(--dp-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

#dealplex-onboarding-form .smartstore-figma .dp-input-with-suffix:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 106, 0.12);
}

#dealplex-onboarding-form .smartstore-figma .dp-input-with-suffix input {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
}

#dealplex-onboarding-form .smartstore-figma .dp-input-with-suffix span {
    padding: 0 14px;
    color: var(--dp-muted);
    font-size: 12px;
    font-weight: 700;
    border-left: 1px solid var(--dp-border);
    align-self: stretch;
    display: flex;
    align-items: center;
}

#dealplex-onboarding-form .smartstore-yesno-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

#dealplex-onboarding-form .smartstore-yesno-item {
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
}

#dealplex-onboarding-form .smartstore-yesno-item .dp-yesno {
    margin-bottom: 0;
}

#dealplex-onboarding-form .smartstore-figma .smartstore-yesno-item {
    border: 0;
    background: transparent;
    padding: 0;
}

#dealplex-onboarding-form .smartstore-figma .smartstore-yesno-item.has-error {
    border: 0;
    box-shadow: none;
}

#dealplex-onboarding-form .smartstore-figma .smartstore-yesno-item.has-error .dp-yesno-label {
    color: var(--dp-red);
}

#dealplex-onboarding-form .smartstore-radio-error {
    display: none;
}

#dealplex-onboarding-form .smartstore-yesno-item.has-error {
    border-color: var(--dp-red);
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.08);
}

#dealplex-onboarding-form .smartstore-yesno-item.has-error .smartstore-radio-error {
    display: block;
}

#dealplex-onboarding-form .smartstore-store-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

#dealplex-onboarding-form .smartstore-branding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#dealplex-onboarding-form .smartstore-store-photo-grid .dp-upload-wide,
#dealplex-onboarding-form .smartstore-branding-grid .dp-upload-wide {
    height: 52px !important;
    max-height: 52px !important;
    min-height: 52px !important;
    flex-wrap: nowrap !important;
}

#dealplex-onboarding-form .smartstore-store-photo-grid .dp-upload-wide>b,
#dealplex-onboarding-form .smartstore-branding-grid .dp-upload-wide>b {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#dealplex-onboarding-form .smartstore-store-photo-grid>div,
#dealplex-onboarding-form .smartstore-branding-grid>div {
    min-width: 0;
}

#dealplex-onboarding-form .smartstore-figma .dp-plan-pane {
    display: block;
}

#dealplex-onboarding-form .smartstore-figma .dp-plan-pane.hidden {
    display: none !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-plan-banner {
    margin-top: 0;
}

@media(max-width:900px) {

    #dealplex-onboarding-form .smartstore-yesno-grid,
    #dealplex-onboarding-form .smartstore-store-photo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #dealplex-onboarding-form .smartstore-branding-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* dynamic per-day working hours rows (Smart Store) */
#dealplex-onboarding-form .dp-perday-row {
    display: grid;
    grid-template-columns: 110px 1fr 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

#dealplex-onboarding-form .dp-perday-row .dp-perday-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--dp-text);
}

@media(max-width:640px) {
    #dealplex-onboarding-form .dp-perday-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* HANDYMAN MODULE — FIGMA MATCH */
#dealplex-onboarding-form .handyman-figma .dp-main {
    padding: 24px 26px;
}

#dealplex-onboarding-form .handyman-figma .dp-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 20px;
    box-shadow: 0 1px 4px rgba(28, 28, 52, .05);
}

#dealplex-onboarding-form .handyman-figma .dp-card h6 {
    font-size: 15px;
    margin-bottom: 12px;
}

#dealplex-onboarding-form .handyman-figma .step-head h5 {
    font-size: 25px;
}

#dealplex-onboarding-form .handyman-figma .step-head p {
    margin-bottom: 18px !important;
}

/* plain square checkboxes for working days, like the screenshot */
#dealplex-onboarding-form .handyman-figma .dp-days-row {
    gap: 22px;
}

#dealplex-onboarding-form .handyman-figma .dp-day-chip {
    border: 0;
    background: none;
    padding: 0;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

#dealplex-onboarding-form .handyman-figma .dp-day-chip .box {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    border: 1.5px solid #c7ccd6;
}

#dealplex-onboarding-form .handyman-figma .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .handyman-figma .dp-divider {
    border-top: 1px dashed var(--dp-border);
    margin: 16px 0;
}

/* simple Open time / Close time boxes */
#dealplex-onboarding-form .handyman-figma #handyman-same-time-block .dp-field {
    max-width: 220px;
}

#dealplex-onboarding-form .handyman-figma #handyman-same-time-block input[type=time] {
    padding: 13px 16px;
}

/* inline Yes/No radio rows like the screenshot */
#dealplex-onboarding-form .handyman-figma .dp-yesno-label {
    margin-bottom: 10px;
}

#dealplex-onboarding-form .handyman-figma .dp-yesno {
    gap: 22px;
}

/* Same/Separate timings radio row — was missing for handyman, causing misalignment */
#dealplex-onboarding-form .handyman-figma .dp-radio-line {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    color: #5f6476;
    font-size: 13.5px;
}

#dealplex-onboarding-form .handyman-figma .dp-radio-line label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
}

#dealplex-onboarding-form .handyman-figma .dp-radio-line input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--dp-green);
    flex-shrink: 0;
}

/* Step 3 uploads — wide green dashed pill, same as smartstore-figma */
#dealplex-onboarding-form .handyman-figma .dp-upload-pill {
    min-height: 52px;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px dashed #cdeedd;
    border-radius: 8px;
    background: #f2fcf7;
    color: var(--dp-green-dark);
    cursor: pointer;
    position: relative;
    font-size: 13px;
    box-sizing: border-box;
}

#dealplex-onboarding-form .handyman-figma .dp-row {
    align-items: stretch;
}

#dealplex-onboarding-form .handyman-figma .dp-upload-pill .icon {
    color: var(--dp-green);
    font-size: 16px;
}

#dealplex-onboarding-form .handyman-figma .dp-upload-pill.is-filled {
    background: #e2f6ec;
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .handyman-figma .dp-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

#dealplex-onboarding-form .handyman-figma .dp-photo-grid .photo-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--dp-text);
    margin-bottom: 8px;
}

@media(max-width:767px) {
    #dealplex-onboarding-form .handyman-figma .dp-photo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* RENTAL MODULE — FIGMA / PAYLOAD MATCH */

#dealplex-onboarding-form .rental-figma .dp-main {
    padding: 24px 26px;
}


#dealplex-onboarding-form .rental-figma .dp-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 20px;
    box-shadow: 0 1px 4px rgba(28, 28, 52, .05);
}

#dealplex-onboarding-form .rental-figma .step-head h5 {
    font-size: 25px;
}

#dealplex-onboarding-form .rental-figma .step-head p {
    margin-bottom: 18px !important;
}

#dealplex-onboarding-form .rental-figma .dp-rental-operation-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#dealplex-onboarding-form .rental-figma .dp-rental-operation-row {
    align-items: start;
}

#dealplex-onboarding-form .rental-figma .dp-rental-operation {
    min-width: 0;
}

#dealplex-onboarding-form .rental-figma .dp-rental-operation .dp-yesno-label {
    min-height: 34px;
    display: flex;
    align-items: center;
}

#dealplex-onboarding-form .rental-figma .dp-rental-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

#dealplex-onboarding-form .rental-figma .dp-rental-upload-grid {
    align-items: start !important;
}

#dealplex-onboarding-form .rental-figma .dp-rental-upload-grid>div {
    display: flex;
    flex-direction: column;
}

#dealplex-onboarding-form .rental-figma .dp-rental-upload-grid .photo-label {
    display: flex;
    align-items: flex-start;
    min-height: 36px;
    margin-bottom: 8px !important;
}

#dealplex-onboarding-form .rental-figma .dp-image-drop {
    height: 150px;
    border: 1px dashed #d7dce7;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#dealplex-onboarding-form .rental-figma .dp-image-drop input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .rental-figma .dp-image-drop .drop-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0faf5;
    color: var(--dp-green);
    margin-bottom: 8px;
}

#dealplex-onboarding-form .rental-figma .dp-image-drop strong {
    font-size: 11.5px;
    color: #4f5568;
}

#dealplex-onboarding-form .rental-figma .dp-image-drop small {
    font-size: 9.5px;
    line-height: 1.35;
    color: #6f7485;
    margin-top: 5px;
}

#dealplex-onboarding-form .rental-figma .dp-divider {
    border-top: 1px dashed var(--dp-border);
    margin: 16px 0;
}

#dealplex-onboarding-form .rental-figma .rental-hours-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

#dealplex-onboarding-form .rental-figma .dp-time-box {
    width: 150px;
    height: 42px;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    background: #fff;
    color: #5f6476;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#dealplex-onboarding-form .rental-figma .dp-time-box:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .rental-figma .dp-time-box:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(25, 166, 99, .10);
}

#dealplex-onboarding-form .rental-figma .dp-time-box>span {
    color: var(--dp-green);
    font-size: 16px;
    flex: 0 0 auto;
    pointer-events: none;
}

#dealplex-onboarding-form .rental-figma .dp-time-box input[type="time"] {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #5f6476;
    font: 600 12px/1.2 inherit;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
}

#dealplex-onboarding-form .rental-figma .dp-time-box input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

#dealplex-onboarding-form .rental-figma .dp-time-box.has-error {
    border-color: #e05252;
    box-shadow: 0 0 0 2px rgba(224, 82, 82, .08);
}

@media(max-width:900px) {

    #dealplex-onboarding-form .rental-figma .dp-rental-operation-row,
    #dealplex-onboarding-form .rental-figma .dp-rental-upload-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* address modal — Figma: 852 x 845, 16px padding, 18px gap, no internal scroll */
#addr-modal.dp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(25, 31, 40, .48);
    backdrop-filter: blur(2px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

#addr-modal.dp-modal-overlay.is-open {
    display: flex;
}

#addr-modal .dp-modal {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(852px, calc(100vw - 24px));
    height: auto;
    max-height: calc(100vh - 24px);
    min-height: 0;
    padding: 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

#addr-modal .dp-modal {
    background: #fffdf5;
    border-color: #FFF9EC;
    /* box-shadow: 0 18px 55px #fff; */

}



#addr-modal .dp-modal h5 {
    color: #1f2a3d;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

#addr-modal .dp-modal .sub {
    display: none;
}

#addr-modal .dp-map-placeholder {
    height: 368px;
    min-height: 368px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    background: #eef2f5;
    position: relative;
    margin: 0;
    display: block;
    overflow: hidden;
    border: 1px solid #d9dee6;
}

#addr-modal .dp-google-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

#addr-modal .dp-map-placeholder.is-google-map {
    background: #e9eef2;
}

#addr-modal .dp-map-placeholder.is-google-map:before,
#addr-modal .dp-map-placeholder.is-google-map:after {
    display: none;
}

#addr-modal .dp-map-placeholder:not(.is-google-map):before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .75;
    background:
        repeating-linear-gradient(12deg, transparent 0 42px, rgba(185, 197, 211, .65) 43px 44px, transparent 45px 88px),
        repeating-linear-gradient(102deg, transparent 0 55px, rgba(190, 202, 216, .55) 56px 57px, transparent 58px 110px);
}

#addr-modal .dp-map-placeholder,
#addr-modal .dp-google-map {
    border-radius: inherit;
}

#addr-modal .dp-map-placeholder {
    overflow: hidden;
}

#addr-modal .pin {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -100%);
    z-index: 6;
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: #e53935;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
    transform-origin: center;
    rotate: -45deg;
    font-size: 0;
    pointer-events: none;
}

#addr-modal .pin:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    top: 6px;
    left: 6px;
}

#addr-modal .dp-map-search {
    position: absolute;
    top: 24px;
    left: 24px;
    right: auto;
    width: 300px;
    height: 50px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
    padding: 0 16px 0 48px;
    font-size: 14px;
    color: #687180;
    cursor: text;
    z-index: 8;
    display: flex;
    align-items: center;
}

#addr-modal .dp-map-search:before {
    content: "⌕";
    position: absolute;
    left: 17px;
    top: 3px;
    font-size: 26px;
    line-height: 28px;
    color: #202733;
    font-weight: 400;
}

#addr-modal .dp-map-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4b5563;
    font-size: 14px;
}

/* =========================================================
   ADDRESS MODAL — ZEPTO-STYLE LAYOUT (light + dark dono)
   ========================================================= */
#addr-modal .dp-modal.dp-address-modal-v2 {
    width: min(400px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 0;
    border-radius: 22px;
    overflow-y: auto;
    display: block !important;
    background: #fff;
    border: 1px solid var(--dp-border);
}

#addr-modal .dp-addr-step {
    display: none !important;
    padding: 18px;
}

#addr-modal .dp-addr-step.is-active {
    display: block !important;
}

#addr-modal .dp-addr-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

#addr-modal .dp-addr-step-header h5 {
    font-size: 17px;
    line-height: 1.3;
    color: #1f2a3d;
    margin: 0;
}

#addr-modal .dp-addr-back {
    border: 0;
    background: #f1f3f6;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1f2a3d;
}

#addr-modal .dp-addr-step[data-addr-step="1"] .dp-address-map {
    height: 280px;
    min-height: 280px;
    border-radius: 14px;
}

#addr-modal .dp-addr-confirm-card {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#addr-modal .dp-addr-confirm-card strong {
    font-size: 16px;
    color: #151922;
}

#addr-modal .dp-addr-confirm-card span {
    font-size: 12px;
    color: #637083;
}

#addr-modal .dp-addr-step1-actions {
    margin-top: 14px;
}

#addr-modal .dp-addr-step1-actions .dp-btn-primary {
    width: 100%;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
}

#addr-modal .dp-address-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#addr-modal .dp-address-form {
    border: 0;
    padding: 0;
}

/* Background scroll lock + blur — both modes */
body.dp-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

#addr-modal.dp-modal-overlay {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    background: rgba(15, 20, 28, .55) !important;
}

#addr-modal .dp-map-search input::placeholder {
    color: #6b7280;
}

#addr-modal .dp-map-selected-address {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9;
    width: auto;
    max-width: 400px;
    min-height: 80px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

#addr-modal .dp-map-search {
    z-index: 8;
}

#addr-modal .dp-map-instruction {
    z-index: 7;
}

#addr-modal .dp-map-selected-address strong {
    font-size: 16px;
    line-height: 21px;
    color: #151922;
}

#addr-modal .dp-map-selected-address span {
    font-size: 12px;
    line-height: 18px;
    color: #637083;
}

/* Map pin callout — matches Map pin.svg (dark rounded bubble + pointer tail) */
#addr-modal .dp-map-instruction {
    position: absolute;
    left: 50%;
    top: 64px;
    transform: translateX(-50%);
    z-index: 6;
    background: #263238;
    color: #fff;
    border-radius: 12px;
    padding: 14px 20px 16px;
    text-align: center;
    pointer-events: none;
    max-width: min(360px, calc(100% - 40px));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

#addr-modal .dp-map-instruction::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    width: 20px;
    height: 11px;
    background: #263238;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

#addr-modal .dp-map-instruction .line1 {
    display: block;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

#addr-modal .dp-map-instruction span {
    display: block;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: #c7ccd6;
}

@media (max-height: 900px) {
    #addr-modal .dp-map-instruction {
        padding: 11px 16px 13px;
    }

    #addr-modal .dp-map-instruction .line1 {
        font-size: 13px;
        line-height: 17px;
    }

    #addr-modal .dp-map-instruction span {
        font-size: 11.5px;
        line-height: 15px;
    }
}

#addr-modal .dp-geo-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

#addr-modal .dp-address-form-title {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

#addr-modal .dp-address-form-title strong {
    font-size: 16px;
    line-height: 20px;
    color: #1f2937;
}

#addr-modal .dp-address-form-title span {
    font-size: 12px;
    line-height: 17px;
    color: #728096;
}

#addr-modal .dp-address-form {
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-rows: auto auto auto auto auto auto;
    row-gap: 14px;
    background: #fff;
}

#addr-modal .dp-field {
    margin: 0;
    min-width: 0;
}

#addr-modal .dp-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #8992a3;
    margin-bottom: 4px;
    /* text-transform: uppercase; */
    letter-spacing: .02em;
}

#addr-modal .dp-field input {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #dfe4eb;
    border-radius: 9px;
    font-size: 14px;
    color: #4b5563;
    background: #fff;
    outline: none;
}

#addr-modal .dp-field input:focus {
    border-color: #1f9d55;
    box-shadow: 0 0 0 2px rgba(31, 157, 85, .08);
}

#addr-modal .dp-address-row {
    display: grid;
    min-width: 0;
    gap: 16px;
}

#addr-modal .dp-address-row.three {
    grid-template-columns: 1fr 1fr 2.45fr;
}

#addr-modal .dp-address-row.three:last-of-type {
    grid-template-columns: 1fr 1fr 1fr;
    width: 66%;
}

#addr-modal .dp-nav-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin: 0;
}

#addr-modal .dp-nav-buttons .dp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid #dfe4eb;
    background: #fff;
    color: #4b5563;
    font-weight: 700;
    cursor: pointer;
}

#addr-modal .dp-nav-buttons .dp-btn-secondary:hover {
    background: #f7f8fa;
    border-color: #cfd5de;
}

#addr-modal .dp-address-submit {
    min-width: 90px;
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
}

@media (max-height: 900px) {
    #addr-modal.dp-modal-overlay {
        padding: 12px;
        box-sizing: border-box;
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }

    #addr-modal .dp-modal {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: min(852px, calc(100vw - 24px));
        height: auto;
        max-height: calc(100vh - 24px);
        min-height: 0;
        padding: 12px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    #addr-modal .dp-modal h5 {
        flex: 0 0 auto;
        min-height: 24px;
        font-size: 16px;
        line-height: 20px;
        margin: 0;
    }

    #addr-modal .dp-map-placeholder {
        flex: 0 0 clamp(210px, 31vh, 260px);
        width: 100%;
        height: clamp(210px, 31vh, 260px);
        min-height: 210px;
        /* was 175px */
        max-height: 260px;
        border-radius: 0;
    }

    #addr-modal .dp-map-search {
        top: 16px;
        left: 24px;
        width: 600px;
        height: 44px;
        padding-left: 44px;
    }

    #addr-modal .dp-map-selected-address strong {
        font-size: 14px;
        line-height: 18px;
    }

    #addr-modal .dp-map-selected-address span {
        font-size: 11px;
        line-height: 15px;
    }

    #addr-modal .dp-map-instruction {
        padding: 8px 12px;
        font-size: 11px;
        line-height: 15px;
    }

    #addr-modal .dp-address-form {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        padding: 12px;
        border-radius: 12px;
        display: grid;
        grid-template-rows: auto auto auto auto auto auto;
        row-gap: 10px;
        overflow: visible;
    }

    #addr-modal .dp-address-form-title {
        gap: 2px;
        margin: 0;
    }

    #addr-modal .dp-address-form-title strong {
        font-size: 15px;
        line-height: 18px;
    }

    #addr-modal .dp-address-form-title span {
        font-size: 10.5px;
        line-height: 14px;
    }

    #addr-modal .dp-field input {
        height: 42px;
        padding: 0 13px;
        font-size: 13px;
        border-radius: 8px;
    }

    #addr-modal .dp-address-row {
        gap: 10px;
    }

    #addr-modal .dp-address-row.three {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.45fr);
    }

    #addr-modal .dp-address-row.three:last-of-type {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
        width: 100%;
    }

    #addr-modal .dp-nav-buttons {
        padding-top: 2px;
        gap: 10px;
    }

    #addr-modal .dp-nav-buttons .dp-btn-secondary,
    #addr-modal .dp-address-submit {
        height: 40px;
        min-width: 90px;
    }
}

@media (max-height: 700px) {

    #addr-modal .dp-map-instruction {
        top: 54px;
    }

    #addr-modal.dp-modal-overlay {
        padding: 8px;
    }

    #addr-modal .dp-modal {
        width: min(852px, calc(100vw - 16px));
        max-height: calc(100vh - 16px);
        padding: 10px;
        gap: 8px;
    }

    #addr-modal .dp-modal h5 {
        min-height: 20px;
        font-size: 25px;
        line-height: 18px;
    }

    #addr-modal .dp-map-placeholder {
        flex-basis: 200px;
        /* was 180px */
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    #addr-modal .dp-map-search {
        top: 10px;
        left: 16px;
        width: 600px;
        height: 40px;
    }

    #addr-modal .dp-map-selected-address {
        bottom: 22px;
        min-height: 58px;
        padding: 8px 11px;
    }

    #addr-modal .dp-map-selected-address strong {
        font-size: 13px;
        line-height: 16px;
    }

    #addr-modal .dp-map-selected-address span {
        font-size: 10px;
        line-height: 13px;
    }

    #addr-modal .dp-address-form {
        padding: 22px;
        grid-template-rows: auto auto auto auto auto auto;
        row-gap: 20px;
    }

    #addr-modal .dp-address-form-title span {
        display: none;
    }

    #addr-modal .dp-field label {
        font-size: 10px;
    }

    #addr-modal .dp-field input {
        height: 38px;
        font-size: 12px;
    }
}

@media (max-width: 700px) {

    #addr-modal .dp-address-row.three,
    #addr-modal .dp-address-row.three:last-of-type {
        grid-template-columns: 1fr;
        width: 100%;
    }

    #addr-modal .dp-address-form {
        grid-template-rows: auto;
    }

    #addr-modal .dp-field input {
        height: 42px;
    }
}

#dp-qr-modal.dp-modal-overlay {
    position: static;
    background: transparent;
    backdrop-filter: none;
    z-index: auto;
    display: none;
    padding: 0;
    overflow: visible;
    margin-bottom: 20px;
}

#dp-qr-modal.dp-modal-overlay.is-open {
    display: block;
}

#dp-qr-modal .dp-qr-modal {
    width: 100%;
    max-width: none;
    max-height: none;
    box-shadow: none;
    border: 1px solid var(--dp-border);
    border-radius: 16px;
    background: #fff;
}

#dp-qr-modal .dp-qr-close {
    display: none;
}

#dp-qr-modal .dp-qr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--dp-border);
}

#dp-qr-modal .dp-qr-head h5 {
    font-size: 17px;
    font-weight: 500;
    color: var(--dp-text);
    margin: 0;
}

#dp-qr-modal .dp-qr-close {
    border: 0;
    background: var(--dp-bg-soft);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--dp-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dp-qr-modal .dp-qr-close:hover {
    background: #fdecec;
    color: var(--dp-red);
}

#dp-qr-modal .dp-qr-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#dp-qr-modal .dp-qr-plan-summary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 12px 16px;
}

#dp-qr-modal .dp-qr-plan-name {
    font-weight: 500;
    font-size: 13.5px;
    color: var(--dp-text);
}

#dp-qr-modal .dp-qr-plan-amount {
    font-weight: 400;
    font-size: 16px;
    color: var(--dp-green-dark);
}

#dp-qr-modal .dp-qr-image-wrap {
    width: 240px;
    height: 240px;
    border: 1.5px dashed var(--dp-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow: hidden;
}

#dp-qr-modal .dp-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

#dp-qr-modal .dp-qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--dp-muted);
    font-size: 12.5px;
    font-weight: 600;
}

#dp-qr-modal .dp-qr-spinner {
    border-top-color: var(--dp-green);
    border-color: rgba(31, 169, 106, .2);
    width: 22px;
    height: 22px;
}

#dp-qr-modal .dp-qr-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dp-muted);
}

#dp-qr-modal .dp-qr-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f5a524;
    flex-shrink: 0;
    animation: dp-qr-pulse 1.4s ease-in-out infinite;
}

#dp-qr-modal .dp-qr-status.is-success .dp-qr-status-dot {
    background: var(--dp-green);
    animation: none;
}

#dp-qr-modal .dp-qr-status.is-success #dp-qr-status-text {
    color: var(--dp-green-dark);
}

#dp-qr-modal .dp-qr-status.is-error .dp-qr-status-dot {
    background: var(--dp-red);
    animation: none;
}

@keyframes dp-qr-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

#dp-qr-modal .dp-qr-error {
    width: 100%;
    background: #fdecec;
    border: 1px solid #f6c6c8;
    color: var(--dp-red);
    font-size: 12.5px;
    border-radius: 8px;
    padding: 10px 12px;
    display: none;
}

#dp-qr-modal .dp-qr-error.is-visible {
    display: block;
}

#dp-qr-modal .dp-qr-actions {
    width: 100%;
    display: flex;
    gap: 10px;
}

#dp-qr-modal .dp-qr-actions .dp-btn {
    flex: 1;
    justify-content: center;
}

#dp-qr-modal .dp-qr-hint {
    font-size: 11.5px;
    color: var(--dp-muted);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

@media(max-width:480px) {
    #dp-qr-modal .dp-qr-modal {
        width: 420px;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .18);
    }

    #dp-qr-modal .dp-qr-image-wrap {
        width: 200px;
        height: 200px;
    }
}

#dealplex-onboarding-form .dp-addr-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid var(--dp-green);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--dp-green-dark);
    line-height: 1.5;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-addr-inline-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-addr-edit-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: #e7f8ef;
    color: var(--dp-green-dark);
    cursor: pointer;
}

#dealplex-onboarding-form .dp-addr-edit-btn:hover {
    background: var(--dp-green);
    color: #fff;
}

#dealplex-onboarding-form .dp-link-row.dp-is-selected {
    display: none;
}

#dealplex-onboarding-form .dp-plan-banner .banner-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .12em;
    color: #C8912E;
    text-transform: uppercase;
    margin-bottom: 16px;
}

#dealplex-onboarding-form .dp-plan-banner .banner-label::before,
#dealplex-onboarding-form .dp-plan-banner .banner-label::after {
    content: "🌾";
    font-size: 18px;
    opacity: .85;
}

#dealplex-onboarding-form .dp-plan-banner h5 {
    font-size: 32px;
    font-weight: 500;
    color: var(--dp-navy);
    margin: 0 0 8px;
}

#dealplex-onboarding-form .dp-plan-banner p {
    font-size: 16px;
    color: #6b6f8a;
    margin: 0 auto;
    max-width: 540px;
    line-height: 1.5;
}

#dealplex-onboarding-form .dp-plan-banner-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

#dealplex-onboarding-form .dp-plan-card {
    border: 1.5px solid #e9ebf2;
    border-radius: 16px;
    padding: 26px 24px;
    background: #fff;
    cursor: pointer;
    position: relative;
    text-align: left;
    transition: all .15s ease;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

#dealplex-onboarding-form .dp-plan-card:hover {
    border-color: #e0b968;
    box-shadow: 0 6px 18px rgba(202, 162, 74, .10);
}

#dealplex-onboarding-form .dp-ms-item:has(input[type=checkbox]:checked) {
    background: #e7f8ef;
    border-radius: 8px;
}

#dealplex-onboarding-form .dp-ms-item:has(input[type=checkbox]:checked) span {
    color: #14824f;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-ms-item:has(input[type=checkbox]:checked) {
        background: #173323;
    }

    #dealplex-onboarding-form .dp-ms-item:has(input[type=checkbox]:checked) span {
        color: #3ddb95;
    }
}

#dealplex-onboarding-form .dp-plan-card.is-selected {
    border-color: #D98A1F;
    border-width: 2px;
    background: linear-gradient(180deg, #FFF9EC 0%, #FFFDF8 100%);
    padding: 25px 23px;
    /* compensate for +0.5px border */
}

#dealplex-onboarding-form .dp-plan-card .plan-radio {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d7dce7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-radio {
    border-color: #D98A1F;
    background: #D98A1F;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-radio::after {
    content: "✓";
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

#dealplex-onboarding-form .dp-plan-card .plan-header-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding-right: 34px;
}

#dealplex-onboarding-form .dp-plan-card .plan-badge {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .03em;
    background: #FCEACB;
    color: #B8873A;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-plan-card .plan-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dp-text);
    margin-bottom: 0;
}

#dealplex-onboarding-form .dp-plan-card .plan-price {
    font-size: 16px;
    font-weight: 700;
    color: #A37200;
    margin-bottom: 2px;
    line-height: 1.15;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-price,
#dealplex-onboarding-form .dp-plan-card.is-selected .plan-name {
    color: #1c1c34;
}

#dealplex-onboarding-form .dp-plan-card .plan-tag {
    font-size: 14px;
    font-weight: 400;
    color: #6F6F6F;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-tag {
    color: #B8873A;
    font-weight: 700;
}

#dealplex-onboarding-form .dp-plan-card .plan-monthly {
    font-size: 16px;
    font-weight: 500;
    color: var(--dp-text);
    border-top: 1px dashed #e9ebf2;
    padding-top: 12px;
    margin-top: auto;
}

#dealplex-onboarding-form .dp-plan-card .plan-monthly span {
    font-weight: 500;
    color: var(--dp-muted);
    font-size: 13px;
}

@media(max-width:900px) {
    #dealplex-onboarding-form .dp-plan-banner {
        padding-right: 32px;
    }

    #dealplex-onboarding-form .dp-plan-banner-image {
        display: none;
    }
}

/* ============ SUCCESS SCREEN ============ */
#dealplex-onboarding-form .dp-success-wrap {
    max-width: 640px;
    margin: 64px auto;
    padding: 0 24px;
    text-align: center;
}

#dealplex-onboarding-form .dp-success-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #1A914B;
    color: #e7f8ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 22px;
}

#dealplex-onboarding-form .dp-success-wrap h2 {
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
    margin: 0 0 14px;
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-success-wrap>p {
    color: var(--dp-muted);
    font-size: 14.5px;
    margin: 0 0 8px;
    line-height: 1.6;
}

#dealplex-onboarding-form .dp-success-app-id {
    font-size: 18px;
    color: #094C24;
    margin-bottom: 28px;
}

#dealplex-onboarding-form .dp-success-app-id strong {
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-status-card {
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    padding: 22px;
    text-align: left;
    margin-bottom: 24px;
    background: #fff;
}

#dealplex-onboarding-form .dp-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

#dealplex-onboarding-form .dp-status-row:not(:last-child) {
    border-bottom: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-status-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #1A914B;
    font-weight: 700;
}

#dealplex-onboarding-form .dp-status-dot.done {
    background: #EAF7EF;
}

#dealplex-onboarding-form .dp-status-dot.pending {
    background: #e7f8ef;
    color: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-status-text .title {
    font-weight: 500;
    font-size: 14px;
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-status-text .sub {
    font-size: 12px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

#dealplex-onboarding-form .dp-status-card-head {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-status-card-head h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dp-text);
    margin: 0 0 4px;
}

#dealplex-onboarding-form .dp-status-card-head p {
    font-size: 13.5px;
    color: var(--dp-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 640px) {
    #dealplex-onboarding-form .dp-main .step-head h5 {
        font-size: 22px;
    }

    #dealplex-onboarding-form .dp-plan-grid {
        grid-template-columns: 1fr;
    }

    #dealplex-onboarding-form .dp-commission-grid {
        grid-template-columns: 1fr;
    }

    #dealplex-onboarding-form .dp-plan-banner {
        padding: 26px 18px;
    }

    #dealplex-onboarding-form .dp-plan-banner h5 {
        font-size: 20px;
    }
}

/* ============ UNIFIED PLAN BANNER — same look on every module ============ */
#dealplex-onboarding-form .dp-plan-banner {
    position: relative;
    text-align: center;
    padding: 40px 220px 34px 32px;
    border-radius: 18px;
    margin-bottom: 26px;
    overflow: hidden;
    background:
        radial-gradient(120% 160% at 12% 15%, #F3DFA9 0%, #FBF2DC 45%, #FFFFFF 85%) !important;
    border: 1px solid #f0e4c8;
    box-shadow: 0 1px 0 rgba(184, 135, 58, .05);
}

#dealplex-onboarding-form .dp-plan-banner .banner-icon {
    display: none;
}

#dealplex-onboarding-form .dp-plan-banner-image {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 170px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

#dealplex-onboarding-form .dp-plan-banner .banner-label,
#dealplex-onboarding-form .dp-plan-banner h5,
#dealplex-onboarding-form .dp-plan-banner p {
    position: relative;
    z-index: 1;
}

@media(max-width:900px) {
    #dealplex-onboarding-form .dp-plan-banner {
        padding-right: 32px;
    }

    #dealplex-onboarding-form .dp-plan-banner-image {
        display: none;
    }
}

#dealplex-onboarding-form .dp-plan-banner .banner-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .16em;
    color: #b8873a;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#dealplex-onboarding-form .dp-plan-banner .banner-label::before,
#dealplex-onboarding-form .dp-plan-banner .banner-label::after {
    content: "✦";
    color: #caa24a;
    font-size: 12px;
}

#dealplex-onboarding-form .dp-plan-banner h5 {
    font-size: 28px;
    font-weight: 500;
    color: var(--dp-navy);
    margin: 0 0 8px;
}

#dealplex-onboarding-form .dp-plan-banner p {
    font-size: 14.5px;
    color: #6b6f8a;
    margin: 0 auto;
    max-width: 540px;
    line-height: 1.5;
}

/* the missing rule — this is why cards were stacking one-per-row */
#dealplex-onboarding-form .dp-plan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 26px;
}

#dealplex-onboarding-form .dp-plan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 26px;
}

#dealplex-onboarding-form .dp-plan-grid .dp-plan-card {
    flex: 1 1 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    min-width: 200px;
}

@media(max-width:480px) {
    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media(max-width:640px) {
    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

#dealplex-onboarding-form .rental-figma .dp-plan-banner h5,
#dealplex-onboarding-form .rental-figma .dp-plan-banner p {
    color: var(--dp-navy);
}

#dealplex-onboarding-form .rental-figma .dp-plan-card.is-selected {
    border-color: #caa24a;
    background: #fffdf5;
}

#dealplex-onboarding-form .rental-figma .dp-plan-card.is-selected::after {
    background: #caa24a;
}

#dealplex-onboarding-form .rental-figma .dp-days-row .dp-day-chip {
    border: 0;
    background: none;
    padding: 4px 10px 4px 0;
    font-weight: 500;
}

#dealplex-onboarding-form .rental-figma .dp-days-row .dp-day-chip .box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #c7ccd6;
}

#dealplex-onboarding-form .rental-figma .dp-days-row .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

/* =========================================================
   PHARMACY MODULE — PROFESSIONAL VERIFICATION UI
   ========================================================= */
#dealplex-onboarding-form .dp-pharmacy-card {
    background: #fbfdfc;
    border-color: #dfeee7;
}

#dealplex-onboarding-form .dp-pharmacy-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

#dealplex-onboarding-form .dp-pharmacy-card-head h6 {
    margin-bottom: 4px;
}

#dealplex-onboarding-form .dp-pharmacy-card-head .req-note {
    margin-bottom: 0;
}

#dealplex-onboarding-form .dp-section-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #e7f8ef;
    color: var(--dp-green-dark);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .04em;
}

#dealplex-onboarding-form .dp-pharmacy-date-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#dealplex-onboarding-form .dp-pharmacy-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#dealplex-onboarding-form .dp-pharmacy-upload-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#dealplex-onboarding-form .dp-pharmacy-upload-grid-3>div:last-child {
    grid-column: 1 / -1;
}

#dealplex-onboarding-form .dp-pharmacy-upload-title {
    display: block;
    color: var(--dp-text);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

#dealplex-onboarding-form .dp-pharmacy-upload-title .req {
    color: var(--dp-red);
}

#dealplex-onboarding-form .dp-pharmacy-info-note {
    margin-top: 13px;
    padding: 11px 13px;
    border: 1px solid #d8efe4;
    background: #f1fbf6;
    border-radius: 9px;
    color: #5f746b;
    font-size: 11.5px;
    line-height: 1.55;
}

#dealplex-onboarding-form .dp-pharmacy-info-note strong {
    color: #297052;
}

#dealplex-onboarding-form .dp-file-error {
    display: none;
    color: var(--dp-red);
    font-size: 11px;
    line-height: 1.4;
    margin-top: 5px;
}

#dealplex-onboarding-form .dp-file-error.is-visible {
    display: block;
}

#dealplex-onboarding-form .dp-upload-pill.file-error,
#dealplex-onboarding-form .dp-upload-wide.file-error {
    border-color: var(--dp-red) !important;
    background: #fff7f7 !important;
}

#addr-modal .dp-map-placeholder.has-error {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.10) !important;
}

@media(max-width:767px) {

    #dealplex-onboarding-form .dp-pharmacy-upload-grid,
    #dealplex-onboarding-form .dp-pharmacy-upload-grid-3,
    #dealplex-onboarding-form .dp-pharmacy-date-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #dealplex-onboarding-form .dp-pharmacy-card-head {
        flex-direction: column;
        gap: 8px;
    }
}

/* Smart Store custom time picker */
.dp-time-picker-popover {
    position: fixed;
    z-index: 100000;
    width: 250px;
    background: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(20, 30, 45, .18);
    padding: 14px;
    font-family: inherit;
    display: none;
}

.dp-time-picker-popover.is-open {
    display: block;
}

.dp-time-picker-title {
    font-size: 13px;
    font-weight: 700;
    color: #253047;
    margin-bottom: 10px;
}

.dp-time-picker-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.dp-time-picker-row select {
    width: 100%;
    height: 38px;
    border: 1px solid #dfe5ea;
    border-radius: 8px;
    background: #fff;
    padding: 0 13px;
    font-size: 13px;
    color: #253047;
    outline: none;
}

.dp-time-picker-row select:focus {
    border-color: #19a663;
    box-shadow: 0 0 0 2px rgba(25, 166, 99, .10);
}

.dp-time-picker-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.dp-time-picker-actions button {
    height: 34px;
    border-radius: 7px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dp-time-picker-cancel {
    border: 1px solid #dfe5ea;
    background: #fff;
    color: #596273;
}

.dp-time-picker-set {
    border: 1px solid #19a663;
    background: #19a663;
    color: #fff;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box {
    position: relative;
    cursor: pointer;
    user-select: none;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box:focus {
    outline: none;
    border-color: #19a663;
    box-shadow: 0 0 0 2px rgba(25, 166, 99, .10);
}

#dealplex-onboarding-form .smartstore-figma .dp-time-box input[type="time"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    inset: auto !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-time-display {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #5f6476;
    font: 600 12px/1.2 inherit;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-thumb-upload-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

#dealplex-onboarding-form .dp-thumb-item {
    text-align: center;
}

#dealplex-onboarding-form .dp-thumb-drop {
    width: 70px;
    height: 70px;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    background: #fbfcfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b1b6c4;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-thumb-drop input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-thumb-drop .thumb-preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#dealplex-onboarding-form .dp-thumb-drop.is-filled {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-thumb-drop.file-error {
    border-color: var(--dp-red);
}

#dealplex-onboarding-form .dp-thumb-label {
    display: block;
    font-size: 10.5px;
    color: var(--dp-muted);
    margin-top: 5px;
}

#dealplex-onboarding-form .dp-verify-preview {
    width: 100%;
    min-height: 90px;
    border: 1px dashed var(--dp-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fafbfd;
}

#dealplex-onboarding-form .dp-verify-preview .verify-img {
    display: none;
    width: 100%;
    height: 90px;
    object-fit: cover;
}

#dealplex-onboarding-form .dp-verify-preview .verify-empty {
    font-size: 11.5px;
    color: var(--dp-muted);
    font-weight: 600;
    padding: 10px;
    text-align: center;
}

#dealplex-onboarding-form .dp-agent-card {
    margin-top: 0;
}

#dealplex-onboarding-form .dp-agent-card h6 {
    font-size: 14.5px;
    margin-bottom: 2px;
}

#dealplex-onboarding-form .dp-agent-card .req-note {
    margin-bottom: 14px;
}

#dealplex-onboarding-form .pharmacy-figma .dp-main {
    padding: 24px 26px;
}

#dealplex-onboarding-form .pharmacy-figma .dp-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 20px;
    box-shadow: 0 1px 4px rgba(28, 28, 52, .05);
}

#dealplex-onboarding-form .pharmacy-figma .dp-pharmacy-date-row>.dp-field>label,
#dealplex-onboarding-form .dp-field:has(> input[type="date"])>label {
    position: static !important;
    display: block !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    color: var(--dp-muted) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

#dealplex-onboarding-form input[type="date"] {
    padding: 13px 16px !important;
}

#dealplex-onboarding-form .pharmacy-figma .dp-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

#dealplex-onboarding-form .pharmacy-figma .dp-card-title-row h6 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dp-text);
}

#dealplex-onboarding-form .pharmacy-figma .dp-select-all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dp-green);
    cursor: pointer;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Working Days
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma .dp-days-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Remove pill/border appearance */
#dealplex-onboarding-form .pharmacy-figma .dp-day-chip {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;

    width: 100%;
    min-width: 0;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 0;
    background: transparent;

    color: #4f5669;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
    white-space: nowrap;
}

/* Checkbox */
#dealplex-onboarding-form .pharmacy-figma .dp-day-chip .box {
    width: 17px;
    height: 17px;
    min-width: 17px;

    border: 1.5px solid #c7ccd6;
    border-radius: 4px;

    background: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    transition:
        background .15s ease,
        border-color .15s ease;
}

/* Selected */
#dealplex-onboarding-form .pharmacy-figma .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

/* White check mark */
#dealplex-onboarding-form .pharmacy-figma .dp-day-chip.is-checked .box::after {
    content: "✓";
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

/* Hover */
#dealplex-onboarding-form .pharmacy-figma .dp-day-chip:hover {
    color: var(--dp-text);
}

#dealplex-onboarding-form .pharmacy-figma .dp-day-chip:hover .box {
    border-color: var(--dp-green);
}

/* ---------------------------------------------------------
   Working Days Error
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma #pharmacy-days-error {
    margin-top: 8px;
}

/* ---------------------------------------------------------
   Divider
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma .pharmacy-hours-divider {
    border-top: 1px dashed var(--dp-border);
    margin: 18px 0 20px;
}

/* ---------------------------------------------------------
   Opening & Closing Time Heading
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma .pharmacy-hours-title {
    margin: 0 0 18px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dp-text);
}

/* ---------------------------------------------------------
   Same / Separate Radio Row
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma .dp-radio-line {
    display: flex;
    align-items: center;
    gap: 36px;

    width: 100%;
    margin: 0 0 16px;

    color: #4f5669;
    font-size: 13.5px;

    flex-wrap: nowrap;
}

#dealplex-onboarding-form .pharmacy-figma .dp-radio-line label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0;
    padding: 0;

    color: #4f5669;
    font-size: 13.5px;
    font-weight: 500;

    cursor: pointer;
    white-space: nowrap;
}

#dealplex-onboarding-form .pharmacy-figma .dp-radio-line input[type="radio"] {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--dp-green);

    cursor: pointer;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Open / Close Time Row
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma .dp-time-row {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 0 !important;
    padding: 0;

    flex-wrap: wrap;
}

/* Time box */
#dealplex-onboarding-form .pharmacy-figma .dp-time-box {
    width: 110px;
    height: 42px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 10px;

    background: #fff;

    border: 1px solid var(--dp-border);
    border-radius: 8px;

    color: #5f6476;

    position: relative;
    overflow: hidden;

    cursor: pointer;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

#dealplex-onboarding-form .pharmacy-figma .dp-time-box:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .pharmacy-figma .dp-time-box:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(25, 166, 99, .10);
}

/* Clock icon */
#dealplex-onboarding-form .pharmacy-figma .dp-time-box>span {
    color: var(--dp-green);
    font-size: 16px;

    flex: 0 0 auto;

    pointer-events: none;
}

/* Display text */
#dealplex-onboarding-form .pharmacy-figma .dp-time-display {
    border: 0;
    background: transparent;

    padding: 0;
    margin: 0;

    color: #5f6476;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    pointer-events: none;
}

/* Actual time input */
#dealplex-onboarding-form .pharmacy-figma .dp-time-box input[type="time"] {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    opacity: .01;

    cursor: pointer;

    z-index: 3;
}

/* Chrome time picker */
#dealplex-onboarding-form .pharmacy-figma .dp-time-box input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* ---------------------------------------------------------
   Per-day timings
   --------------------------------------------------------- */

#dealplex-onboarding-form .pharmacy-figma #pharmacy-perday-time-block {
    margin-top: 16px !important;
}

#dealplex-onboarding-form .pharmacy-figma #pharmacy-perday-time-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media(max-width:1100px) {

    #dealplex-onboarding-form .pharmacy-figma .dp-days-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 14px;
    }

}

@media(max-width:700px) {

    #dealplex-onboarding-form .pharmacy-figma .dp-days-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 14px;
    }

    #dealplex-onboarding-form .pharmacy-figma .dp-radio-line {
        flex-wrap: wrap;
        gap: 16px;
    }

}

@media(max-width:480px) {

    #dealplex-onboarding-form .pharmacy-figma .dp-days-row {
        grid-template-columns: 1fr 1fr;
    }

    #dealplex-onboarding-form .pharmacy-figma .dp-time-box {
        width: 145px;
    }

}

/* =========================================================================
   ALL MODULES — FIGMA MATCH PATCH (applies to Smart Store, Restaurant,
   Rental, Pharmacy, Handyman — scoped under #dealplex-onboarding-form only,
   no other page is touched)
   ========================================================================= */

/* 1. Cards: softer border + shadow + spacing */
#dealplex-onboarding-form .dp-main {
    padding: 32px 34px;
}

#dealplex-onboarding-form .dp-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 1px;
    padding: 22px 24px;
    margin: 0 0 20px;
    box-shadow: 0 1px 6px rgba(28, 28, 52, .04);
}

#dealplex-onboarding-form .dp-card h6 {
    font-size: 15.5px;
    font-weight: 400;
    color: var(--dp-text);
    margin-bottom: 14px;
}

#dealplex-onboarding-form .step-head h5 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 6px;
}

#dealplex-onboarding-form .step-head p {
    font-size: 14px;
    color: var(--dp-muted);
    margin-bottom: 20px;
}

/* 2. Inputs: rounded, calm border, comfortable height */
#dealplex-onboarding-form .dp-field input[type=text],
#dealplex-onboarding-form .dp-field input[type=email],
#dealplex-onboarding-form .dp-field input[type=tel],
#dealplex-onboarding-form .dp-field input[type=number],
#dealplex-onboarding-form .dp-field input[type=date],
#dealplex-onboarding-form .dp-field select {
    height: 48px;
    padding: 0 15px;
    border: 1.5px solid #e6e8f0;
    border-radius: 10px;
    font-size: 14.5px;
}

#dealplex-onboarding-form .dp-field input::placeholder {
    color: #9195b0;
    font-weight: 400;
}

/* 3. Field wrapper — no floating-label padding shift; keeps input position fixed */
#dealplex-onboarding-form .dp-field {
    position: relative;
}

#dealplex-onboarding-form .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 4. Location/address link row */
#dealplex-onboarding-form .dp-link-row {
    background: #fff;
    border: 1.5px solid #e6e8f0;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-link-row .arrow {
    color: var(--dp-green);
}

/* 5. Working days — plain square checkbox + label (not pill chips) */
#dealplex-onboarding-form .dp-days-row {
    gap: 20px;
    row-gap: 12px;
}

#dealplex-onboarding-form .dp-day-chip {
    border: 0;
    background: none;
    padding: 0;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-day-chip .box {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    border: 1.5px solid #c7ccd6;
}

#dealplex-onboarding-form .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-select-all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dp-green);
}

/* =========================================================
   PHARMACY - WORKING DAYS ALIGNMENT
   ========================================================= */

#dealplex-onboarding-form #days-pharmacy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    align-items: center;
    gap: 8px 0px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#dealplex-onboarding-form #days-pharmacy .dp-day-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    width: 100%;
    min-width: 0;

    border: 0;
    background: transparent;
    padding: 4px 0;

    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--dp-text);

    cursor: pointer;
    white-space: nowrap;
}

/* Checkbox */
#dealplex-onboarding-form #days-pharmacy .dp-day-chip .box {
    width: 16px;
    height: 16px;
    min-width: 16px;

    border-radius: 4px;
    border: 1.5px solid #c7ccd6;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

/* Selected checkbox */
#dealplex-onboarding-form #days-pharmacy .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

/* Keep Select All properly aligned */
#dealplex-onboarding-form .dp-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

/* Pharmacy working-days error */
#dealplex-onboarding-form #pharmacy-days-error {
    margin-top: 6px;
}

/* Tablet */
@media (max-width: 900px) {
    #dealplex-onboarding-form #days-pharmacy {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 8px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #dealplex-onboarding-form #days-pharmacy {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 8px;
    }
}

/* 6. Open time / Close time boxes (the plain <label>+<input> style ones) */
#dealplex-onboarding-form .dp-time-row .dp-field {
    max-width: 220px;
}

#dealplex-onboarding-form .dp-time-row input[type=time] {
    height: 50px;
    border-radius: 10px;
    padding: 0 14px;
    border: 1.5px solid #e6e8f0;
}

/* 6b. Generic custom time-box trigger for modules without a *-figma wrapper (Pharmacy, Handyman) */
#dealplex-onboarding-form .dp-time-box {
    width: 150px;
    height: 42px;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    background: #fff;
    color: #5f6476;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#dealplex-onboarding-form .dp-time-box:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-time-box:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(25, 166, 99, .10);
}

#dealplex-onboarding-form .dp-time-box>span:first-child {
    color: var(--dp-green);
    font-size: 16px;
    flex: 0 0 auto;
    pointer-events: none;
}

#dealplex-onboarding-form .dp-time-box input[type="time"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    inset: auto !important;
}

#dealplex-onboarding-form .dp-time-display {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #5f6476;
    font: 600 12px/1.2 inherit;
    cursor: pointer;
}

/* 6c. Card title row with a right-aligned action (Working days "Select all", etc.) */
#dealplex-onboarding-form .dp-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

/* 7. Upload pills — green dashed */
#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    position: relative;
    overflow: hidden;
    min-height: 52px;
    border: 1.5px dashed #cdeedd;
    background: #f2fcf7;
    color: var(--dp-green-dark);
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    justify-content: flex-start;
    gap: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

#dealplex-onboarding-form .dp-upload-wide.is-filled,
#dealplex-onboarding-form .dp-upload-pill.is-filled {
    background: #e2f6ec;
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-upload-wide input[type=file],
#dealplex-onboarding-form .dp-upload-pill input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-upload-pill span:last-child,
#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide>span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

#dealplex-onboarding-form .dp-upload-pill .icon,
#dealplex-onboarding-form .dp-upload-wide>span:first-child {
    flex: 0 0 auto;
}

/* 8. Commission Overview (Partner Contract, every module) */
#dealplex-onboarding-form .dp-commission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

#dealplex-onboarding-form .dp-commission-box {
    background: #f8fafc;
    border: 0;
    border-radius: 12px;
    padding: 20px 22px;
    min-height: 110px;
}

#dealplex-onboarding-form .dp-commission-box .label {
    font-size: 13px;
    color: var(--dp-muted);
    font-weight: 600;
}

#dealplex-onboarding-form .dp-commission-box .value {
    font-size: 30px;
    font-weight: 500;
    color: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-commission-box .old-price {
    font-size: 12px;
    color: #e55b5b;
    background: #ffe4e4;
    text-decoration: line-through;
    padding: 2px 7px;
    border-radius: 5px;
    margin-left: 6px;
}

/* 9. E-signature tabs — underline style */
#dealplex-onboarding-form .dp-esign-tabs {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--dp-border);
    border-radius: 0;
    padding: 0;
    gap: 28px;
    margin-bottom: 0;
}

#dealplex-onboarding-form .dp-esign-tab {
    flex: none;
    padding: 0 0 12px;
    margin: 0;
    border-radius: 0;
    border-bottom: 2.5px solid transparent;
    font-weight: 600;
    font-size: 14px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-esign-tab.is-active {
    color: var(--dp-green);
    border-bottom-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-esign-pane {
    padding-top: 18px;
}

/* 10. Progress panel + step list — tighter proportions */
#dealplex-onboarding-form .dp-progress-panel .heading {
    font-size: 16px;
}

#dealplex-onboarding-form .dp-steps li {
    padding: 9px 6px;
}

#dealplex-onboarding-form .dp-steps li .name {
    font-size: 13.5px;
}

#dealplex-onboarding-form .dp-steps li .sub {
    font-size: 11px;
}

/* 11. Buttons */
#dealplex-onboarding-form .dp-btn {
    border-radius: 10px;
    padding: 13px 26px;
    font-size: 14px;
}

/* 12. Remove the boxed/card look from SIDEBAR and PROGRESS panel — they sit
   flat with no border/shadow of their own. Only .dp-card sections inside
   the middle column stay boxed. No HTML/JS logic touched — visual only. */
#dealplex-onboarding-form .dp-sidebar,
#dealplex-onboarding-form .dp-progress-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

#dealplex-onboarding-form .dp-sidebar {
    padding-right: 8px;
}

#dealplex-onboarding-form .dp-progress-panel {
    padding-left: 8px;
}

/* 13. Middle (main content) column — flat panel with the #FBFBFB backdrop
   you asked for, instead of a bordered white card */
#dealplex-onboarding-form .dp-main {
    background: #FBFBFB;
    border: 0;
    box-shadow: none;
    padding: 28px 30px;
    border-radius: 5px;
}

/* 14. WhatsApp "same / different" choice — plain inline radio, not pill boxes */
#dealplex-onboarding-form .dp-radio-pill-group {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

#dealplex-onboarding-form .dp-radio-pill {
    background: none;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--dp-text);
    cursor: pointer;
}

#dealplex-onboarding-form .dp-radio-pill.is-checked {
    background: none;
    color: var(--dp-text);
    font-weight: 400;
}

#dealplex-onboarding-form .dp-radio-pill input[type=radio] {
    display: inline-block !important;
    appearance: auto;
    -webkit-appearance: auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--dp-green);
    cursor: pointer;
}

.dp-service-dropdown {
    position: relative;
    width: 100%;
}

.dp-service-selected {
    background: #fff;
    border: 1.5px solid #e6e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.dp-service-menu {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 5px;
    padding: 10px;
    z-index: 100;
    max-height: 260px;
    overflow-y: auto;
}

.dp-service-menu.hidden {
    display: none;
}

.dp-service-menu>input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.dp-service-item input[type=checkbox] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    accent-color: #19a663;
    cursor: pointer;
}

.dp-service-item {
    /* align-items:center; */
    padding: 10px;
    display: flex;
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
}

.dp-service-item:hover {
    background: #f5f8f7;
}

.dp-service-item input[type=checkbox] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    accent-color: #19a663;
    cursor: pointer;
}

.dp-service-chip {
    display: inline-block;
    background: #e7f8ef;
    color: #14824f;
    padding: 4px 8px;
    border-radius: 20px;
    margin: 3px;
    font-size: 12px;
}

.dp-service-chip {
    display: inline-block;
    background: #e7f8ef;
    color: #14824f;
    padding: 4px 8px;
    border-radius: 20px;
    margin: 3px;
    font-size: 12px;
}

.dp-service-detail-card .sd-warning-note {
    background: #fdf3e0;
    border: 1px solid #f0dba8;
    color: #8a6416;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
}

@media (prefers-color-scheme: dark) {
    .dp-service-detail-card .sd-warning-note {
        background: #2c2517;
        border-color: #4a3d20;
        color: #e0b25a;
    }
}

/* Per-service detail cards (Handyman step 2) — kept simple & light-weight */
.dp-service-detail-card {
    border: 1px solid var(--dp-border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 10px;
    background: #fbfcfe;
}

.dp-service-detail-card .sd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 10px;
}

.dp-service-detail-card .sd-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--dp-text);
}

.dp-service-detail-card .sd-status {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

.dp-service-detail-card .sd-status.pending {
    background: #fdf3e0;
    color: #b8873a;
}

.dp-service-detail-card .sd-status.saved {
    background: #e7f8ef;
    color: #14824f;
}

.dp-service-detail-card .sd-body {
    display: none;
    margin-top: 10px;
}

.dp-service-detail-card.is-open .sd-body {
    display: block;
}

.dp-service-detail-card .sd-summary {
    display: none;
    font-size: 12px;
    font-weight: 400;
    color: var(--dp-muted);
    margin-top: 6px;
}

.dp-service-detail-card.is-saved:not(.is-open) .sd-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dp-service-detail-card .sd-edit-btn,
.dp-service-detail-card .sd-remove-btn {
    font-size: 11px;
    font-weight: 600;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.dp-service-detail-card .sd-edit-btn {
    color: var(--dp-green-dark);
}

.dp-service-detail-card .sd-remove-btn {
    color: var(--dp-red);
}

.dp-service-detail-card .sd-error {
    display: none;
    margin-top: 8px;
}

.dp-service-detail-card .dp-field label {
    font-weight: 500;
    font-size: 12px;
}

.dp-service-detail-card .dp-field input {
    font-weight: 400;
}

.dp-service-detail-card .dp-btn {
    font-weight: 600;
    font-size: 12.5px;
    padding: 9px 16px;
}

#dp-qr-modal .dp-qr-hiw {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 6px;
    width: 100%;
}

#dp-qr-modal .dp-qr-hiw-step .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EEF2FF;
    color: #4F46E5;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
}

#dp-qr-modal .dp-qr-hiw-step strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--dp-text);
}

#dp-qr-modal .dp-qr-hiw-step p {
    font-size: 12.5px;
    color: var(--dp-muted);
    margin: 0;
    line-height: 1.5;
}

#dp-qr-modal .dp-qr-hiw-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--dp-text);
    margin: 8px 0 4px;
    width: 100%;
}

/* right-column plan summary (swapped into the progress panel while QR is active) */
.dp-qr-plan-panel .heading {
    font-weight: 500;
    color: var(--dp-text);
    font-size: 16px;
    margin-bottom: 14px;
}

.dp-qr-plan-panel .plan-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dp-qr-plan-panel .plan-name {
    font-size: 19px;
    font-weight: 500;
    color: var(--dp-text);
}

.dp-qr-plan-panel .plan-sub {
    font-size: 12.5px;
    color: var(--dp-muted);
    margin-top: 2px;
}

.dp-qr-plan-panel .badge-active {
    font-size: 10.5px;
    font-weight: 400;
    background: #DCFCE7;
    color: var(--dp-green-dark);
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.dp-qr-plan-panel .rows {
    border-top: 1px dashed var(--dp-border);
    border-bottom: 1px dashed var(--dp-border);
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.dp-qr-plan-panel .row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--dp-muted);
}

.dp-qr-plan-panel .row strong {
    color: var(--dp-text);
}

.dp-qr-plan-panel .total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    color: var(--dp-text);
}

#dealplex-onboarding-form .rental-figma #rental_service_type {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#dp-submit-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(28, 28, 52, .55);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#dp-submit-loader-overlay.is-open {
    display: flex;
}

#dp-submit-loader-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 40px 32px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .28);
    max-width: 120px;
    /* width: 100%; */
}

#dp-submit-loader-anim {
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
}

#dp-submit-loader-title {
    font-weight: 600;
    font-size: 16px;
    color: #1c1c34;
    margin-bottom: 6px;
}

#dp-submit-loader-sub {
    font-size: 13px;
    color: #6b6f8a;
    line-height: 1.5;
}

/* =========================================================
   PLAN SELECTION — FIGMA MATCH
   ========================================================= */

#dealplex-onboarding-form .dp-plan-pane {
    width: 100%;
}

/* Banner */
#dealplex-onboarding-form .dp-plan-banner {
    position: relative;
    width: 100%;
    min-height: 180px;
    padding: 36px 220px 30px 32px !important;
    margin-bottom: 24px;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;

    background:
        radial-gradient(120% 160% at 12% 15%,
            #F3DFA9 0%,
            #FBF2DC 45%,
            #FFFFFF 85%) !important;

    border: 1px solid #f0e4c8;
}

/* Banner image */
#dealplex-onboarding-form .dp-plan-banner-image {
    display: block !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* Banner text */
#dealplex-onboarding-form .dp-plan-banner .banner-label,
#dealplex-onboarding-form .dp-plan-banner h5,
#dealplex-onboarding-form .dp-plan-banner p {
    position: relative;
    z-index: 2;
}

#dealplex-onboarding-form .dp-plan-banner .banner-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: #c8912e;
    text-transform: uppercase;
}

#dealplex-onboarding-form .dp-plan-banner h5 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    color: #1c1c34;
}

#dealplex-onboarding-form .dp-plan-banner p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
    color: #6b6f8a;
}

/* =========================================================
   PLAN CARDS
   ========================================================= */

#dealplex-onboarding-form .dp-plan-grid {
    display: grid !important;

    /* 3 cards per row */
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

    gap: 20px;
    width: 100%;
    margin: 0 auto 24px;
}

#dealplex-onboarding-form .dp-plan-card:nth-child(1),
#dealplex-onboarding-form .dp-plan-card:nth-child(2),
#dealplex-onboarding-form .dp-plan-card:nth-child(3) {
    grid-column: span 2;
}

#dealplex-onboarding-form .dp-plan-card:nth-child(4) {
    grid-column: 2 / 4 !important;
    margin-left: 0 !important;
}

#dealplex-onboarding-form .dp-plan-card:nth-child(5) {
    grid-column: 4 / 6 !important;
    margin-left: 0 !important;
}

/* Card */
#dealplex-onboarding-form .dp-plan-grid .dp-plan-card {
    width: 100%;
    max-width: none !important;
    min-width: 0 !important;

    min-height: 168px;
    padding: 20px 20px !important;

    border: 1.5px solid #e5e2dc;
    border-radius: 16px;

    background: #fff;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;
}

/* Selected card */
#dealplex-onboarding-form .dp-plan-grid .dp-plan-card.is-selected {
    border: 2px solid #d98a1f;
    padding: 19px 19px !important;

    background:
        radial-gradient(120% 160% at 12% 15%,
            #F3DFA9 0%,
            #FBF2DC 45%,
            #FFFFFF 85%) !important;
}

/* Card hover */
#dealplex-onboarding-form .dp-plan-grid .dp-plan-card:hover {
    border-color: #d98a1f;
    box-shadow: 0 5px 18px rgba(202, 162, 74, .10);
}

/* Radio */
#dealplex-onboarding-form .dp-plan-card .plan-radio {
    top: 20px;
    right: 20px;

    width: 24px;
    height: 24px;
}

/* Plan title */
#dealplex-onboarding-form .dp-plan-card .plan-name {
    font-size: 17px;
    font-weight: 600;
}

/* Price */
#dealplex-onboarding-form .dp-plan-card .plan-price {
    margin-top: 8px;
    margin-bottom: 4px;

    font-size: 17px;
    font-weight: 700;
    color: #a37200;
}

/* Description */
#dealplex-onboarding-form .dp-plan-card .plan-tag {
    margin-bottom: 14px;

    font-size: 13px;
    line-height: 1.4;
    color: #6f6f6f;
}

/* Monthly price */
#dealplex-onboarding-form .dp-plan-card .plan-monthly {
    margin-top: auto;
    padding-top: 12px;

    font-size: 16px;
    font-weight: 600;

    border-top: 1px dashed #e9ebf2;
}

/* =========================================================
   PLAN SELECTION — CLEAN FIGMA LAYOUT
   ========================================================= */

#dealplex-onboarding-form .dp-plan-pane {
    width: 100%;
    max-width: 100%;
    padding: 24px 28px 22px;
    background: #fffdf8;
    border-radius: 14px;
    overflow: hidden;
}

/* Banner */
#dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
    width: 100%;
    margin: 0 0 20px;
    padding: 30px 190px 26px 30px !important;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Plan grid */
#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0 0 22px;
}

/* All cards */
#dealplex-onboarding-form .dp-plan-pane .dp-plan-card {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 150px;

    padding: 18px 18px !important;

    box-sizing: border-box;
}

/* First row: Starter / Basic / Pro */
#dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(1),
#dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(2),
#dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(3) {
    grid-column: span 2;
}

/* Second row: centered Plus / Elite */
#dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(4) {
    grid-column: 2 / 4;
    margin: 0 !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(5) {
    grid-column: 4 / 6;
    margin: 0 !important;
}

/* Card content */
#dealplex-onboarding-form .dp-plan-pane .plan-header-row {
    padding-right: 30px;
    margin-bottom: 8px;
}

#dealplex-onboarding-form .dp-plan-pane .plan-name {
    font-size: 16px;
}

#dealplex-onboarding-form .dp-plan-pane .plan-price {
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 4px;
}

#dealplex-onboarding-form .dp-plan-pane .plan-tag {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 12px;
}

#dealplex-onboarding-form .dp-plan-pane .plan-monthly {
    font-size: 14px;
    padding-top: 10px;
}

/* =========================================================
   PLAN NAVIGATION
   ========================================================= */

#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons {
    width: 100%;
    min-height: 54px;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    margin: 0 !important;
    padding: 14px 0 0 !important;

    border-top: 1px solid #e6e8f0;
    box-sizing: border-box;
}

/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .dp-step-panel .dp-nav-buttons .dp-btn,
#dealplex-onboarding-form .dp-plan-pane .dp-nav-buttons .dp-btn,
#dealplex-onboarding-form .dp-contract-pane .dp-nav-buttons .dp-btn {
    min-height: 46px !important;
    min-width: 120px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
}



/* Disabled state */
#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-primary:disabled {
    background: #9bd8bb;
    color: #fff;
    opacity: 1;
}

@media (max-width: 900px) {

    #dealplex-onboarding-form .dp-plan-pane {
        padding: 20px;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(1),
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(2),
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(3),
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(4),
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-card:nth-child(5) {
        grid-column: auto;
        margin: 0 !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
        padding: 28px !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-banner-image {
        display: none !important;
    }
}

@media (max-width: 640px) {

    #dealplex-onboarding-form .dp-plan-pane {
        padding: 16px;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-card {
        grid-column: auto !important;
        min-height: 145px;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons {
        gap: 10px;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-secondary {
        min-width: 82px;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-primary {
        min-width: 0;
        flex: 1;
    }
}

#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    width: 100%;
    margin-top: 10px;
    padding-top: 16px;

    border-top: 1px solid #e6e8f0;
}

#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn {
    min-height: 46px;
    padding: 0 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* Back */
#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-secondary {
    background: #fff;
    border: 1px solid #dfe3eb;
    color: #1c1c34;
}

/* Continue */
#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-primary {
    min-width: 190px;
    background: #1fa96a;
    color: #fff;
    border: 0;
}

#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-primary:not(:disabled):hover {
    background: #14824f;
}

#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-primary:disabled {
    background: #9bd8bb;
    color: #fff;
    opacity: 1;
}

@media (max-width: 900px) {

    #dealplex-onboarding-form .dp-plan-banner {
        min-height: 170px;
        padding: 32px 30px !important;
    }

    #dealplex-onboarding-form .dp-plan-banner-image {
        display: none !important;
    }

    #dealplex-onboarding-form .dp-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card:nth-child(4),
    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
    }
}

@media (max-width: 640px) {

    #dealplex-onboarding-form .dp-plan-banner {
        min-height: 150px;
        padding: 24px 18px !important;
        margin-bottom: 18px;
        border-radius: 12px;
    }

    #dealplex-onboarding-form .dp-plan-banner h5 {
        font-size: 22px;
    }

    #dealplex-onboarding-form .dp-plan-banner p {
        font-size: 12px;
    }

    #dealplex-onboarding-form .dp-plan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card:nth-child(4),
    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
    }

    #dealplex-onboarding-form .dp-plan-grid .dp-plan-card {
        min-height: 150px;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons {
        gap: 10px;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn {
        min-height: 44px;
        padding: 0 16px;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-primary {
        min-width: 0;
        flex: 1;
    }
}

#dealplex-onboarding-form .dp-plan-pane {
    width: 100%;
    max-width: 100%;
    padding: 24px 28px 22px;
    background:
        linear-gradient(0deg, #FFFFFF, #FFFFFF),
        linear-gradient(192.01deg, #F5E6C9 0%, #FFFDF8 40%, #FFFFFF 100%);
    background-blend-mode: multiply;
    border-radius: 14px;
    overflow: hidden;
}

/* Keep the actual cards white */
#dealplex-onboarding-form .dp-plan-card {
    background: #ffffff;
}

/* Selected card has the warm Figma highlight */
#dealplex-onboarding-form .dp-plan-card.is-selected {
    background: linear-gradient(180deg,
            #fff9ec 0%,
            #fffdf8 100%);
}

/* Main plan section background */
#dealplex-onboarding-form .dp-plan-pane {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    padding: 28px 28px 24px !important;

    background: linear-gradient(192.01deg,
            #F5E6C9 0%,
            #FFFDF8 40%,
            #FFFFFF 100%) !important;

    border-radius: 14px;
    overflow: hidden;
}

#dealplex-onboarding-form .dp-plan-banner {
    position: relative;

    width: 100%;
    min-height: 150px;

    margin: 0 0 18px !important;
    padding: 28px 190px 24px 28px !important;

    box-sizing: border-box;

    /* IMPORTANT — no separate white card */
    background: transparent !important;
    background: linear-gradient(192.01deg,
            #F5E6C9 0%,
            #FFFDF8 40%,
            #FFFFFF 100%) !important;

    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    text-align: center;
}

/* Heading */
#dealplex-onboarding-form .dp-plan-banner h5 {
    margin: 8px 0 8px !important;

    font-size: 28px !important;
    line-height: 1.2;
    font-weight: 600 !important;

    color: #1c1c34 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Small partner heading */
#dealplex-onboarding-form .dp-plan-banner .banner-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 0 10px !important;

    background: transparent !important;
    border: 0 !important;
}

/* Description */
#dealplex-onboarding-form .dp-plan-banner p {
    margin: 0 auto !important;
    max-width: 560px;

    font-size: 14px !important;
    line-height: 1.5;

    color: #6b6f8a !important;

    background: transparent !important;
}

/* Banner image */
#dealplex-onboarding-form .dp-plan-banner-image {
    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 175px !important;
    height: auto;

    z-index: 2;
    pointer-events: none;
}

/* =========================================================
   PLAN CARDS
   ========================================================= */

#dealplex-onboarding-form .dp-plan-grid {
    display: grid !important;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
    margin: 0 0 22px !important;
}

/* Card */
#dealplex-onboarding-form .dp-plan-card {
    position: relative;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 168px;

    padding: 20px !important;

    box-sizing: border-box;

    background: #ffffff !important;

    border: 1px solid #e5e2dc;
    border-radius: 16px;
}

/* Selected card */
#dealplex-onboarding-form .dp-plan-card.is-selected {
    border: 2px solid #d98a1f !important;

    padding: 19px !important;

    background: linear-gradient(180deg,
            #fff9ec 0%,
            #fffdf8 100%) !important;
}

/* =========================================================
   RADIO / SELECTED CHECK
   MOVE FROM TOP → MIDDLE
   ========================================================= */

#dealplex-onboarding-form .dp-plan-card .plan-radio {
    position: absolute !important;

    top: 40% !important;
    right: 20px !important;

    transform: translateY(-50%) !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;

    border-radius: 50%;

    display: flex !important;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: #fff;
    border: 2px solid #d7dce7;

    z-index: 5;
}

/* Selected check */
#dealplex-onboarding-form .dp-plan-card.is-selected .plan-radio {
    background: #d98a1f !important;
    border-color: #d98a1f !important;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-radio::after {
    content: "✓";

    color: #fff;
    font-size: 13px;
    font-weight: 600;

    line-height: 1;
}

/* Keep card content away from radio */
#dealplex-onboarding-form .dp-plan-card .plan-header-row {
    padding-right: 38px !important;
}

/* =========================================================
   SECOND ROW
   ========================================================= */

/* Use grid positioning — NO margin-left */
#dealplex-onboarding-form .dp-plan-card:nth-child(4) {
    grid-column: 1 / 2;

    margin-left: 33.333% !important;
}

#dealplex-onboarding-form .dp-plan-card:nth-child(5) {
    grid-column: 2 / 3;

    margin-left: 0 !important;
}

#dealplex-onboarding-form .dp-field.dp-floating-field {
    position: relative;
    min-width: 0;
    padding-top: 0;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .dp-field.dp-floating-field>select:not([multiple]),
#dealplex-onboarding-form .dp-field.dp-floating-field>textarea,
#dealplex-onboarding-form .dp-field.dp-floating-field>.dp-input-with-suffix {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    border: 1.5px solid #dfe3eb;
    border-radius: 10px;
    background: #fff;
    color: var(--dp-text);
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .dp-field.dp-floating-field>select:not([multiple]),
#dealplex-onboarding-form .dp-field.dp-floating-field>textarea {
    padding: 16px 16px 7px !important;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>.dp-input-with-suffix {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>.dp-input-with-suffix>input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 16px 12px 7px 16px !important;
    outline: 0 !important;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>.dp-input-with-suffix>span {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-left: 1px solid var(--dp-border);
    color: var(--dp-muted);
    font-size: 12px;
    font-weight: 700;
    background: #fff;
}

/* Floating label: also works when the original label is sr-only. */
#dealplex-onboarding-form .dp-field.dp-floating-field>label {
    position: absolute !important;
    left: 13px;
    top: 0;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    padding: 0 5px !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: nowrap !important;
    border: 0 !important;
    background: #fff;
    color: #7d8294;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color .18s ease, font-size .18s ease;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>label .req {
    color: var(--dp-red);
    margin-left: 2px;
}

#dealplex-onboarding-form .dp-field.dp-floating-field:focus-within>input,
#dealplex-onboarding-form .dp-field.dp-floating-field:focus-within>select:not([multiple]),
#dealplex-onboarding-form .dp-field.dp-floating-field:focus-within>textarea,
#dealplex-onboarding-form .dp-field.dp-floating-field:focus-within>.dp-input-with-suffix {
    outline: none !important;
    border-color: var(--dp-green) !important;
    box-shadow: 0 0 0 3px rgba(31, 169, 106, .10) !important;
}

#dealplex-onboarding-form .dp-field.dp-floating-field:focus-within>label {
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-field.dp-floating-field>input::placeholder,
#dealplex-onboarding-form .dp-field.dp-floating-field>textarea::placeholder,
#dealplex-onboarding-form .dp-field.dp-floating-field>.dp-input-with-suffix input::placeholder {
    color: transparent !important;
}

#dealplex-onboarding-form .dp-field.dp-floating-field.has-error>input,
#dealplex-onboarding-form .dp-field.dp-floating-field.has-error>select:not([multiple]),
#dealplex-onboarding-form .dp-field.dp-floating-field.has-error>textarea,
#dealplex-onboarding-form .dp-field.dp-floating-field.has-error>.dp-input-with-suffix {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .08) !important;
}

#dealplex-onboarding-form .dp-field.dp-floating-field.has-error>label {
    color: var(--dp-red);
}

#dealplex-onboarding-form .dp-field.dp-floating-field>textarea {
    min-height: 100px;
    resize: vertical;
    padding-top: 20px !important;
}

/* Multi-select is a special component; keep its normal label above the control. */
#dealplex-onboarding-form .dp-field>select[multiple] {
    min-height: 120px;
}

/* Referred By card */
#dealplex-onboarding-form .dp-agent-card {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

#dealplex-onboarding-form .dp-agent-card .dp-row {
    margin-bottom: 0;
}

/* Consistent spacing */
#dealplex-onboarding-form .dp-step-panel>.dp-card {
    margin-top: 0;
    margin-bottom: 18px;
}

#dealplex-onboarding-form .dp-step-panel>.dp-card+.dp-card {
    margin-top: 18px;
}

#dealplex-onboarding-form .dp-step-panel .step-head {
    margin-bottom: 18px;
}

#dealplex-onboarding-form .dp-step-panel .step-head h5 {
    margin-bottom: 7px;
}

#dealplex-onboarding-form .dp-step-panel .step-head p {
    margin-bottom: 0 !important;
}

#dealplex-onboarding-form .dp-row {
    row-gap: 16px;
}

/* Working-day custom checkbox: visible tick */
#dealplex-onboarding-form .dp-day-chip .box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#dealplex-onboarding-form .dp-day-chip.is-checked .box::after {
    content: "✓";
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Agreement checkbox: consistent custom tick */
#dealplex-onboarding-form .dp-checkbox-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px;
    border: 1.5px solid #c7ccd6;
    border-radius: 4px;
    background: #fff;
    margin: 2px 0 0 !important;
    cursor: pointer;
}

#dealplex-onboarding-form .dp-checkbox-row input[type="checkbox"]:checked {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-checkbox-row input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Upload icon / text sizing */
#dealplex-onboarding-form .dp-upload-pill,
#dealplex-onboarding-form .dp-upload-wide {
    min-height: 52px;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 10px;
}

#dealplex-onboarding-form .dp-upload-pill .icon,
#dealplex-onboarding-form .dp-upload-wide>span:first-child {
    width: 15px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 16px;
    line-height: 1;
}

#dealplex-onboarding-form .dp-upload-pill>span:last-child,
#dealplex-onboarding-form .dp-upload-wide>b,
#dealplex-onboarding-form .dp-upload-wide>span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Plan selection: one flat section, 3 cards + centered 2 cards */
#dealplex-onboarding-form .dp-plan-pane {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
    width: 100%;
    min-height: 160px;
    margin: 0 0 20px !important;
    padding: 30px 190px 26px 30px !important;
    border-radius: 16px;
    box-sizing: border-box;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 16px;
    width: 100%;
    margin: 0 0 22px !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card {
    grid-column: span 2 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 168px;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box;
    position: relative;
    border: 1.5px solid #e5e2dc !important;
    border-radius: 14px;
    background: #fff !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(4) {
    grid-column: 2 / 4 !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(5) {
    grid-column: 4 / 6 !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:hover {
    border-color: #d98a1f !important;
    box-shadow: 0 5px 18px rgba(202, 162, 74, .10);
    transform: translateY(-1px);
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card.is-selected {
    border: 2px solid #d98a1f !important;
    padding: 19px !important;
    background: linear-gradient(180deg, #fff9ec 0%, #fffdf8 100%) !important;
    box-shadow: 0 5px 18px rgba(202, 162, 74, .10);
}

#dealplex-onboarding-form .dp-plan-card .plan-radio {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #d7dce7;
    z-index: 5;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-radio {
    background: #d98a1f !important;
    border-color: #d98a1f !important;
}

#dealplex-onboarding-form .dp-plan-card.is-selected .plan-radio::after {
    content: "✓";
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

#dealplex-onboarding-form .dp-plan-card .plan-header-row {
    padding-right: 38px !important;
    margin-bottom: 10px;
}

#dealplex-onboarding-form .dp-plan-card .plan-name {
    font-size: 16px;
    line-height: 1.3;
}

#dealplex-onboarding-form .dp-plan-card .plan-price {
    margin-top: 6px;
    margin-bottom: 5px;
}

#dealplex-onboarding-form .dp-plan-card .plan-tag {
    line-height: 1.45;
}

/* Bottom navigation: Back on left, Continue/Submit on right */
#dealplex-onboarding-form .dp-step-panel>.dp-nav-buttons,
#dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons,
#dealplex-onboarding-form .dp-contract-pane>.dp-nav-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-nav-buttons .dp-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
}

#dealplex-onboarding-form .dp-nav-buttons .dp-btn-secondary {
    margin-right: auto;
}

#dealplex-onboarding-form .dp-nav-buttons .dp-btn-primary {
    margin-left: auto;
}

#dealplex-onboarding-form .dp-nav-buttons .dp-btn:only-child {
    margin-left: auto;
    margin-right: 0;
}

/* Contract / e-sign field alignment */
#dealplex-onboarding-form .dp-contract-pane {
    width: 100%;
    box-sizing: border-box;
}

#dealplex-onboarding-form .dp-contract-pane .dp-esign-pane[data-esign-pane="type"] .dp-field {
    max-width: 100% !important;
    margin-bottom: 10px !important;
}

#dealplex-onboarding-form .dp-contract-pane .dp-esign-pane[data-esign-pane="type"] .dp-field>label {
    left: 13px;
}

#dealplex-onboarding-form .dp-contract-pane .dp-checkbox-row {
    margin-top: 16px;
    margin-bottom: 0;
}

@media(max-width:900px) {
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card,
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(4),
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(5) {
        grid-column: auto !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
        padding: 28px !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-banner-image {
        display: none !important;
    }
}

@media(max-width:640px) {
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card {
        min-height: 150px;
    }

    #dealplex-onboarding-form .dp-row {
        grid-template-columns: 1fr;
    }

    #dealplex-onboarding-form .dp-nav-buttons .dp-btn {
        min-height: 42px;
    }
}

#dealplex-onboarding-form .smartstore-figma .dp-field,
#dealplex-onboarding-form .handyman-figma .dp-field,
#dealplex-onboarding-form .rental-figma .dp-field,
#dealplex-onboarding-form .pharmacy-figma .dp-field,
#dealplex-onboarding-form #view-restaurant .dp-field {
    position: relative;
    min-width: 0;
}

/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .smartstore-figma .dp-field>label,
#dealplex-onboarding-form .handyman-figma .dp-field>label,
#dealplex-onboarding-form .rental-figma .dp-field>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field>label,
#dealplex-onboarding-form #view-restaurant .dp-field>label,
#dealplex-onboarding-form .dp-field.dp-floating-field>label {
    line-height: 1.4 !important;
    overflow: visible !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* Normal/empty state: label sits inside the input. */
#dealplex-onboarding-form .smartstore-figma .dp-field>label,
#dealplex-onboarding-form .handyman-figma .dp-field>label,
#dealplex-onboarding-form .rental-figma .dp-field>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field>label,
#dealplex-onboarding-form #view-restaurant .dp-field>label {
    position: absolute !important;
    left: 15px !important;
    top: 35% !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 32px) !important;
    padding: 9px 2px !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    border: 0 !important;
    background: transparent !important;
    color: #9195a7 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
    transition: top .18s ease, transform .18s ease, font-size .18s ease, color .18s ease, background .18s ease, padding .18s ease !important;
}

/* Input controls need room for the label once it floats. */
#dealplex-onboarding-form .smartstore-figma .dp-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .handyman-figma .dp-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .rental-figma .dp-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .pharmacy-figma .dp-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form #view-restaurant .dp-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .smartstore-figma .dp-field>select:not([multiple]),
#dealplex-onboarding-form .handyman-figma .dp-field>select:not([multiple]),
#dealplex-onboarding-form .rental-figma .dp-field>select:not([multiple]),
#dealplex-onboarding-form .pharmacy-figma .dp-field>select:not([multiple]),
#dealplex-onboarding-form #view-restaurant .dp-field>select:not([multiple]),
#dealplex-onboarding-form .smartstore-figma .dp-field>textarea,
#dealplex-onboarding-form .handyman-figma .dp-field>textarea,
#dealplex-onboarding-form .rental-figma .dp-field>textarea,
#dealplex-onboarding-form .pharmacy-figma .dp-field>textarea,
#dealplex-onboarding-form #view-restaurant .dp-field>textarea {
    position: relative;
    z-index: 1;
}

/* Floating state: focused OR already filled. */
#dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .handyman-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .rental-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:focus-within>label,
#dealplex-onboarding-form .smartstore-figma .dp-field.has-value>label,
#dealplex-onboarding-form .handyman-figma .dp-field.has-value>label,
#dealplex-onboarding-form .rental-figma .dp-field.has-value>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field.has-value>label,
#dealplex-onboarding-form #view-restaurant .dp-field.has-value>label {
    top: 0 !important;
    left: 12px !important;
    padding: 0 5px !important;
    background: #fff !important;
    color: #6f7486 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    transform: translateY(-50%) !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .handyman-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .rental-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:focus-within>label {
    color: var(--dp-green) !important;
}

/* Keep placeholders visible while empty, hide them when the label floats. */
#dealplex-onboarding-form .smartstore-figma .dp-field>input::placeholder,
#dealplex-onboarding-form .handyman-figma .dp-field>input::placeholder,
#dealplex-onboarding-form .rental-figma .dp-field>input::placeholder,
#dealplex-onboarding-form .pharmacy-figma .dp-field>input::placeholder,
#dealplex-onboarding-form #view-restaurant .dp-field>input::placeholder,
#dealplex-onboarding-form .smartstore-figma .dp-field>textarea::placeholder,
#dealplex-onboarding-form .handyman-figma .dp-field>textarea::placeholder,
#dealplex-onboarding-form .rental-figma .dp-field>textarea::placeholder,
#dealplex-onboarding-form .pharmacy-figma .dp-field>textarea::placeholder,
#dealplex-onboarding-form #view-restaurant .dp-field>textarea::placeholder {
    color: #9195a7 !important;
    opacity: 1 !important;
    transition: opacity .15s ease !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>input::placeholder,
#dealplex-onboarding-form .handyman-figma .dp-field:focus-within>input::placeholder,
#dealplex-onboarding-form .rental-figma .dp-field:focus-within>input::placeholder,
#dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>input::placeholder,
#dealplex-onboarding-form #view-restaurant .dp-field:focus-within>input::placeholder,
#dealplex-onboarding-form .smartstore-figma .dp-field.has-value>input::placeholder,
#dealplex-onboarding-form .handyman-figma .dp-field.has-value>input::placeholder,
#dealplex-onboarding-form .rental-figma .dp-field.has-value>input::placeholder,
#dealplex-onboarding-form .pharmacy-figma .dp-field.has-value>input::placeholder,
#dealplex-onboarding-form #view-restaurant .dp-field.has-value>input::placeholder,
#dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>textarea::placeholder,
#dealplex-onboarding-form .handyman-figma .dp-field:focus-within>textarea::placeholder,
#dealplex-onboarding-form .rental-figma .dp-field:focus-within>textarea::placeholder,
#dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>textarea::placeholder,
#dealplex-onboarding-form #view-restaurant .dp-field:focus-within>textarea::placeholder,
#dealplex-onboarding-form .smartstore-figma .dp-field.has-value>textarea::placeholder,
#dealplex-onboarding-form .handyman-figma .dp-field.has-value>textarea::placeholder,
#dealplex-onboarding-form .rental-figma .dp-field.has-value>textarea::placeholder,
#dealplex-onboarding-form .pharmacy-figma .dp-field.has-value>textarea::placeholder,
#dealplex-onboarding-form #view-restaurant .dp-field.has-value>textarea::placeholder {
    opacity: 0 !important;
}

/* Required marker follows the floating label cleanly. */
#dealplex-onboarding-form .smartstore-figma .dp-field>label .req,
#dealplex-onboarding-form .handyman-figma .dp-field>label .req,
#dealplex-onboarding-form .rental-figma .dp-field>label .req,
#dealplex-onboarding-form .pharmacy-figma .dp-field>label .req,
#dealplex-onboarding-form #view-restaurant .dp-field>label .req {
    color: var(--dp-red) !important;
    margin-left: 2px !important;
}

/* Error state keeps the label and border red. */
#dealplex-onboarding-form .smartstore-figma .dp-field.has-error>label,
#dealplex-onboarding-form .handyman-figma .dp-field.has-error>label,
#dealplex-onboarding-form .rental-figma .dp-field.has-error>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field.has-error>label,
#dealplex-onboarding-form #view-restaurant .dp-field.has-error>label {
    color: var(--dp-red);
}

/* Suffix inputs: label floats against the outer wrapper, not the inner input. */
#dealplex-onboarding-form .smartstore-figma .dp-field>.dp-input-with-suffix,
#dealplex-onboarding-form .handyman-figma .dp-field>.dp-input-with-suffix,
#dealplex-onboarding-form .rental-figma .dp-field>.dp-input-with-suffix,
#dealplex-onboarding-form .pharmacy-figma .dp-field>.dp-input-with-suffix,
#dealplex-onboarding-form #view-restaurant .dp-field>.dp-input-with-suffix {
    position: relative;
    z-index: 1;
}

/* Custom dropdown/service controls are NOT text inputs; retain their normal label. */
#dealplex-onboarding-form .handyman-figma .dp-service-dropdown+* {}

#dealplex-onboarding-form .smartstore-figma .dp-field:has(> select[multiple])>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(> select[multiple])>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(> select[multiple])>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(> select[multiple])>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(> select[multiple])>label {
    position: static !important;
    display: block !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
    max-width: none !important;
    overflow: visible !important;
    color: #1c1c34 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Mobile: preserve the same behavior without clipping the label. */
@media(max-width:640px) {

    #dealplex-onboarding-form .smartstore-figma .dp-field>label,
    #dealplex-onboarding-form .handyman-figma .dp-field>label,
    #dealplex-onboarding-form .rental-figma .dp-field>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field>label,
    #dealplex-onboarding-form #view-restaurant .dp-field>label {
        left: 14px !important;
        max-width: calc(100% - 28px) !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form .handyman-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form .rental-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form #view-restaurant .dp-field:focus-within>label,
    #dealplex-onboarding-form .smartstore-figma .dp-field.has-value>label,
    #dealplex-onboarding-form .handyman-figma .dp-field.has-value>label,
    #dealplex-onboarding-form .rental-figma .dp-field.has-value>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field.has-value>label,
    #dealplex-onboarding-form #view-restaurant .dp-field.has-value>label {
        left: 10px !important;
    }
}

/* FINAL: Estimated Time — icon + title on one line, description below */
#dealplex-onboarding-form .dp-est-time {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--dp-border) !important;
    color: var(--dp-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

#dealplex-onboarding-form .dp-est-time-title {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 18px;
    margin: 0 0 7px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
}

#dealplex-onboarding-form .dp-est-time-icon {
    display: inline-flex !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6f7890 !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

#dealplex-onboarding-form .dp-est-time-title strong {
    display: inline !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dp-text) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

#dealplex-onboarding-form .dp-est-time-text {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dp-muted) !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    white-space: normal !important;
}

/* ===== FINAL PLAN UI CONSOLIDATION — wins over earlier conflicting rules ===== */
#dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
    background: linear-gradient(192.01deg, #F5E6C9 0%, #FFFDF8 40%, #FFFFFF 100%) !important;
    border: 1px solid #f0e4c8 !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card {
    grid-column: span 2 !important;
    position: relative;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(4) {
    grid-column: 2 / 4 !important;
    margin: 0 !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(5) {
    grid-column: 4 / 6 !important;
    margin: 0 !important;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card.is-selected {
    background: linear-gradient(180deg, #fff9ec 0%, #fffdf8 100%) !important;
    border: 2px solid #d98a1f !important;
}

/* radio circle: pin to top-right, never mid-content, and give header row clearance */
#dealplex-onboarding-form .dp-plan-card .plan-radio {
    top: 18px !important;
    right: 18px !important;
    transform: none !important;
    z-index: 6;
}

#dealplex-onboarding-form .dp-plan-card .plan-header-row {
    padding-right: 42px !important;
}

@media(max-width:900px) {
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card,
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(4),
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card:nth-child(5) {
        grid-column: auto !important;
    }
}

@media(max-width:640px) {
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid {
        grid-template-columns: 1fr !important;
    }
}

#dealplex-onboarding-form .dp-header {
    height: 80px;
    min-height: 80px;
    padding: 0 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #fff;
    border-bottom: 1px solid #e4e7eb;
}

#dealplex-onboarding-form .dp-header .navbar-bottom-wrapper {
    display: flex;
    align-items: center;
}

#dealplex-onboarding-form .dp-header .logo {
    display: flex;
    align-items: center;
    width: 235.046px;
    height: 28px;
    gap: 10px;
    text-decoration: none;
}

#dealplex-onboarding-form .dp-header .logo img {
    display: block !important;

    width: 235.046px !important;
    height: 28px !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain;
}

#dealplex-onboarding-form .dp-header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

#dealplex-onboarding-form .dp-header-support {
    width: 90px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 0;

    color: #20252b;
    text-decoration: none;

    font-size: 18px;
    font-weight: 500;
    line-height: 1;

    white-space: nowrap;
}

#dealplex-onboarding-form .dp-header-support .dp-support-icon {
    width: 22px !important;
    height: 22px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

#dealplex-onboarding-form .dp-header-support .dp-support-icon svg {
    width: 22px !important;
    height: 22px !important;
}

#dealplex-onboarding-form .dp-header-login {
    width: 93px !important;
    height: 40px !important;
    min-width: 93px !important;

    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 8px;

    border: 1px solid #0b9850;
    border-radius: 8px;

    background: #fff;

    color: #078c48;

    font-size: 17px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none;
}

#dealplex-onboarding-form .dp-header-login .dp-login-icon {
    width: 22px !important;
    height: 22px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

#dealplex-onboarding-form .dp-header-login .dp-login-icon svg {
    width: 22px !important;
    height: 22px !important;
}

@media (max-width: 700px) {

    #dealplex-onboarding-form .dp-header {
        height: 70px;
        min-height: 70px;
        padding: 0 20px;
    }

    #dealplex-onboarding-form .dp-header .logo,
    #dealplex-onboarding-form .dp-header .logo img {
        width: 190px !important;
        height: auto !important;
    }

    #dealplex-onboarding-form .dp-header-actions {
        gap: 12px;
    }

    #dealplex-onboarding-form .dp-header-support {
        width: 38px;
        font-size: 0;
    }

    #dealplex-onboarding-form .dp-header-login {
        width: 40px !important;
        min-width: 40px !important;
        padding: 8px;
    }

    #dealplex-onboarding-form .dp-header-login span:not(.dp-login-icon) {
        display: none;
    }
}


/* =========================================================
   PARTNER REGISTRATION — HOME PAGE
   ========================================================= */

#dealplex-onboarding-form #view-module-select .dp-registration-label {
    margin: 0 0 14px;

    color: #159451;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}

/* Main heading */
#dealplex-onboarding-form #view-module-select .dp-select-wrap h2 {
    margin: 0 0 12px;

    color: #105f36;

    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -0.8px;
}

/* Subtitle */
#dealplex-onboarding-form #view-module-select .dp-select-wrap>p {
    margin: 0 0 38px;

    color: #53627a;

    font-size: 20px;
    line-height: 1.45;
}

/* =========================================================
   HOME PAGE CONTENT WIDTH / POSITION
   ========================================================= */

#dealplex-onboarding-form #view-module-select .dp-select-wrap {
    position: relative;
    z-index: 2;

    width: calc(100% - 248px);
    max-width: 1280px;

    margin-left: 8.3%;
    margin-right: auto;

    padding: 62px 0 80px;
}

#dealplex-onboarding-form #view-module-select .dp-module-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 80px;

    align-items: stretch;
}

#dealplex-onboarding-form #view-module-select .dp-module-card {
    border: 1px solid #dfe3e8;
    border-radius: 9px;

    background: #fff;

    overflow: hidden;

    min-width: 0;

    display: flex;
    flex-direction: column;

    height: 100%;
}

/* Card image */
#dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
    width: 224px;
    height: 229px;

    display: block;

    object-fit: cover;
    object-position: center;
}

/* Card content */
#dealplex-onboarding-form #view-module-select .dp-module-card .module-content {
    padding: 19px 13px 18px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

/* Card title */
#dealplex-onboarding-form #view-module-select .dp-module-card h5 {
    margin: 0 0 7px;

    color: #124e32;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

/* Description */
#dealplex-onboarding-form #view-module-select .dp-module-card p {
    margin: 0 0 22px;

    color: #58657b;

    font-size: 14px;
    line-height: 1.5;

    flex-grow: 1;
}

/* Start onboarding */
#dealplex-onboarding-form #view-module-select .dp-module-card .go-btn {
    margin-top: auto;

    display: flex;
    align-items: center;

    gap: 36px;

    color: #08a34d;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}

#dealplex-onboarding-form .dp-thumb-item {
    flex: 0 0 auto;
}

#dealplex-onboarding-form .dp-thumb-upload-row+.dp-file-error {
    margin-top: 8px;
}

#dealplex-onboarding-form .dp-image-drop.file-error,
#dealplex-onboarding-form .dp-thumb-drop.file-error {
    border-color: var(--dp-red) !important;
}


#dealplex-onboarding-form .iti {
    width: 100%;
}


#dealplex-onboarding-form .iti__selected-flag {
    padding-left: 4px !important;
    padding-right: 7px !important;
    width: 48px;
}

#dealplex-onboarding-form .dp-field:has(.iti)>label {
    left: 54px !important;
}

#dealplex-onboarding-form .iti__selected-dial-code {
    display: none !important;
}

#dealplex-onboarding-form .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.iti):focus-within>label {
    left: 44px !important;
}

#dealplex-onboarding-form .dp-field:has(.iti) input[type="tel"] {
    padding-right: 14px !important;
    text-overflow: ellipsis;
}

#dealplex-onboarding-form .dp-field.dp-floating-field>select:not([multiple]) {
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b6f8a' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 38px !important;
}

/* =========================================================
   DARK MODE — follows the visitor's OS/browser theme
   automatically. No JS, no toggle needed.
   ========================================================= */
#dealplex-onboarding-form {
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {

    #dealplex-onboarding-form {
        --dp-navy: #eef1f8;
        --dp-yellow: #34c98a;
        --dp-green: #2fbf82;
        --dp-green-dark: #25a670;
        --dp-red: #ff6b6b;
        --dp-bg-soft: #20242c;
        --dp-border: #333846;
        --dp-muted: #9aa3b5;
        --dp-text: #eef1f8;
        background: #14161c;
    }

    html,
    body {
        background: #14161c;
    }

    #dealplex-onboarding-form,
    #dealplex-onboarding-form .dp-view {
        min-height: 100vh;
    }

    #dealplex-onboarding-form {
        --dp-navy: #eef1f8;
        --dp-yellow: #34c98a;
    }

    #dealplex-onboarding-form .dp-field.dp-floating-field>select:not([multiple]) {
        background-color: #20242c !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%239aa3b5' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
    }

    /* header */
    #dealplex-onboarding-form .dp-header {
        background: #181b22;
        border-bottom-color: #2a2f3a;
    }

    #dealplex-onboarding-form .dp-header-support {
        color: #e6e9f0;
    }

    #addr-modal .dp-address-form-title strong {
        font-size: 16px;
        line-height: 20px;
        color: #e6e9f0;
    }

    #addr-modal .dp-modal.dp-address-modal-v2 {
        width: min(420px, calc(100vw - 24px));
        max-height: calc(100vh - 24px);
        padding: 0;
        border-radius: 20px;
        overflow-y: auto;
        display: block;
    }

    #addr-modal .dp-addr-step {
        display: none;
        padding: 18px;
    }

    #addr-modal .dp-addr-step.is-active {
        display: block;
    }

    #addr-modal .dp-addr-step-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    #addr-modal .dp-addr-back {
        border: 0;
        background: #f1f3f6;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    #addr-modal .dp-addr-step[data-addr-step="1"] .dp-address-map {
        height: 300px;
        min-height: 300px;
        border-radius: 14px;
    }

    #addr-modal .dp-addr-confirm-card {
        margin-top: 12px;
        padding: 14px 16px;
        border: 1px solid var(--dp-border);
        border-radius: 14px;
        background: #fff;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    #addr-modal .dp-addr-confirm-card strong {
        font-size: 16px;
        color: #151922;
    }

    #addr-modal .dp-addr-confirm-card span {
        font-size: 12px;
        color: #637083;
    }

    #addr-modal .dp-addr-step1-actions {
        margin-top: 14px;
    }

    #addr-modal .dp-addr-step1-actions .dp-btn-primary {
        width: 100%;
        justify-content: center;
        height: 48px;
        border-radius: 12px;
    }

    #addr-modal .dp-address-row.two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    #addr-modal .dp-address-form {
        border: 0;
        padding: 0;
    }

    /* Body scroll lock jab koi bhi modal open ho */
    body.dp-modal-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }

    #addr-modal.dp-modal-overlay {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        background: rgba(15, 20, 28, .55) !important;
    }

    #dealplex-onboarding-form .dp-header-login {
        background: #181b22;
        border-color: #1fa96a;
        color: #3ddb95;
    }

    #dealplex-onboarding-form .dp-header-login:hover {
        background: #1d2129;
    }

    #dealplex-onboarding-form .dp-pharmacy-info-note {
        margin-top: 13px;
        padding: 11px 13px;
        border: 1px solid #333846;
        background: #20242c;
        border-radius: 9px;
        color: #eef1f8;
        font-size: 11.5px;
        line-height: 1.55;
    }

    #dealplex-onboarding-form .dp-pharmacy-info-note strong {
        color: #297052;
    }


    /* module select screen */
    #dealplex-onboarding-form #view-module-select {
        background: #14161c;
    }

    #dealplex-onboarding-form #view-module-select::after {
        opacity: .10;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-header {
        background: #181b22;
        border-bottom-color: #2a2f3a;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap h2 {
        color: #4fd7a0;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap>p,
    #dealplex-onboarding-form #view-module-select .dp-select-support {
        color: #9aa3b5;
    }

    #dealplex-onboarding-form #view-module-select .dp-registration-label {
        color: #3ddb95;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card {
        background: #1c2029;
        border-color: #2c313d;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card:hover {
        border-color: #3ddb95;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card h5 {
        color: #e8ecf5;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card p {
        color: #9aa3b5;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .go-btn {
        color: #3ddb95;
    }

    .dp-service-detail-card .sd-status.pending {
        background: #2c313d;
        color: #d98a1f;
    }

    .dp-service-detail-card .sd-status.saved {
        background: #2c313d;
        color: #3ddb95;
    }

    /* wizard shell */
    #dealplex-onboarding-form .dp-panel {
        background: #1c2029;
        border-color: #2c313d;
    }

    #dealplex-onboarding-form .dp-sidebar .brand-mini {
        color: #3ddb95;
    }

    #dealplex-onboarding-form .dp-sidebar .brand-mini .tag {
        background: #173323;
        color: #3ddb95;
    }

    #dealplex-onboarding-form .dp-steps li.is-active {
        background: #173323;
    }

    #dealplex-onboarding-form .dp-steps li .dot {
        border-color: #333846;
        color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-steps li.is-done .dot {
        background: #1fa96a;
        border-color: #1fa96a;
    }

    #dealplex-onboarding-form .dp-sidebar .support-line {
        border-top-color: #2c313d;
    }

    #dealplex-onboarding-form .dp-main {
        background: #181b22;
    }

    #dealplex-onboarding-form .dp-card {
        background: #1c2029;
        border-color: #2c313d;
        box-shadow: none;
    }

    /* inputs / selects / textareas */
    #dealplex-onboarding-form .dp-field input,
    #dealplex-onboarding-form .dp-field select,
    #dealplex-onboarding-form .dp-field textarea,
    #dealplex-onboarding-form .dp-input-with-suffix,
    #dealplex-onboarding-form .dp-input-with-suffix input {
        background: #20242c !important;
        border-color: #333846 !important;
        color: #eef1f8 !important;
    }

    #dealplex-onboarding-form .dp-field input::placeholder,
    #dealplex-onboarding-form .dp-field textarea::placeholder {
        color: #6b7387;
    }

    #dealplex-onboarding-form .dp-input-with-suffix span {
        background: transparent !important;
        border-left-color: #333846;
        color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-field select {
        background-color: #20242c !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%239aa3b5' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    }

    /* floating labels punch a "hole" using background:#fff — needs a dark hole instead */
    #dealplex-onboarding-form .dp-field.dp-floating-field>label,
    #dealplex-onboarding-form .smartstore-figma .dp-field>label,
    #dealplex-onboarding-form .handyman-figma .dp-field>label,
    #dealplex-onboarding-form .rental-figma .dp-field>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field>label,
    #dealplex-onboarding-form #view-restaurant .dp-field>label {
        background: #20242c !important;
        color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-field.has-value>label,
    #dealplex-onboarding-form .handyman-figma .dp-field.has-value>label,
    #dealplex-onboarding-form .rental-figma .dp-field.has-value>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field.has-value>label,
    #dealplex-onboarding-form #view-restaurant .dp-field.has-value>label,
    #dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form .handyman-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form .rental-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>label,
    #dealplex-onboarding-form #view-restaurant .dp-field:focus-within>label {
        background: #20242c !important;
        color: #c7cddb !important;
    }

    #dealplex-onboarding-form .dp-plan-banner h5 {
        color: #eef1f8 !important;
    }

    #dealplex-onboarding-form .dp-plan-banner .banner-label {
        color: #e0a94a !important;
    }

    #dealplex-onboarding-form .dp-plan-banner p {
        color: #c7cddb !important;
    }

    #dealplex-onboarding-form .dp-esign-section-label {
        margin-top: 10px;
    }

    #dealplex-onboarding-form .dp-agreement-divider {
        margin: 20px 0 !important;
    }

    #dealplex-onboarding-form .dp-card .req-note {
        margin-bottom: 18px !important;
    }

    /* multi-select dropdown (categories/cuisines) */
    #dealplex-onboarding-form .dp-ms-trigger {
        background: #20242c;
        border-color: #333846;
        color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-ms-trigger.has-value {
        color: #eef1f8;
    }

    #dealplex-onboarding-form .dp-ms-panel {
        background: #1c2029;
        border-color: #333846;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
    }

    #dealplex-onboarding-form .dp-ms-search input {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    #dealplex-onboarding-form .dp-ms-actions {
        border-bottom-color: #333846;
    }

    #dealplex-onboarding-form .dp-ms-item:hover {
        background: #242a35;
    }

    #dealplex-onboarding-form .dp-ms-selected-chip {
        background: #242a35;
        border-color: #333846;
        color: #eef1f8;
    }

    /* working days / checkboxes / pills / links */
    #dealplex-onboarding-form .dp-day-chip {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    #dealplex-onboarding-form .dp-day-chip .box {
        border-color: #454c5c;
    }


    #dealplex-onboarding-form .dp-checkbox-row {
        background: #1c2029;
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-checkbox-row.smartstore-agreement {
        background: transparent !important;
        border: 0 !important;
    }

    #dealplex-onboarding-form .dp-checkbox-row.smartstore-agreement label {
        color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form .dp-checkbox-row.smartstore-agreement label span {
        color: #eef1f8 !important;
    }

    #dealplex-onboarding-form .dp-checkbox-row input[type="checkbox"] {
        background: #20242c;
        border-color: #454c5c;
    }

    #dealplex-onboarding-form .dp-link-row {
        background: #20242c;
        border-color: #333846;
        color: #3ddb95;
    }

    #dealplex-onboarding-form .dp-upload-wide,
    #dealplex-onboarding-form .dp-upload-pill {
        background: #2c313d !important;
        border-color: #5f6476 !important;
        color: #3ddb95 !important;
    }

    #dealplex-onboarding-form .dp-upload-wide.is-filled,
    #dealplex-onboarding-form .dp-upload-pill.is-filled {
        background: #333846;
        border-color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-thumb-drop {
        background: #20242c !important;
        border-color: #333846 !important;
        color: #6b7387 !important;
    }

    #dealplex-onboarding-form .dp-radio-pill {
        border-color: #333846;
        color: #eef1f8;
        background: #20242c;
    }

    #dealplex-onboarding-form .dp-radio-pill.is-checked {
        background: #1c2029;
        border-color: #1fa96a;
        color: #ffffff;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-image-drop .drop-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #20242c;
        color: var(--dp-green);
        margin-bottom: 8px;
        border-color: #333846 !important;
    }

    /* buttons */
    #dealplex-onboarding-form .dp-btn-secondary {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    #dealplex-onboarding-form .dp-btn-secondary:hover {
        border-color: #1fa96a;
        color: #3ddb95;
    }

    /* progress panel */
    #dealplex-onboarding-form .dp-progress-track {
        background: #2c313d;
    }

    #dealplex-onboarding-form .dp-checklist li .chk {
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-est-time {
        border-top-color: #2c313d;
    }

    /* commission / plan cards */
    #dealplex-onboarding-form .dp-commission-box {
        background: #20242c !important;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
        background: linear-gradient(192.01deg, #3a3220 0%, #211c14 40%, #181b22 100%) !important;
        border-color: #3a3220 !important;
    }


    #dealplex-onboarding-form .dp-plan-card,
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card {
        background: #1c2029 !important;
        border-color: #333846 !important;
    }

    #dealplex-onboarding-form .dp-plan-card.is-selected,
    #dealplex-onboarding-form .dp-plan-pane .dp-plan-grid .dp-plan-card.is-selected {
        background: linear-gradient(180deg, #2b2410, #1c2029) !important;
        border-color: #d98a1f !important;
    }

    #dealplex-onboarding-form .dp-plan-card .plan-header-row {
        /* header row itself has no background, nothing to fix here —
           kept for clarity that name/badge/price all sit on the dark card now */
    }

    #dealplex-onboarding-form .dp-plan-card .plan-name {
        color: #eef1f8 !important;
    }

    #dealplex-onboarding-form .dp-plan-card .plan-price {
        color: #e0a94a !important;
    }

    #dealplex-onboarding-form .dp-plan-card .plan-tag {
        color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form .dp-plan-card .plan-monthly {
        color: #eef1f8 !important;
        border-top-color: #333846 !important;
    }

    #dealplex-onboarding-form .dp-plan-card .plan-radio {
        background: #20242c !important;
        border-color: #454c5c !important;
    }

    #dealplex-onboarding-form .dp-plan-card .plan-badge {
        background: #3a3220 !important;
        color: #e0a94a !important;
    }

    #dealplex-onboarding-form .dp-plan-card .old-price {
        background: #3a1f22 !important;
        color: #ff8080 !important;
    }

    /* address picker modal */
    #addr-modal .dp-modal {
        background: #1c2029;
        border-color: #2c313d;
        box-shadow: 0 18px 55px rgba(0, 0, 0, .6);
    }



    @media (prefers-color-scheme: dark) {
        #dealplex-onboarding-form .dp-addr-inline {
            background: #20242c;
            border-color: #2fbf82;
            color: #3ddb95;
        }

        #dealplex-onboarding-form .dp-addr-edit-btn {
            background: #173323;
            color: #3ddb95;
        }

        #dealplex-onboarding-form .dp-addr-edit-btn:hover {
            background: #2fbf82;
            color: #14161c;
        }
    }

    /* FIX — the "selected address" summary box (#addr-display-*) was never
       given a dark-mode rule at all, so it stayed hardcoded white. */

    /* contract / e-sign */
    #dealplex-onboarding-form .dp-contract-pane {
        background: #1c2029;
        border-color: #2c313d;
    }

    #dealplex-onboarding-form .dp-esign-pane {
        background: #20242c;
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-signature-line {
        color: #eef1f8;
        border-bottom-color: #1fa96a;
    }

    #dealplex-onboarding-form .dp-signature-editor {
        background: #1c2029;
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-signature-canvas-wrap,
    #dealplex-onboarding-form .dp-sign-canvas {
        background: #0f1116;
    }

    #dealplex-onboarding-form .dp-signature-clear {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    /* address picker modal */
    #addr-modal .dp-modal {
        background: #1c2029;
        border-color: #2c313d;
        box-shadow: 0 18px 55px rgba(0, 0, 0, .6);
    }

    #addr-modal .dp-modal h5 {
        color: #eef1f8;
    }

    #addr-modal .dp-map-placeholder {
        background: #20242c;
        border-color: #333846;
    }

    #addr-modal .dp-map-search {
        background: #1c2029;
        border-color: #333846;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .4);
    }

    #addr-modal .dp-map-search input {
        color: #eef1f8;
    }

    #addr-modal .dp-map-selected-address {
        background: #1c2029;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
    }

    #addr-modal .dp-map-selected-address strong {
        color: #eef1f8;
    }

    #addr-modal .dp-address-form {
        background: #181b22;
        border-color: #2c313d;
    }

    #addr-modal .dp-field input {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    #addr-modal .dp-nav-buttons .dp-btn-secondary {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    /* payment QR modal — keep QR itself light so it stays scannable */
    #dp-qr-modal .dp-qr-modal {
        background: #1c2029;
        border-color: #2c313d;
    }

    #dp-qr-modal .dp-qr-head {
        border-bottom-color: #2c313d;
    }

    #dp-qr-modal .dp-qr-head h5 {
        color: #eef1f8;
    }

    #dp-qr-modal .dp-qr-plan-summary {
        background: #20242c;
        border-color: #333846;
    }

    #dp-qr-modal .dp-qr-image-wrap {
        background: #f4f4f4;
        border-color: #333846;
    }

    #dp-qr-modal .dp-qr-hiw-step .num {
        background: #22283a;
        color: #8ab4ff;
    }

    .dp-qr-plan-panel .plan-name,
    .dp-qr-plan-panel .heading {
        color: #eef1f8;
    }

    .dp-qr-plan-panel .rows {
        border-color: #333846;
    }

    /* submit loader / success screen */
    #dp-submit-loader-card {
        background: #1c2029;
        box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
    }

    #dp-submit-loader-title {
        color: #eef1f8;
    }

    #dp-submit-loader-sub {
        color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-status-card {
        background: #1c2029;
        border-color: #2c313d;
    }

    #dealplex-onboarding-form .dp-status-row:not(:last-child) {
        border-bottom-color: #2c313d;
    }

    #dealplex-onboarding-form .dp-status-card-head {
        border-bottom-color: #2c313d;
    }

    /* handyman service dropdown */
    .dp-service-selected {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    .dp-service-menu {
        background: #1c2029;
        border-color: #333846;
    }

    .dp-service-item:hover {
        background: #242a35;
    }

    .dp-service-chip {
        background: #173323;
        color: #3ddb95;
    }

    .dp-service-detail-card {
        background: #20242c;
        border-color: #333846;
    }

    /* errors */
    #dealplex-onboarding-form .dp-error-banner,
    #dealplex-onboarding-form .dp-submit-error,
    #dealplex-onboarding-form .dp-step-error {
        background: #3a1f22;
        border-color: #5c2c30;
    }

    #dealplex-onboarding-form .dp-field-error {
        color: #ff8080;
    }

    /* time picker popover */
    .dp-time-picker-popover {
        background: #1c2029;
        border-color: #333846;
        box-shadow: 0 14px 36px rgba(0, 0, 0, .6);
    }

    .dp-time-picker-row select {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    .dp-time-picker-cancel {
        background: #20242c;
        border-color: #333846;
        color: #c7cddb;
    }

    /* captcha */
    #dealplex-onboarding-form .dp-captcha-box {
        background: #20242c;
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-captcha-input {
        background: #1c2029;
        border-color: #333846;
        color: #eef1f8;
    }

    /* FIX — module-scoped .dp-card overrides  */
    .iti__selected-flag {
        padding-left: 8px !important;
        padding-right: 8px !important;
        background-color: #1c2029 !important;
        border-right: 1px solid #2c313d !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-card,
    #dealplex-onboarding-form .handyman-figma .dp-card,
    #dealplex-onboarding-form .rental-figma .dp-card,
    #dealplex-onboarding-form .pharmacy-figma .dp-card,
    #dealplex-onboarding-form #view-restaurant .dp-card {
        background: #1c2029 !important;
        border-color: #2c313d !important;
        box-shadow: none !important;
    }

    #dealplex-onboarding-form .dp-time-box,
    #dealplex-onboarding-form .smartstore-figma .dp-time-box,
    #dealplex-onboarding-form .rental-figma .dp-time-box,
    #dealplex-onboarding-form .pharmacy-figma .dp-time-box {
        background: #20242c !important;
        border-color: #333846 !important;
        color: #c7cddb !important;
    }

    #dealplex-onboarding-form .dp-time-box>span:first-child,
    #dealplex-onboarding-form .dp-time-display {
        color: #3ddb95 !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-upload-wide,
    #dealplex-onboarding-form .handyman-figma .dp-upload-pill {
        background: #20242c !important;
        border-color: #333846 !important;
        color: #3ddb95 !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-upload-wide.is-filled,
    #dealplex-onboarding-form .handyman-figma .dp-upload-pill.is-filled {
        background: #2c313d !important;
        border-color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form .dp-plan-pane>.dp-nav-buttons .dp-btn-secondary {
        min-width: 92px;
        height: 42px;
        padding: 0 18px;

        background: #20242c !important;
        border: 1px solid #333846 !important;
        border-radius: 9px;

        color: #e8f3ee !important;
        font-size: 13px;
        font-weight: 600;

        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-image-drop,
    #dealplex-onboarding-form .rental-figma .dp-image-drop {
        background: #20242c !important;
        border-color: #333846 !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-image-drop strong,
    #dealplex-onboarding-form .rental-figma .dp-image-drop strong {
        color: #e6e9f0 !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-image-drop small,
    #dealplex-onboarding-form .rental-figma .dp-image-drop small {
        color: #9aa3b5 !important;
    }
}

#dealplex-onboarding-form .dp-footer {
    width: 100%;
    border-top: 1px solid var(--dp-border);
    background: #fff;
    padding: 22px 48px;
}

#dealplex-onboarding-form .dp-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

#dealplex-onboarding-form .dp-footer-copy {
    margin: 0;
    font-size: 14px;
    color: var(--dp-muted);
}

#dealplex-onboarding-form .dp-footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

#dealplex-onboarding-form .dp-footer-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #20252b;
    transition: color .15s ease, background .15s ease;
}

#dealplex-onboarding-form .dp-footer-social a:hover {
    background: var(--dp-bg-soft);
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-footer-social svg {
    width: 20px;
    height: 20px;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-footer {
        background: #181b22;
        border-top-color: #2a2f3a;
    }

    #dealplex-onboarding-form .dp-footer-copy {
        color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-footer-social a {
        color: #c7cddb;
    }

    #dealplex-onboarding-form .dp-footer-social a:hover {
        background: #20242c;
        color: #3ddb95;
    }
}

@media (prefers-color-scheme: dark) {

    #dealplex-onboarding-form .smartstore-figma .dp-field:has(> select[multiple])>label,
    #dealplex-onboarding-form .handyman-figma .dp-field:has(> select[multiple])>label,
    #dealplex-onboarding-form .rental-figma .dp-field:has(> select[multiple])>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field:has(> select[multiple])>label,
    #dealplex-onboarding-form #view-restaurant .dp-field:has(> select[multiple])>label {
        position: static !important;
        display: block !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 0 6px !important;
        max-width: none !important;
        overflow: visible !important;
        color: #dcdce3 !important;
        font-size: 15px !important;
        font-weight: 400 !important;
    }
}

@media(max-width:640px) {
    #dealplex-onboarding-form .dp-footer {
        padding: 18px 20px;
    }

    #dealplex-onboarding-form .dp-footer-inner {
        justify-content: center;
        text-align: center;
    }
}

#dealplex-onboarding-form .rental-figma .dp-row .dp-field-wide {
    grid-column: span 2;
}

@media(max-width:900px) {
    #dealplex-onboarding-form .rental-figma .dp-row .dp-field-wide {
        grid-column: auto;
    }
}

#dealplex-onboarding-form .dp-rental-operation.has-error .dp-yesno-label {
    color: var(--dp-red);
}

#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    flex-wrap: nowrap;
    overflow: hidden;
}

#dealplex-onboarding-form .dp-upload-wide *,
#dealplex-onboarding-form .dp-upload-pill * {
    min-width: 0;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide span:last-child,
#dealplex-onboarding-form .dp-upload-pill span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    align-items: center !important;
}

#dealplex-onboarding-form .dp-upload-wide>*,
#dealplex-onboarding-form .dp-upload-pill>* {
    min-width: 0 !important;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide span:last-child,
#dealplex-onboarding-form .dp-upload-pill span:last-child {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-field>label,
#dealplex-onboarding-form .handyman-figma .dp-field>label,
#dealplex-onboarding-form .rental-figma .dp-field>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field>label,
#dealplex-onboarding-form #view-restaurant .dp-field>label {
    max-width: calc(100% - 20px) !important;
    font-size: 13px !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-field.has-value>label,
#dealplex-onboarding-form .handyman-figma .dp-field.has-value>label,
#dealplex-onboarding-form .rental-figma .dp-field.has-value>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field.has-value>label,
#dealplex-onboarding-form #view-restaurant .dp-field.has-value>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .handyman-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .rental-figma .dp-field:focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:focus-within>label {
    font-size: 10.5px !important;
}

#dealplex-onboarding-form .iti__selected-dial-code,
#dealplex-onboarding-form .iti__dial-code,
#dealplex-onboarding-form .iti__selected-flag .iti__dial-code,
#dealplex-onboarding-form .iti__flag-container .iti__selected-dial-code {
    display: none !important;
    width: 0 !important;
    visibility: hidden !important;
}

/* =========================================================================
   DEALPLEX FIXES PATCH — load this AFTER New_vendor-registration.css
   Fixes:
   1) Mobile number field overlap (intl-tel-input + floating label)
   2) "Choose your plan" banner gradient (light + dark mode)
   3) Header logo/"Partner" wordmark visibility in dark mode
   ========================================================================= */

/* ---------------------------------------------------------------------
   1) MOBILE NUMBER FIELD
   --------------------------------------------------------------------- */

#dealplex-onboarding-form .iti {
    width: 100%;
    position: relative;
}

#dealplex-onboarding-form .iti__flag-container {
    width: 46px;
    margin: 3px;
}

#dealplex-onboarding-form .iti__selected-flag {
    width: 46px;
    padding: 0 6px 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* No dial-code text ("91") — flag only */
#dealplex-onboarding-form .iti__selected-dial-code,
#dealplex-onboarding-form .iti__dial-code {
    display: none !important;
    width: 0 !important;
}

#dealplex-onboarding-form .iti input[type="tel"] {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 14px !important;
    text-overflow: ellipsis;
}

#dealplex-onboarding-form .iti input[type="tel"]::placeholder {
    color: #9195a7;
    opacity: 0;
}

/* Label: sits clear of the flag while empty, floats up like every
   other field once the user focuses or types (fixes the overlap). */
#dealplex-onboarding-form .dp-field:has(.iti)>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.iti)>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(.iti)>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.iti)>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.iti)>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.iti)>label {
    left: 52px !important;
    z-index: 5 !important;
    max-width: calc(100% - 66px) !important;
    top: 38% !important;
}

#dealplex-onboarding-form .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.iti):focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.iti).has-value>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.iti):focus-within>label {
    left: 12px !important;
    top: 0 !important;
}

/* Placeholder hides once the label floats up, so it never collides */
#dealplex-onboarding-form .dp-field:has(.iti).has-value .iti input[type="tel"]::placeholder,
#dealplex-onboarding-form .dp-field:has(.iti):focus-within .iti input[type="tel"]::placeholder {
    opacity: 0;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .iti__selected-flag {
        background: #20242c !important;
        border-right: 1px solid #333846 !important;
    }
}

#dealplex-onboarding-form .dp-plan-pane {
    background: linear-gradient(180deg, #FFFDF6 0%, #FFFFFF 60%) !important;
    border: 1px solid #f3e9cf;
    border-radius: 16px;
}

#dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
    background: linear-gradient(135deg, #FDF4DC 0%, #FBEFCB 35%, #FFFFFF 100%) !important;
    border: 1px solid #f0e0ad !important;
    box-shadow: 0 10px 30px rgba(201, 155, 60, .12);
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-plan-pane {
        background: linear-gradient(180deg, #23201a 0%, #181b22 60%) !important;
        border-color: #3a3220;
    }

    #dealplex-onboarding-form .dp-plan-pane .dp-plan-banner {
        background: linear-gradient(135deg, #4a3d20 0%, #2c2517 45%, #181b22 100%) !important;
        border: 1px solid #4a3d20 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    }

    #dealplex-onboarding-form .dp-plan-banner h5 {
        color: #f5e6c9 !important;
    }

    #dealplex-onboarding-form .dp-plan-banner .banner-label {
        color: #e0b25a !important;
    }

    #dealplex-onboarding-form .dp-plan-banner p {
        color: #c9c2af !important;
    }
}

/* Keep Mobile Number and WhatsApp Number labels fixed on border */
/* Phone field label behaves EXACTLY like every other floating label */
#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap) {
    position: relative;
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap)>label {
    position: absolute;
    left: 54px;
    /* clears the flag icon while empty */
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: transparent;
    padding: 0 2px;
    margin: 0;
    color: #9195a7;
    font-size: 14px;
    font-weight: 400;
    pointer-events: none;
    transition: all .18s ease;
    white-space: nowrap;
}

/* Floated state — focused OR has a value — matches Email/Name exactly */
#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap):focus-within>label,
#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap).has-value>label {
    top: 0;
    left: 12px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    color: #6f7486;
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap):focus-within>label {
    color: var(--dp-green);
}

/* Error state stays consistent too */
#dealplex-onboarding-form .dp-field.has-error:has(.dp-phone-wrap)>label {
    color: var(--dp-red);
}

/* Make sure typed digits are always clearly visible, light AND dark mode */
#dealplex-onboarding-form .dp-phone-wrap input[type="tel"] {
    color: var(--dp-text) !important;
    -webkit-text-fill-color: var(--dp-text);
    caret-color: var(--dp-text);
    font-size: 14.5px;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-field:has(.dp-phone-wrap)>label {
        color: #9aa3b5;
    }

    #dealplex-onboarding-form .dp-field:has(.dp-phone-wrap).has-value>label,
    #dealplex-onboarding-form .dp-field:has(.dp-phone-wrap):focus-within>label {
        background: #20242c;
        color: #c7cddb;
    }
}



/* =========================================================
   RESPONSIVE FIX — kill sticky overlap on tablet/mobile,
   tighten spacing so the wizard doesn't feel cramped
   ========================================================= */
@media (max-width: 991px) {
    #dealplex-onboarding-form .dp-wizard-view {
        padding: 0 16px 24px;
    }

    #dealplex-onboarding-form .dp-wizard-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* This was the overlap bug — sticky made no sense once the
       columns collapse into a single stacked column. */
    #dealplex-onboarding-form .dp-sidebar,
    #dealplex-onboarding-form .dp-progress-panel {
        position: static !important;
        top: auto !important;
        height: auto !important;
    }

    #dealplex-onboarding-form .dp-sidebar {
        padding: 16px;
        border: 1px solid var(--dp-border);
        border-radius: 14px;
        /* background: #fff; */
    }

    #dealplex-onboarding-form .dp-steps li {
        padding: 8px 6px;
    }

    #dealplex-onboarding-form .dp-progress-panel {
        padding: 16px;
        border: 1px solid var(--dp-border);
        border-radius: 14px;
        /* background: #fff; */
        order: 3;
        /* progress summary shows after the active step content */
    }

    #dealplex-onboarding-form .dp-main {
        padding: 20px 16px;
        order: 2;
    }

    #dealplex-onboarding-form .dp-sidebar {
        order: 1;
    }

    #dealplex-onboarding-form .dp-nav-buttons {
        flex-wrap: wrap;
    }

    #dealplex-onboarding-form .dp-row {
        grid-template-columns: 1fr;
    }
}

/* Smaller laptops (1000–1250px) — give the main column more room
   before the sidebar/progress columns start crowding it */
@media (min-width: 992px) and (max-width: 1250px) {
    #dealplex-onboarding-form .dp-wizard-body {
        grid-template-columns: 220px 1fr 230px;
        gap: 16px;
    }

    #dealplex-onboarding-form .dp-main {
        padding: 24px;
    }
}

/* =========================================================
   FINAL RESPONSIVE OVERRIDE — must stay LAST in the file.
   Forces mobile/tablet breakpoints to win over the unscoped
   "repeat(5)" module-grid rule and tightens rental step 2.
   ========================================================= */

/* Module select screen */
@media (max-width: 1050px) {
    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 700px) {
    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        width: 100% !important;
        height: 240px !important;
    }
}

@media (max-width: 480px) {
    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Rental / any module — Step 2 service dropdown + category chips
   stacking correctly on mobile instead of overlapping */
@media (max-width: 991px) {
    #dealplex-onboarding-form .rental-figma .dp-row {
        grid-template-columns: 1fr !important;
    }

    #dealplex-onboarding-form .dp-ms {
        max-width: 100% !important;
    }

    #dealplex-onboarding-form .dp-ms-selected-chips {
        margin-top: 8px !important;
        gap: 6px !important;
        row-gap: 6px !important;
    }

    #dealplex-onboarding-form .dp-ms-panel {
        max-height: min(280px, 55vh) !important;
    }

    #dealplex-onboarding-form select#rental_pickup_location_type,
    #dealplex-onboarding-form .dp-field select {
        position: relative;
        z-index: 1;
    }

    /* keep the sidebar step list and main content from ever sharing
       vertical space, regardless of any lingering sticky rule */
    #dealplex-onboarding-form .dp-sidebar,
    #dealplex-onboarding-form .dp-progress-panel {
        position: static !important;
        z-index: auto !important;
    }

    #dealplex-onboarding-form .dp-main {
        position: relative;
        z-index: 1;
    }
}

/* =========================================================
   FIX PATCH — dark-mode support icon, home-page image
   cropping, and mobile module-card polish
   ========================================================= */

/* ---- 1. Support icon: visible in both light and dark mode ---- */
#dealplex-onboarding-form .dp-header-support .dp-support-icon,
#dealplex-onboarding-form .dp-header-support .dp-support-icon svg {
    color: #17191d;
    transition: color .15s ease;
}

@media (prefers-color-scheme: dark) {

    #dealplex-onboarding-form .dp-header-support .dp-support-icon,
    #dealplex-onboarding-form .dp-header-support .dp-support-icon svg {
        color: #e6e9f0 !important;
    }

    #dealplex-onboarding-form .dp-header-support:hover .dp-support-icon,
    #dealplex-onboarding-form .dp-header-support:hover .dp-support-icon svg {
        color: #3ddb95 !important;
    }
}

/* ---- 2. Home page module images: stop cropping faces/tops ---- */
#dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
    object-position: top center;
}

/* Give the image more breathing room on phones so cropping
   is less aggressive at small heights */
@media (max-width: 700px) {
    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        height: 190px;
        object-position: top center;
    }
}

@media (max-width: 480px) {
    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        height: 200px;
        object-position: top center;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card {
        height: auto;
        min-height: 340px;
    }
}

/* ---- 3. Dark mode polish: module cards + card image backdrop ---- */
@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        background: #20242c;
    }

    /* login button icon was also using a hardcoded light-mode color */
    #dealplex-onboarding-form .dp-header-login .dp-login-icon,
    #dealplex-onboarding-form .dp-header-login .dp-login-icon svg {
        color: #3ddb95 !important;
    }

    /* module select "Contact Support" link + footer icons already handled,
       but the subtle right-side background banner needs a darker opacity
       so it doesn't wash out over the dark background */
    #dealplex-onboarding-form #view-module-select::after {
        opacity: .08;
        filter: blur(2px) brightness(0.6);
    }

    /* ensure step sidebar "done" checkmarks and numbers stay legible */
    #dealplex-onboarding-form .dp-steps li .dot {
        background: #1c2029;
    }

    /* Partner Representative / agent-card inputs sometimes inherited a
       lighter placeholder from the base rule — force the dark placeholder */
    #dealplex-onboarding-form .dp-agent-card input::placeholder {
        color: #6b7387 !important;
    }
}

/* ---- 4. Responsive: keep module cards from collapsing oddly on
   narrow tablets between 700px and 1050px ---- */
@media (min-width: 701px) and (max-width: 1050px) {
    #dealplex-onboarding-form #view-module-select .dp-module-card {
        height: auto;
        min-height: 360px;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        height: 200px;
    }
}

/* =========================================================
   FINAL DARK-MODE + IMAGE-CENTERING OVERRIDE
   Must be the LAST block in the file — !important guarantees
   these win over any earlier plain rule that resets colors.
   ========================================================= */

/* ---- Image centering (both light & dark) ---- */
#dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
    object-position: center !important;
}

/* ---- Guaranteed dark-mode header ---- */
@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-header {
        background: #181b22 !important;
        border-bottom-color: #2a2f3a !important;
    }

    #dealplex-onboarding-form .dp-header .logo img {
        filter: brightness(0) saturate(100%) invert(55%) sepia(70%) saturate(550%) hue-rotate(100deg) brightness(95%) contrast(95%) !important;
    }

    #dealplex-onboarding-form .dp-header-support {
        color: #e6e9f0 !important;
    }

    #dealplex-onboarding-form .dp-header-support .dp-support-icon,
    #dealplex-onboarding-form .dp-header-support .dp-support-icon svg {
        color: #e6e9f0 !important;
    }

    #dealplex-onboarding-form .dp-header-login {
        background: #181b22 !important;
        border-color: #1fa96a !important;
        color: #3ddb95 !important;
    }

    #dealplex-onboarding-form .dp-header-login .dp-login-icon,
    #dealplex-onboarding-form .dp-header-login .dp-login-icon svg {
        color: #3ddb95 !important;
    }

    /* ---- Guaranteed dark-mode module-select page ---- */
    html,
    body {
        background: #14161c !important;
    }

    #dealplex-onboarding-form #view-module-select {
        background: #14161c !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-registration-label {
        color: #3ddb95 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap h2 {
        color: #4fd7a0 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-select-wrap>p {
        color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card {
        background: #1c2029 !important;
        border-color: #2c313d !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card h5 {
        color: #e8ecf5 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card p {
        color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .go-btn {
        color: #3ddb95 !important;
    }

    #dealplex-onboarding-form #view-module-select .dp-module-card .module-image {
        background: #20242c !important;
    }

    #dealplex-onboarding-form .dp-footer {
        background: #181b22 !important;
        border-top-color: #2a2f3a !important;
    }

    #dealplex-onboarding-form .dp-footer-copy {
        color: #9aa3b5 !important;
    }

    #dealplex-onboarding-form .dp-footer-social a {
        color: #c7cddb !important;
    }
}


#dealplex-onboarding-form #view-module-select {
    overflow-x: hidden;
}

#dealplex-onboarding-form #view-module-select .dp-select-wrap {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(20px, 4vw, 64px) !important;
    padding-right: clamp(20px, 4vw, 64px) !important;
    box-sizing: border-box;
}

#dealplex-onboarding-form #view-module-select .dp-module-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 32px) !important;
    width: 100%;
}

#dealplex-onboarding-form #view-module-select .dp-module-card {
    width: 100% !important;
    min-width: 0 !important;
}

/* At the point where 5 columns get too cramped (roughly where
   zoom pushes the effective viewport below ~1150px), drop to 3
   columns cleanly instead of squeezing/overflowing. */
@media (max-width: 1150px) {
    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    #dealplex-onboarding-form #view-module-select .dp-module-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Belt-and-suspenders: stop ANY horizontal scroll on the whole
   form at any zoom level, in case another element overflows. */
#dealplex-onboarding-form {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ============================================================
   UNIFIED WORKING-DAYS LAYOUT — same alignment across every
   module (Smart Store, Restaurant, Rental, Pharmacy, Handyman)
   on phones. Kept LAST in the file so it always wins.
   ============================================================ */
@media (max-width: 640px) {

    #dealplex-onboarding-form .dp-days-row,
    #dealplex-onboarding-form .pharmacy-figma .dp-days-row,
    #dealplex-onboarding-form .handyman-figma .dp-days-row,
    #dealplex-onboarding-form .rental-figma .dp-days-row,
    #dealplex-onboarding-form #days-pharmacy {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 12px 16px !important;
        row-gap: 12px !important;
    }

    #dealplex-onboarding-form .dp-day-chip,
    #dealplex-onboarding-form .pharmacy-figma .dp-day-chip,
    #dealplex-onboarding-form .handyman-figma .dp-day-chip,
    #dealplex-onboarding-form .rental-figma .dp-day-chip {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
    }
}

@media (min-width: 641px) and (max-width: 900px) {

    #dealplex-onboarding-form .dp-days-row,
    #dealplex-onboarding-form .pharmacy-figma .dp-days-row,
    #dealplex-onboarding-form .handyman-figma .dp-days-row,
    #dealplex-onboarding-form .rental-figma .dp-days-row,
    #dealplex-onboarding-form #days-pharmacy {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px 16px !important;
        row-gap: 12px !important;
    }
}

/* Fix image upload expanding screen on mobile - all modules */
#dealplex-onboarding-form,
#dealplex-onboarding-form * {
    max-width: 100%;
}

#dealplex-onboarding-form .dp-upload-pill,
#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-image-drop,
#dealplex-onboarding-form .dp-thumb-drop,
#dealplex-onboarding-form .dp-verify-preview {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Uploaded image preview fix */
#dealplex-onboarding-form img {
    max-width: 100%;
    height: auto;
}

#dealplex-onboarding-form .thumb-preview,
#dealplex-onboarding-form .verify-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Prevent grid items forcing horizontal scroll */
#dealplex-onboarding-form .dp-photo-grid,
#dealplex-onboarding-form .smartstore-store-photo-grid,
#dealplex-onboarding-form .smartstore-branding-grid {
    min-width: 0;
}

#dealplex-onboarding-form .dp-photo-grid>*,
#dealplex-onboarding-form .smartstore-store-photo-grid>*,
#dealplex-onboarding-form .smartstore-branding-grid>* {
    min-width: 0;
}


/* Mobile devices */
@media (max-width: 600px) {

    #dealplex-onboarding-form {
        overflow-x: hidden;
    }

    #dealplex-onboarding-form .dp-photo-grid,
    #dealplex-onboarding-form .smartstore-store-photo-grid,
    #dealplex-onboarding-form .smartstore-branding-grid {
        grid-template-columns: 1fr !important;
    }

    #dealplex-onboarding-form .dp-upload-pill,
    #dealplex-onboarding-form .dp-upload-wide {
        height: 52px;
        min-height: 52px;
    }

    #dealplex-onboarding-form .dp-upload-pill b,
    #dealplex-onboarding-form .dp-upload-wide b {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* FINAL FIX: upload filename expanding mobile screen */

#dealplex-onboarding-form .dp-upload-pill,
#dealplex-onboarding-form .dp-upload-wide {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

#dealplex-onboarding-form .dp-upload-pill b,
#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-pill span,
#dealplex-onboarding-form .dp-upload-wide span {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Smartstore specific */
#dealplex-onboarding-form .smartstore-figma .dp-upload-wide,
#dealplex-onboarding-form .smartstore-figma .dp-upload-pill {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-upload-wide>*,
#dealplex-onboarding-form .smartstore-figma .dp-upload-pill>* {
    min-width: 0;
}


/* Stop whole page horizontal scroll */
html,
body {
    overflow-x: hidden;
}

#dealplex-onboarding-form {
    overflow-x: hidden;
}


@media(max-width:600px) {

    #dealplex-onboarding-form .dp-upload-pill,
    #dealplex-onboarding-form .dp-upload-wide {
        padding: 10px 8px;
    }

    #dealplex-onboarding-form .dp-upload-pill b,
    #dealplex-onboarding-form .dp-upload-wide b {
        font-size: 12px;
    }
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap) {
    position: relative;
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap)>label {
    position: absolute !important;
    display: inline-flex !important;
    left: 54px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: transparent;
    padding: 0 2px;
    margin: 0 !important;
    max-width: none;
    overflow: visible;
    white-space: nowrap;
    color: #9195a7;
    font-size: 14px;
    font-weight: 400;
    pointer-events: none;
    transition: all .18s ease;
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap):focus-within>label,
#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap).has-value>label {
    top: 0;
    left: 12px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    color: #6f7486;
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap):focus-within>label {
    color: var(--dp-green);
}

#dealplex-onboarding-form .dp-phone-wrap input[type="tel"] {
    outline: none !important;
}

#dealplex-onboarding-form .dp-phone-wrap:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 106, .12);
}

#dealplex-onboarding-form .dp-field:has(.iti) .iti input[type="tel"],
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.iti) .iti input[type="tel"],
#dealplex-onboarding-form .handyman-figma .dp-field:has(.iti) .iti input[type="tel"],
#dealplex-onboarding-form .rental-figma .dp-field:has(.iti) .iti input[type="tel"],
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.iti) .iti input[type="tel"],
#dealplex-onboarding-form #view-restaurant .dp-field:has(.iti) .iti input[type="tel"] {
    width: 100% !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    /* border: 1.5px solid #dfe3eb !important; */
    border-radius: 10px !important;
    /* background: #fff !important; */
    color: var(--dp-text) !important;
    font-size: 14px !important;
    padding: 16px 16px 7px 50px !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#dealplex-onboarding-form .dp-field:has(.iti):focus-within .iti input[type="tel"] {
    outline: none !important;
    border-color: var(--dp-green) !important;
    box-shadow: 0 0 0 3px rgba(31, 169, 106, .10) !important;
}

#dealplex-onboarding-form .dp-field:has(.iti).has-error .iti input[type="tel"] {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .10) !important;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-field:has(.iti) .iti input[type="tel"] {
        background: #20242c !important;
        border-color: #333846 !important;
        color: #eef1f8 !important;
    }
}

#dealplex-onboarding-form .dp-field.dp-captcha-field>label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    color: var(--dp-text) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    pointer-events: auto !important;
}


#dealplex-onboarding-form .dp-phone-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 50px;
    border: 1.5px solid var(--dp-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#dealplex-onboarding-form .dp-phone-wrap:focus-within {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 106, .12);
}

#dealplex-onboarding-form .dp-field.has-error .dp-phone-wrap {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .10) !important;
}

#dealplex-onboarding-form .dp-phone-flag {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--dp-border);
    background: #fafbfc;
    pointer-events: none;
}

#dealplex-onboarding-form .dp-phone-flag svg {
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}

#dealplex-onboarding-form .dp-phone-wrap input[type="tel"] {
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 14px 14px !important;
    font-size: 14.5px;
    color: var(--dp-text);
}

#dealplex-onboarding-form .dp-phone-wrap input[type="tel"]:focus {
    outline: none;
}

/* Floating label clears the flag icon, same pattern as every
   other floating-label field in the form */
#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap)>label {
    left: 54px !important;
    top: 34% !important;
}

#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap).has-value>label,
#dealplex-onboarding-form .dp-field:has(.dp-phone-wrap):focus-within>label {
    left: 12px !important;
    top: 0 !important;
}

/* Same rule, scoped to every module wrapper class in the file
   (smartstore-figma / handyman-figma / rental-figma / pharmacy-figma /
   #view-restaurant) so the label position matches on every module,
   the same way the old .iti label rules were scoped. */
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-phone-wrap)>label,
#dealplex-onboarding-form .handyman-figma .dp-field:has(.dp-phone-wrap)>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.dp-phone-wrap)>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-phone-wrap)>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-phone-wrap)>label {
    left: 12px !important;
    top: 0 !important;
    transform: translateY(-50%) !important;
    background: #fff;
    padding: 0 5px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #6f7486 !important;
    z-index: 10 !important;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-phone-wrap {
        background: #20242c;
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-phone-flag {
        background: #1c2029;
        border-right-color: #333846;
    }

    #dealplex-onboarding-form .dp-phone-wrap input[type="tel"] {
        color: #eef1f8 !important;
    }

    #dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-phone-wrap)>label,
    #dealplex-onboarding-form .handyman-figma .dp-field:has(.dp-phone-wrap)>label,
    #dealplex-onboarding-form .rental-figma .dp-field:has(.dp-phone-wrap)>label,
    #dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-phone-wrap)>label,
    #dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-phone-wrap)>label {
        background: #20242c !important;
        color: #9aa3b5 !important;
    }
}

@media (max-width: 480px) {
    #dealplex-onboarding-form .dp-phone-flag {
        flex-basis: 40px;
    }

    #dealplex-onboarding-form .dp-phone-wrap input[type="tel"] {
        padding: 12px 10px !important;
    }
}

/* Lock intl-tel-input to India — hide dropdown arrow, disable click,
   and never let our custom .dp-phone-wrap nest inside an .iti wrapper. */
#dealplex-onboarding-form .iti .iti__flag-container {
    cursor: default !important;
    pointer-events: none !important;
}

#dealplex-onboarding-form .iti .iti__arrow {
    display: none !important;
}

#dealplex-onboarding-form .iti .iti__country-list {
    display: none !important;
}

/* Safety: if a .dp-phone-wrap ever ends up nested inside .iti, collapse
   its own flag so only one flag is ever visible. */
#dealplex-onboarding-form .iti .dp-phone-wrap .dp-phone-flag {
    display: none !important;
}

@media (prefers-color-scheme: dark) {
    #addr-modal .dp-modal.dp-address-modal-v2 {
        background: #1c2029;
        border: 1px solid #2c313d;
    }

    #addr-modal .dp-addr-step-header h5 {
        color: #eef1f8;
    }

    #addr-modal .dp-addr-back {
        background: #20242c;
        color: #eef1f8;
    }

    #addr-modal .dp-addr-confirm-card {
        background: #20242c;
        border-color: #333846;
    }

    #addr-modal .dp-addr-confirm-card strong {
        color: #eef1f8;
    }

    #addr-modal .dp-addr-confirm-card span {
        color: #9aa3b5;
    }

    #addr-modal .dp-address-form-title strong {
        color: #eef1f8;
    }

    #addr-modal .dp-address-form-title span {
        color: #9aa3b5;
    }

    #addr-modal .dp-field label {
        color: #9aa3b5;
    }

    #addr-modal .dp-field input {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    #addr-modal .dp-field input:focus {
        border-color: #2fbf82;
        box-shadow: 0 0 0 2px rgba(47, 191, 130, .15);
    }

    #addr-modal .dp-geo-status {
        color: #9aa3b5;
    }
}

/* HARD GUARANTEE — kabhi bhi dono steps ek saath dikh na paayein */
#addr-modal .dp-addr-step {
    display: none !important;
}

#addr-modal .dp-addr-step.is-active {
    display: block !important;
}

/* Zepto-jaisi narrow width, phone-card feel */
#addr-modal .dp-modal.dp-address-modal-v2 {
    width: min(700px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 24px);
    padding: 0;
    border-radius: 22px;
    overflow-y: auto;
    display: block !important;
}

#addr-modal .dp-addr-step[data-addr-step="1"] .dp-address-map {
    height: 280px;
    min-height: 280px;
    border-radius: 14px;
}

#addr-modal .dp-addr-step-header h5 {
    font-size: 17px;
    line-height: 1.3;
}

body.dp-modal-open {
    overflow: hidden !important;
}

/* Blend the QR card into the panel like the Figma reference — no nested card look */
#dp-qr-modal .dp-qr-modal {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#dp-qr-modal .dp-qr-head-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

#dp-qr-modal .dp-qr-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dp-green-dark);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

#dp-qr-modal .dp-qr-timer.is-low {
    color: var(--dp-red);
    border-color: rgba(229, 72, 77, .3);
    background: rgba(229, 72, 77, .08);
}

#dp-qr-modal .dp-qr-timer-icon {
    font-size: 14px;
}

#dp-qr-modal .dp-qr-image-wrap {
    width: 260px;
    height: 260px;
    margin: 0 auto;
    position: relative;
}

#dp-qr-modal .dp-qr-pay-caption {
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dp-muted);
    margin: 14px 0 12px;
}

#dp-qr-modal .dp-qr-upi-apps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}



#dp-qr-modal .dp-qr-expired-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, .94);
    color: var(--dp-red);
    font-weight: 700;
    font-size: 14px;
    border-radius: 14px;
}

#dp-qr-modal .dp-qr-expired-overlay .dp-qr-expired-icon {
    font-size: 30px;
}

@media (prefers-color-scheme: dark) {
    #dp-qr-modal .dp-qr-timer {
        background: #20242c;
        border-color: #333846;
        color: #3ddb95;
    }

    #dp-qr-modal .dp-qr-timer.is-low {
        color: #ff8080;
        border-color: rgba(255, 128, 128, .35);
        background: rgba(255, 128, 128, .1);
    }

    #dp-qr-modal .dp-qr-pay-caption {
        color: #9aa3b5;
    }



    #dp-qr-modal .dp-qr-expired-overlay {
        background: rgba(20, 22, 28, .94);
        color: #ff8080;
    }
}

#dp-qr-modal .dp-qr-upi-apps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}



#dp-qr-modal .dp-qr-upi-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    border: 1px solid var(--dp-border);
    background: #fff;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dp-text);
    cursor: default;
    pointer-events: none;
}

#dp-qr-modal .dp-qr-upi-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    flex-shrink: 0;
    display: block;
}

#dp-qr-modal .dp-qr-upi-label {
    line-height: 1;
    white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
    #dp-qr-modal .dp-qr-upi-app {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }
}

@media (max-width: 480px) {
    #dp-qr-modal .dp-qr-upi-app {
        padding: 7px 11px 7px 7px;
        font-size: 11.5px;
    }

    #dp-qr-modal .dp-qr-upi-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    #dp-qr-modal .dp-qr-image-wrap {
        width: 200px;
        height: 200px;
    }
}

/* Hide country dial code but keep flag */
.iti__selected-dial-code {
    display: none !important;
}

.iti__arrow {
    display: none !important;
}

.iti__selected-flag {
    padding: 0 10px !important;
}

/* HARD FIX — phone flag aur input ke beech gap guaranteed */
#dealplex-onboarding-form .dp-phone-wrap {
    display: flex !important;
    align-items: stretch !important;
}

#dealplex-onboarding-form .dp-phone-flag {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    padding: 0 10px !important;
    border-right: 1px solid var(--dp-border) !important;
    background: #fafbfc !important;
    gap: 4px;
}

#dealplex-onboarding-form .dp-phone-flag b {
    margin-left: 4px !important;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-phone-wrap input[type="tel"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-phone-flag {
        background: #1c2029 !important;
        border-right-color: #333846 !important;
    }
}

/* Make all required (*) marks red everywhere */
#dealplex-onboarding-form .req,
#dealplex-onboarding-form .required,
#dealplex-onboarding-form span[aria-required="true"],
#dealplex-onboarding-form label::after {
    color: #e5484d !important;
}

/* Upload button icon and text alignment */
#dealplex-onboarding-form .dp-upload-wide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* controls space between icon and text */
}

#dealplex-onboarding-form .dp-upload-wide .upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

#dealplex-onboarding-form .dp-upload-wide .upload-text {
    margin: 0;
    line-height: 1;
}

/* Fix upload icon and text spacing */
#dealplex-onboarding-form .dp-upload-wide {
    justify-content: center !important;
    gap: 0px !important;
}

#dealplex-onboarding-form .dp-upload-wide .upload-icon {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    font-size: 14px;
}

#dealplex-onboarding-form .dp-upload-wide b {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
}

/* Guaranteed filename truncation inside upload pills — never overflow the box */
#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    display: flex !important;
    flex-wrap: nowrap !important;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide>span:last-child,
#dealplex-onboarding-form .dp-upload-pill>span:last-child {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* =========================================================
   FINAL FIX — upload pill filenames on mobile: guaranteed
   single-line ellipsis, never overflow or wrap into next row
   ========================================================= */
#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#dealplex-onboarding-form .dp-upload-wide>*,
#dealplex-onboarding-form .dp-upload-pill>* {
    min-width: 0 !important;
    flex-shrink: 1;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide>span:last-child,
#dealplex-onboarding-form .dp-upload-pill>span:last-child {
    display: block !important;
    flex: 96 0 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-break: break-all;
}

@media (max-width: 480px) {

    #dealplex-onboarding-form .dp-upload-wide,
    #dealplex-onboarding-form .dp-upload-pill {
        padding: 10px 10px !important;
        gap: 8px !important;
        min-height: 48px !important;
    }

    #dealplex-onboarding-form .dp-upload-wide b,
    #dealplex-onboarding-form .dp-upload-wide>span:last-child,
    #dealplex-onboarding-form .dp-upload-pill>span:last-child {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    #dealplex-onboarding-form .dp-upload-wide .icon,
    #dealplex-onboarding-form .dp-upload-pill .icon,
    #dealplex-onboarding-form .dp-upload-wide>span:first-child {
        flex: 0 0 auto !important;
        font-size: 14px !important;
    }
}

/* Store Photos / Store Front / Interior / Shelves grid — force single
   column earlier on narrow screens so each upload pill gets full width
   and its filename has room to truncate instead of squeezing sideways */
@media (max-width: 560px) {

    #dealplex-onboarding-form .smartstore-store-photo-grid,
    #dealplex-onboarding-form .dp-pharmacy-upload-grid,
    #dealplex-onboarding-form .dp-pharmacy-upload-grid-3,
    #dealplex-onboarding-form .dp-rental-upload-grid,
    #dealplex-onboarding-form .dp-photo-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   MOBILE DROPDOWN FIX — categories, handyman service picker,
   native <select>, and the time picker popover.
   Kept LAST in the file so it always wins. Pure media queries,
   no framework dependency, matches existing .dp-* patterns.
   ========================================================= */

@media (max-width: 640px) {

    /* ---- 1. Category / Cuisine multi-select (.dp-ms) ---- */
    #dealplex-onboarding-form .dp-ms-panel {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        bottom: 12px !important;
        width: auto !important;
        max-height: 70vh !important;
        border-radius: 16px !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, .25) !important;
        z-index: 1000 !important;
    }

    #dealplex-onboarding-form .dp-ms.is-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 20, 28, .45);
        z-index: 999;
    }

    #dealplex-onboarding-form .dp-ms-list {
        max-height: 46vh !important;
    }

    #dealplex-onboarding-form .dp-ms-trigger {
        min-height: 48px;
        font-size: 14px;
    }

    #dealplex-onboarding-form .dp-ms-item {
        padding: 10px 12px;
        font-size: 14px;
    }

    #dealplex-onboarding-form .dp-ms-item img {
        width: 34px;
        height: 34px;
    }

    /* ---- 2. Handyman category / service dropdown ---- */
    #dealplex-onboarding-form .dp-service-dropdown {
        position: static !important;
    }

    #dealplex-onboarding-form .dp-service-menu {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        bottom: 12px !important;
        width: auto !important;
        max-height: 65vh !important;
        margin-top: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, .25) !important;
        z-index: 1000 !important;
    }

    #dealplex-onboarding-form .dp-service-selected {
        min-height: 48px;
        font-size: 14px;
        padding: 12px 14px;
    }

    #dealplex-onboarding-form .dp-service-item {
        padding: 12px 10px;
        font-size: 14px;
    }

    #dealplex-onboarding-form .dp-service-menu>input {
        min-height: 44px;
        font-size: 14px;
        /* prevents iOS auto-zoom on focus */
    }

    /* ---- 3. Native <select> elements (business_type, rental_service_type,
       pickup_location_type, drug_license_type, etc.) ---- */
    #dealplex-onboarding-form .dp-field select {
        min-height: 48px;
        font-size: 16px;
        /* 16px+ stops iOS Safari auto-zoom on focus */
        padding: 12px 34px 12px 14px;
        background-position: right 12px center;
    }

    /* ---- 4. Time picker popover — must never overflow small screens ---- */
    .dp-time-picker-popover {
        width: calc(100vw - 24px) !important;
        max-width: 320px;
        left: 12px !important;
        right: 12px !important;
    }

    .dp-time-picker-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }

    .dp-time-picker-row select {
        height: 42px;
        font-size: 14px;
    }
}

/* Slightly larger phones / small tablets — dropdown panels get a bit
   more breathing room but stay anchored, not full-bleed */
@media (min-width: 481px) and (max-width: 640px) {

    #dealplex-onboarding-form .dp-ms-panel,
    #dealplex-onboarding-form .dp-service-menu {
        left: 20px !important;
        right: 20px !important;
        bottom: 20px !important;
    }
}

/* Ensure the backdrop for the handyman menu also darkens the screen,
   same treatment as the category multi-select */
@media (max-width: 640px) {
    #dealplex-onboarding-form .dp-service-dropdown:has(.dp-service-menu:not(.hidden))::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 20, 28, .45);
        z-index: 999;
    }
}

@media (prefers-color-scheme: dark) {
    @media (max-width: 640px) {

        #dealplex-onboarding-form .dp-ms-panel,
        #dealplex-onboarding-form .dp-service-menu {
            background: #1c2029 !important;
            border-color: #333846 !important;
        }
    }
}

#dealplex-onboarding-form .dp-native-select {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

#dealplex-onboarding-form .dp-native-select-trigger {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--dp-border);
    border-radius: 10px;
    background: #fff;
    font-size: 14.5px;
    color: var(--dp-text);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

#dealplex-onboarding-form .dp-native-select-trigger:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-native-select.is-open .dp-native-select-trigger {
    border-color: var(--dp-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 106, 0.12);
}

#dealplex-onboarding-form .dp-native-select-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-native-select-chevron {
    flex-shrink: 0;
    color: var(--dp-muted);
    font-size: 20px;
    transition: transform .15s ease;
}

#dealplex-onboarding-form .dp-native-select.is-open .dp-native-select-chevron {
    transform: rotate(180deg);
    color: var(--dp-green);
}

/* Portaled to <body> — standalone styling, not scoped under the form,
   since it is appended directly to document.body when opened. */
.dp-native-select-panel {
    position: fixed;
    z-index: 100021;
    background: #fff;
    border: 1px solid #e6e8f0;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(20, 30, 45, .18);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.dp-native-select-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dp-native-select-list {
    overflow-y: auto;
    max-height: inherit;
    padding: 6px;
}

.dp-native-select-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #1c1c34;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dp-native-select-item:hover {
    background: #f8f9fc;
}

.dp-native-select-item.is-selected {
    background: #e7f8ef;
    color: #14824f;
    font-weight: 600;
}

.dp-native-select-check {
    display: none;
    flex-shrink: 0;
    color: #14824f;
    font-weight: 700;
}

.dp-native-select-item.is-selected .dp-native-select-check {
    display: inline;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-native-select-trigger {
        background: #20242c;
        border-color: #333846;
        color: #eef1f8;
    }

    .dp-native-select-panel {
        background: #1c2029;
        border-color: #333846;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
    }

    .dp-native-select-item {
        color: #eef1f8;
    }

    .dp-native-select-item:hover {
        background: #242a35;
    }

    .dp-native-select-item.is-selected {
        background: #173323;
        color: #3ddb95;
    }
}

/* ============================================================
   ADDRESS DISPLAY CHIP — force single-line ellipsis truncation
   Fixes the box wrapping to 2-3 lines and eating layout space.
   ============================================================ */
#dealplex-onboarding-form .dp-addr-inline {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#dealplex-onboarding-form .dp-addr-inline-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    /* critical: lets a flex child shrink below content size */
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    cursor: default;
}

#dealplex-onboarding-form .dp-addr-edit-btn {
    flex: 0 0 auto !important;
    margin-left: 8px;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form .dp-addr-inline-text {
        color: inherit;
    }
}

/* ============================================================
   GRID OVERFLOW FIX — the real root cause.
   CSS Grid tracks (1fr) do NOT shrink below their content's
   intrinsic width unless the grid item explicitly gets
   min-width: 0. Without this, a long address string forces
   the middle column wider, squeezing the right sidebar —
   which is exactly what's happening in the screenshot.
   ============================================================ */
#dealplex-onboarding-form .dp-wizard-body>* {
    min-width: 0;
}

/* Reinforce truncation all the way down the chain, since a long
   unbroken string can bypass ellipsis if ANY ancestor between
   the grid item and the text span is missing min-width: 0. */
#dealplex-onboarding-form .dp-main,
#dealplex-onboarding-form .dp-step-panel,
#dealplex-onboarding-form .dp-card,
#dealplex-onboarding-form .dp-addr-inline {
    min-width: 0;
}

#dealplex-onboarding-form .dp-addr-inline {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#dealplex-onboarding-form .dp-addr-inline-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    cursor: default;
}

#dealplex-onboarding-form .dp-addr-edit-btn {
    flex: 0 0 auto !important;
    margin-left: 8px;
}

/* Same protection for the tablet/mobile stacked layout, where
   .dp-wizard-body switches to a single column but the same
   long-string overflow issue can still occur. */
@media (max-width: 991px) {
    #dealplex-onboarding-form .dp-wizard-body {
        min-width: 0;
    }
}

/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .step-head h5 {
    font-weight: 700 !important;
}

#dealplex-onboarding-form .step-head p {
    font-weight: 400 !important;
}

#dealplex-onboarding-form .dp-card h6 {
    font-weight: 600 !important;
}



/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .dp-status-text .title {
    font-weight: 600 !important;
    font-size: 14px !important;
}

#dealplex-onboarding-form .dp-status-text .sub {
    font-weight: 400 !important;
}

/* ============================================================
   UNIFIED STEP HEADING — same size/weight/colour across every
   module. Kept LAST in the file so it always wins.
   ============================================================ */
#dealplex-onboarding-form .step-head h5,
#dealplex-onboarding-form .smartstore-figma .step-head h5,
#dealplex-onboarding-form .handyman-figma .step-head h5,
#dealplex-onboarding-form .rental-figma .step-head h5,
#dealplex-onboarding-form .pharmacy-figma .step-head h5,
#dealplex-onboarding-form #view-restaurant .step-head h5,
#dealplex-onboarding-form .dp-main .step-head h5 {
    font-size: 26px !important;
    font-weight: 500 !important;
    color: var(--dp-text) !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
}

#dealplex-onboarding-form .step-head p,
#dealplex-onboarding-form .smartstore-figma .step-head p,
#dealplex-onboarding-form .handyman-figma .step-head p,
#dealplex-onboarding-form .rental-figma .step-head p,
#dealplex-onboarding-form .pharmacy-figma .step-head p,
#dealplex-onboarding-form #view-restaurant .step-head p {
    font-size: 14px !important;
    color: var(--dp-muted) !important;
}

#dealplex-onboarding-form .dp-time-box.has-error {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .10) !important;
}

#dealplex-onboarding-form input:disabled,
#dealplex-onboarding-form select:disabled {
    cursor: not-allowed !important;
    opacity: .6;
    background: #f1f3f6 !important;
}

@media (prefers-color-scheme: dark) {

    #dealplex-onboarding-form input:disabled,
    #dealplex-onboarding-form select:disabled {
        background: #242832 !important;
    }
}

#dealplex-onboarding-form .dp-days-row,
#dealplex-onboarding-form .pharmacy-figma .dp-days-row,
#dealplex-onboarding-form #days-pharmacy,
#dealplex-onboarding-form .handyman-figma .dp-days-row,
#dealplex-onboarding-form .rental-figma .dp-days-row,
#dealplex-onboarding-form .smartstore-figma .dp-days-row,
#dealplex-onboarding-form #view-restaurant .dp-days-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    row-gap: 12px !important;
}

#dealplex-onboarding-form .dp-day-chip,
#dealplex-onboarding-form .pharmacy-figma .dp-day-chip,
#dealplex-onboarding-form #days-pharmacy .dp-day-chip,
#dealplex-onboarding-form .handyman-figma .dp-day-chip,
#dealplex-onboarding-form .rental-figma .dp-day-chip,
#dealplex-onboarding-form .smartstore-figma .dp-day-chip,
#dealplex-onboarding-form #view-restaurant .dp-day-chip {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    border: 0;
    background: none;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--dp-text);
    cursor: pointer;
    white-space: nowrap;
}

#dealplex-onboarding-form .dp-day-chip .box,
#dealplex-onboarding-form #days-pharmacy .dp-day-chip .box {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    border-radius: 4px;
    border: 1.5px solid #c7ccd6;
}

#dealplex-onboarding-form .dp-day-chip.is-checked .box {
    background: var(--dp-green);
    border-color: var(--dp-green);
}


#dealplex-onboarding-form .dp-qr-upi-app {
    cursor: default;
    pointer-events: none;
}

#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#dealplex-onboarding-form .dp-upload-wide>*:first-child,
#dealplex-onboarding-form .dp-upload-pill>*:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-pill span:last-child,
#dealplex-onboarding-form .dp-upload-wide span:last-child {
    display: flex;
    align-items: center;
    line-height: 1.3;
}

#dealplex-onboarding-form .dp-pharmacy-card-head h6 {
    margin-bottom: 9px !important;
    /* 4px existing + 5px extra gap */
}

/* ADD */
#dealplex-onboarding-form .dp-card-title-row,
#dealplex-onboarding-form .pharmacy-figma .dp-card-title-row,
#dealplex-onboarding-form .smartstore-figma .dp-card-title-row,
#dealplex-onboarding-form .rental-figma .dp-card-title-row,
#dealplex-onboarding-form .handyman-figma .dp-card-title-row,
#dealplex-onboarding-form #view-restaurant .dp-card-title-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#dealplex-onboarding-form .dp-card-title-row h6 {
    min-width: 0;
    flex: 1 1 auto;
}

#dealplex-onboarding-form .dp-select-all {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    margin-left: 10px;
}

#dealplex-onboarding-form .dp-upload-cell {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#dealplex-onboarding-form .dp-upload-cell .dp-upload-pill {
    flex: 1 1 auto;
}

/* ============ UNIFIED DROPDOWN ARROW ============ */
#dealplex-onboarding-form .dp-field select,
#dealplex-onboarding-form .dp-field.dp-floating-field>select:not([multiple]) {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6f8a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 7px !important;
}

#dealplex-onboarding-form .dp-ms-chevron,
#dealplex-onboarding-form .dp-native-select-chevron {
    font-size: 0 !important;
    width: 12px;
    height: 7px;
    display: inline-block !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6f8a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: none !important;
    transition: transform .15s ease;
}

#dealplex-onboarding-form .dp-ms.is-open .dp-ms-chevron,
#dealplex-onboarding-form .dp-native-select.is-open .dp-native-select-chevron {
    transform: rotate(180deg) !important;
}

#dealplex-onboarding-form .dp-upload-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
    /* green-dark text color inherit hoga */
}

#dealplex-onboarding-form .dp-arrow-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: -2px;
    margin: -4 2px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='13 6 19 12 13 18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='13 6 19 12 13 18'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
}

#dealplex-onboarding-form .dp-arrow-icon-left {
    transform: scaleX(-1);
    /* same icon, mirror kar diya — ek hi source of truth */
}

#dealplex-onboarding-form .dp-ms-chevron,
#dealplex-onboarding-form .dp-native-select-chevron {
    width: 12px;
    height: 12px;
}

#dealplex-onboarding-form .dp-ms-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

#dealplex-onboarding-form .dp-ms-action-clear {
    color: var(--dp-red) !important;
}

#dp-qr-modal .dp-qr-amount-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 16px;
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 12px;
    margin-top: 4px;
}

#dp-qr-modal .dp-qr-amount-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dp-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

#dp-qr-modal .dp-qr-plan-amount {
    font-size: 30px;
    font-weight: 700;
    color: var(--dp-green-dark);
    line-height: 1.2;
}

#dp-qr-modal .dp-qr-plan-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-text);
}

#dp-qr-modal .dp-qr-upi-intent-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

#dp-qr-modal .dp-qr-intent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 10px;
    background: var(--dp-green);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
}

#dp-qr-modal .dp-qr-intent-btn:hover {
    background: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-ms-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-ms-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dp-text);
    user-select: none;
}

#dealplex-onboarding-form .dp-ms-select-all input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--dp-green);
    cursor: pointer;
    flex-shrink: 0;
}

#dealplex-onboarding-form .dp-ms-count {
    font-size: 11.5px;
    color: var(--dp-muted);
    font-weight: 600;
}

#dealplex-onboarding-form .dp-input-with-suffix {
    align-items: stretch !important;
}

#dealplex-onboarding-form .dp-input-with-suffix span {
    display: flex !important;
    align-items: center !important;
    line-height: 1.3 !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 11.5px !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-input-with-suffix span,
#dealplex-onboarding-form .pharmacy-figma .dp-input-with-suffix span,
#dealplex-onboarding-form #view-restaurant .dp-input-with-suffix span {
    line-height: 1.3 !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
}

#dealplex-onboarding-form .dp-upload-wide .req,
#dealplex-onboarding-form .dp-upload-pill .req,
#dealplex-onboarding-form .dp-upload-wide b .req,
#dealplex-onboarding-form .dp-upload-pill b .req,
#dealplex-onboarding-form .dp-upload-wide span.req,
#dealplex-onboarding-form .dp-upload-pill span.req {
    color: var(--dp-red) !important;
}

#dealplex-onboarding-form .dp-field-error,
#dealplex-onboarding-form .smartstore-figma .dp-field-error,
#dealplex-onboarding-form .pharmacy-figma .dp-field-error,
#dealplex-onboarding-form .handyman-figma .dp-field-error,
#dealplex-onboarding-form .rental-figma .dp-field-error,
#dealplex-onboarding-form #view-restaurant .dp-field-error {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    margin-top: 4px !important;
}

#dp-qr-modal .dp-qr-body {
    padding: 26px 24px;
    gap: 18px;
}

#dp-qr-modal .dp-qr-status-line {
    text-align: center;
    width: 100%;
}

#dp-qr-modal .dp-qr-plan-name-only {
    font-size: 15px;
    font-weight: 700;
    color: var(--dp-text);
}

/* Timer — bada, clearly visible, top-right of header */
#dp-qr-modal .dp-qr-timer {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 24px;
}

#dp-qr-modal .dp-qr-timer-icon {
    font-size: 16px;
}

/* QR image box — clean, centered, professional border */
#dp-qr-modal .dp-qr-image-wrap {
    width: 250px;
    height: 250px;
    border: 2px solid var(--dp-border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(20, 30, 45, .08);
}

/* UPI intent button — primary CTA, full width, clean */
#dp-qr-modal .dp-qr-upi-intent-wrap {
    width: 100%;
    margin: 4px 0 8px;
}

#dp-qr-modal .dp-qr-intent-btn {
    width: 100%;
    padding: 14px;
    font-size: 14.5px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(31, 169, 106, .25);
}

/* FIX: asterisk sits right next to the upload label text — no more gap */
#dealplex-onboarding-form .dp-upload-wide .req,
#dealplex-onboarding-form .dp-upload-pill .req {
    position: static !important;
    display: inline !important;
    margin-left: 3px;
    color: var(--dp-red) !important;
    font-size: 14px;
    font-weight: 700;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide>span:last-child,
#dealplex-onboarding-form .dp-upload-pill>span:last-child {
    padding-right: 0 !important;
}

/* Store Photos / branding grid: give the text more room so it truncates
   less often in the first place */
#dealplex-onboarding-form .smartstore-store-photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
}

#dealplex-onboarding-form .smartstore-store-photo-grid .dp-upload-wide,
#dealplex-onboarding-form .smartstore-branding-grid .dp-upload-wide {
    font-size: 12.5px !important;
}

/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-input-with-suffix)>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-input-with-suffix)>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-input-with-suffix)>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix)>label {
    max-width: calc(100% - 10px) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.3 !important;
}

/* keep the floated (has-value/focused) state readable too */
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-input-with-suffix):focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-input-with-suffix):focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-input-with-suffix):focus-within>label {
    font-size: 11px !important;
}

/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-input-with-suffix)>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-input-with-suffix)>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-input-with-suffix)>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix)>label {
    top: 25px !important;
    /* fixed = half of the 50px input height */
    transform: translateY(-50%) !important;
    max-width: calc(100% - 10px) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form .smartstore-figma .dp-field:has(.dp-input-with-suffix):focus-within>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form .pharmacy-figma .dp-field:has(.dp-input-with-suffix):focus-within>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form #view-restaurant .dp-field:has(.dp-input-with-suffix):focus-within>label {
    top: 0 !important;
    font-size: 11px !important;
}

/* give the error row its own breathing room so nothing can ever overlap it */
#dealplex-onboarding-form .dp-field:has(.dp-input-with-suffix) .dp-field-error {
    position: relative;
    margin-top: 6px !important;
    z-index: 1;
}

/* append to end of New_vendor-registration.css */
#dealplex-onboarding-form .dp-upload-wide,
#dealplex-onboarding-form .dp-upload-pill {
    justify-content: flex-start !important;
    gap: 5px !important;
}

#dealplex-onboarding-form .dp-upload-wide b,
#dealplex-onboarding-form .dp-upload-wide>span:last-child,
#dealplex-onboarding-form .dp-upload-pill>span:last-child {
    flex: 96 0 auto !important;
    text-align: left !important;
}

.dp-qr-timer-row {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.dp-qr-amount-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin: 14px 0;
    font-size: 15px;
}

.dp-qr-amount-label {
    color: var(--dp-muted, #666);
}

.dp-qr-amount-value {
    font-weight: 700;
    font-size: 18px;
}

.req {
    color: var(--dp-red, #e5484d);
    margin-left: 2px;
    font-weight: 600;
    font-size: 0.9em;
}

.dp-upload-wide,
.dp-upload-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    /* single controlled gap instead of stray margins */
}

.dp-upload-icon {
    flex-shrink: 0;
}

/* Handyman dropdown trigger — same icon + alignment as other dropdowns */
.dp-service-selected {
    align-items: center;
    gap: 10px;
    min-height: 50px;
}

.dp-service-selected .dp-ms-chevron {
    flex-shrink: 0;
    transition: transform .15s ease;
}

.dp-service-dropdown:has(.dp-service-menu:not(.hidden)) .dp-ms-chevron {
    transform: rotate(180deg) !important;
}

/* Rental: suffix fields (KM / Minutes) label floats like other fields */
#dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix).has-value>label,
#dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix):focus-within>label {
    top: 0 !important;
    left: 12px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #fff !important;
    color: #6f7486 !important;
}

#dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix):focus-within>label {
    color: var(--dp-green) !important;
}

@media (prefers-color-scheme: dark) {

    #dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix).has-value>label,
    #dealplex-onboarding-form .rental-figma .dp-field:has(.dp-input-with-suffix):focus-within>label {
        background: #20242c !important;
        color: #c7cddb !important;
    }
}

/* QR modal polish: centered title, timer in middle, amount below QR */
#dp-qr-modal .dp-qr-head {
    justify-content: center;
    text-align: center;
    border-bottom: 0;
    padding: 20px 22px 0;
}

#dp-qr-modal .dp-qr-timer-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

#dp-qr-modal .dp-qr-amount-card {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    padding: 14px 16px;
    text-align: center;
}

#dp-qr-modal .dp-qr-plan-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--dp-green-dark);
    line-height: 1.2;
}

#dp-qr-modal .dp-qr-pay-caption {
    margin: 4px 0 0;
}

/* Restaurant captcha label: static, same as other modules */
#dealplex-onboarding-form #view-restaurant .dp-field.dp-captcha-field>label {
    position: static !important;
    display: block !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    color: var(--dp-text) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    pointer-events: auto !important;
}

/* ================= QR PAYMENT CARD ================= */
#dp-qr-modal .dpq-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(20, 30, 45, .06);
    overflow: hidden;
}

#dp-qr-modal .dpq-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 24px;
    border-bottom: 1px solid var(--dp-border);
    background: linear-gradient(180deg, #f5fcf8, #fff);
}

#dp-qr-modal .dpq-head h5 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dp-text);
}

#dp-qr-modal .dpq-head p {
    margin: 0;
    font-size: 13px;
    color: var(--dp-muted);
}

#dp-qr-modal .dpq-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e7f8ef;
    border: 1px solid #bfe6cf;
    color: var(--dp-green-dark);
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

#dp-qr-modal .dpq-timer.is-low {
    background: #fdecec;
    border-color: #f6c6c8;
    color: var(--dp-red);
}

#dp-qr-modal .dpq-body {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
    align-items: start;
}

#dp-qr-modal .dpq-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#dp-qr-modal .dpq-qr-box {
    position: relative;
    width: 260px;
    height: 260px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(20, 30, 45, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#dp-qr-modal .dpq-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#dp-qr-modal .dpq-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--dp-muted);
    font-size: 12.5px;
    font-weight: 600;
}

#dp-qr-modal .dpq-expired {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, .95);
    color: var(--dp-red);
    font-weight: 700;
    font-size: 14px;
}

#dp-qr-modal .dpq-expired-icon {
    font-size: 30px;
}

#dp-qr-modal .dpq-caption {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dp-muted);
    text-align: center;
}

/* summary */
#dp-qr-modal .dpq-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

#dp-qr-modal .dpq-sum-card {
    background: var(--dp-bg-soft);
    border: 1px solid var(--dp-border);
    border-radius: 14px;
    padding: 18px 20px;
}

#dp-qr-modal .dpq-sum-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--dp-muted);
    margin-bottom: 10px;
}

#dp-qr-modal .dpq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--dp-muted);
}

#dp-qr-modal .dpq-row strong {
    color: var(--dp-text);
    font-weight: 600;
    text-align: right;
}

#dp-qr-modal .dpq-row .dpq-free {
    color: var(--dp-green-dark);
    font-weight: 700;
}

#dp-qr-modal .dpq-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed var(--dp-border);
}

#dp-qr-modal .dpq-total span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dp-text);
}

#dp-qr-modal .dpq-total strong {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--dp-green-dark);
}

/* status + error */
#dp-qr-modal .dpq-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff8e8;
    border: 1px solid #f5e0b0;
    color: #8a6416;
    font-size: 13px;
    font-weight: 600;
}

#dp-qr-modal .dpq-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f5a524;
    animation: dp-qr-pulse 1.4s ease-in-out infinite;
}

#dp-qr-modal .dpq-status.is-success {
    background: #e7f8ef;
    border-color: #bfe6cf;
    color: var(--dp-green-dark);
}

#dp-qr-modal .dpq-status.is-success .dpq-status-dot {
    background: var(--dp-green);
    animation: none;
}

#dp-qr-modal .dpq-status.is-error {
    background: #fdecec;
    border-color: #f6c6c8;
    color: var(--dp-red);
}

#dp-qr-modal .dpq-status.is-error .dpq-status-dot {
    background: var(--dp-red);
    animation: none;
}

#dp-qr-modal .dpq-error {
    display: none;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fdecec;
    border: 1px solid #f6c6c8;
    color: var(--dp-red);
    font-size: 12.5px;
}

#dp-qr-modal .dpq-error.is-visible {
    display: block;
}

/* steps */
#dp-qr-modal .dpq-how {
    display: grid;
    gap: 12px;
}

#dp-qr-modal .dpq-how .dpq-sum-title {
    margin-bottom: 0;
}

#dp-qr-modal .dpq-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

#dp-qr-modal .dpq-step .num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f8ef;
    color: var(--dp-green-dark);
    font-size: 12.5px;
    font-weight: 700;
}

#dp-qr-modal .dpq-step strong {
    display: block;
    font-size: 13.5px;
    color: var(--dp-text);
}

#dp-qr-modal .dpq-step p {
    margin: 2px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--dp-muted);
}

#dp-qr-modal .dpq-secure {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--dp-muted);
}

/* responsive */
@media (max-width: 820px) {
    #dp-qr-modal .dpq-body {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px;
    }

    #dp-qr-modal .dpq-head {
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    #dp-qr-modal .dpq-qr-box {
        width: 220px;
        height: 220px;
    }
}

/* dark mode */
@media (prefers-color-scheme: dark) {
    #dp-qr-modal .dpq-card {
        background: #1c2029;
        border-color: #2c313d;
        box-shadow: none;
    }

    #dp-qr-modal .dpq-head {
        background: linear-gradient(180deg, #1d2a24, #1c2029);
        border-bottom-color: #2c313d;
    }

    #dp-qr-modal .dpq-timer {
        background: #173323;
        border-color: #1f5a3c;
        color: #3ddb95;
    }

    #dp-qr-modal .dpq-timer.is-low {
        background: rgba(255, 128, 128, .1);
        border-color: rgba(255, 128, 128, .35);
        color: #ff8080;
    }

    #dp-qr-modal .dpq-qr-box {
        background: #f4f4f4;
        border-color: #333846;
    }

    #dp-qr-modal .dpq-expired {
        background: rgba(20, 22, 28, .94);
        color: #ff8080;
    }

    #dp-qr-modal .dpq-sum-card {
        background: #20242c;
        border-color: #333846;
    }

    #dp-qr-modal .dpq-total {
        border-top-color: #333846;
    }

    #dp-qr-modal .dpq-total strong {
        color: #3ddb95;
    }

    #dp-qr-modal .dpq-status {
        background: #2c2517;
        border-color: #4a3d20;
        color: #e0b25a;
    }

    #dp-qr-modal .dpq-status.is-success {
        background: #173323;
        border-color: #1f5a3c;
        color: #3ddb95;
    }

    #dp-qr-modal .dpq-status.is-error {
        background: #3a1f22;
        border-color: #5c2c30;
        color: #ff8080;
    }

    #dp-qr-modal .dpq-step .num {
        background: #173323;
        color: #3ddb95;
    }
}

/* ================= QR PAYMENT — REFERENCE LAYOUT ================= */
#dp-qr-modal .dpr-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 18px;
    padding: 26px 32px 32px;
    box-shadow: 0 6px 24px rgba(20, 30, 45, .05);
}

/* header */
#dp-qr-modal .dpr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

#dp-qr-modal .dpr-head h5 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: var(--dp-text);
}

#dp-qr-modal .dpr-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1a9445;
    font-variant-numeric: tabular-nums;
}

#dp-qr-modal .dpr-timer svg {
    color: var(--dp-text);
}

#dp-qr-modal .dpr-timer.is-low {
    color: var(--dp-red);
}

/* centred QR area */
#dp-qr-modal .dpr-qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

#dp-qr-modal .dpr-qr-box {
    position: relative;
    width: 270px;
    height: 270px;
    padding: 14px;
    background: #fff;
    border: 1.5px solid #dfe3eb;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(20, 30, 45, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#dp-qr-modal .dpr-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#dp-qr-modal .dpr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--dp-muted);
    font-size: 12.5px;
    font-weight: 600;
}

#dp-qr-modal .dpr-expired {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, .95);
    color: var(--dp-red);
    font-weight: 700;
    font-size: 14px;
}

#dp-qr-modal .dpr-expired-icon {
    font-size: 30px;
}

/* amount under QR */
#dp-qr-modal .dpr-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 230px;
    padding: 12px 28px;
    background: #f3fbf6;
    border: 1px solid #cfead9;
    border-radius: 14px;
}

#dp-qr-modal .dpr-amount-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dp-muted);
}

#dp-qr-modal .dpr-amount strong {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    color: #14824f;
}

#dp-qr-modal .dpr-plan-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-text);
}

#dp-qr-modal .dpr-caption {
    margin: 4px 0 0;
    font-size: 17px;
    color: var(--dp-muted);
}

/* existing UPI chips centred, no boxes (like reference) */
#dp-qr-modal .dpr-qr-area .dp-qr-upi-apps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 0;
}

#dp-qr-modal .dpr-qr-area .dp-qr-upi-app {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

/* status */
#dp-qr-modal .dpr-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-muted);
}

#dp-qr-modal .dpr-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f5a524;
    animation: dp-qr-pulse 1.4s ease-in-out infinite;
}

#dp-qr-modal .dpr-status.is-success {
    color: var(--dp-green-dark);
}

#dp-qr-modal .dpr-status.is-success .dpr-status-dot {
    background: var(--dp-green);
    animation: none;
}

#dp-qr-modal .dpr-status.is-error {
    color: var(--dp-red);
}

#dp-qr-modal .dpr-status.is-error .dpr-status-dot {
    background: var(--dp-red);
    animation: none;
}

#dp-qr-modal .dpr-error {
    display: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fdecec;
    border: 1px solid #f6c6c8;
    color: var(--dp-red);
    font-size: 12.5px;
}

#dp-qr-modal .dpr-error.is-visible {
    display: block;
}

/* how it works */
#dp-qr-modal .dpr-how-title {
    margin: 30px 0 18px;
    font-size: 22px;
    font-weight: 500;
    color: var(--dp-text);
}

#dp-qr-modal .dpr-how {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

#dp-qr-modal .dpr-step .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #eef0ff;
    border: 1.5px solid #d9defb;
    color: #4338ca;
    font-size: 16px;
    font-weight: 600;
}

#dp-qr-modal .dpr-step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 500;
    color: var(--dp-text);
}

#dp-qr-modal .dpr-step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--dp-muted);
}

/* responsive */
@media (max-width: 720px) {
    #dp-qr-modal .dpr-card {
        padding: 20px 18px 24px;
    }

    #dp-qr-modal .dpr-head h5,
    #dp-qr-modal .dpr-timer,
    #dp-qr-modal .dpr-how-title {
        font-size: 18px;
    }

    #dp-qr-modal .dpr-how {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #dp-qr-modal .dpr-caption {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    #dp-qr-modal .dpr-qr-box {
        width: 220px;
        height: 220px;
    }
}

/* dark mode */
@media (prefers-color-scheme: dark) {
    #dp-qr-modal .dpr-card {
        background: #1c2029;
        border-color: #2c313d;
        box-shadow: none;
    }

    #dp-qr-modal .dpr-timer {
        color: #3ddb95;
    }

    #dp-qr-modal .dpr-qr-box {
        background: #f4f4f4;
        border-color: #333846;
    }

    #dp-qr-modal .dpr-expired {
        background: rgba(20, 22, 28, .94);
        color: #ff8080;
    }

    #dp-qr-modal .dpr-amount {
        background: #173323;
        border-color: #1f5a3c;
    }

    #dp-qr-modal .dpr-amount strong {
        color: #3ddb95;
    }

    #dp-qr-modal .dpr-step .num {
        background: #22283a;
        border-color: #333846;
        color: #8ab4ff;
    }

    #dp-qr-modal .dpr-error {
        background: #3a1f22;
        border-color: #5c2c30;
        color: #ff8080;
    }
}

#dealplex-onboarding-form .dp-thumb-item {
    flex: 0 0 auto;
}

#dealplex-onboarding-form .dp-thumb-upload-row+.dp-file-error {
    margin-top: 8px;
}

#dealplex-onboarding-form .dp-image-drop.file-error,
#dealplex-onboarding-form .dp-thumb-drop.file-error {
    border-color: var(--dp-red) !important;
}

/* ===== QR page: compact professional amount card ===== */
#dp-qr-modal .dpr-amount {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label amt"
        "plan  amt";
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
    width: 270px;
    max-width: 100%;
    min-width: 0;
    padding: 12px 18px;
    text-align: left;
    background: #f3fbf6;
    border: 1px solid #cfead9;
    border-radius: 12px;
}

#dp-qr-modal .dpr-amount .dpr-amount-label {
    grid-area: label;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dp-muted);
}

#dp-qr-modal .dpr-amount strong {
    grid-area: amt;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    color: #14824f;
    white-space: nowrap;
}

#dp-qr-modal .dpr-amount .dpr-plan-name {
    grid-area: plan;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--dp-text);
}

/* caption bhi thoda chhota, taaki price ke saath balance rahe */
#dp-qr-modal .dpr-caption {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 500;
}

#dp-qr-modal .dpr-qr-area .dp-qr-upi-app {
    font-size: 14px;
}

@media (max-width: 480px) {
    #dp-qr-modal .dpr-amount {
        width: 220px;
        padding: 10px 14px;
    }

    #dp-qr-modal .dpr-amount strong {
        font-size: 19px;
    }
}

@media (prefers-color-scheme: dark) {
    #dp-qr-modal .dpr-amount {
        background: #173323;
        border-color: #1f5a3c;
    }

    #dp-qr-modal .dpr-amount strong {
        color: #3ddb95;
    }
}

#dealplex-onboarding-form {
    --dp-cb-border: #b9c0cd;
    --dp-cb-bg: #ffffff;
    --dp-ms-bg: #ffffff;
    --dp-ms-hover: #f3f6f9;
}

@media (prefers-color-scheme: dark) {
    #dealplex-onboarding-form {
        --dp-cb-border: #5b6478;
        --dp-cb-bg: #20242c;
        --dp-ms-bg: #1c2029;
        --dp-ms-hover: #242a35;
    }
}

/* ---------------------------------------------------------------------
   Categories dropdown — panel, search, "Select all" row, item rows.

   ROOT CAUSE of the misaligned "Select all":
   "#dealplex-onboarding-form .dp-field label" (specificity 1,1,1) forces
   display:block + margin-bottom on EVERY <label> inside .dp-field, and it
   beat ".dp-ms-select-all" / ".dp-ms-item" (1,1,0). So the flex layout and
   the gap never applied and the text sat on top of the checkbox.
   The selectors below use (1,2,1) so they win in both themes.
   --------------------------------------------------------------------- */
#dealplex-onboarding-form .dp-field .dp-ms-panel {
    background: var(--dp-ms-bg);
    border-color: var(--dp-border);
}

#dealplex-onboarding-form .dp-field .dp-ms-search input {
    background: var(--dp-ms-bg);
    color: var(--dp-text);
    border-color: var(--dp-border);
}

/* "Select all" row: checkbox + text on the left, counter on the right */
#dealplex-onboarding-form .dp-field .dp-ms-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 4px;
    padding: 8px 13px 10px;
    /* 13px = same left inset as the item rows */
    border-bottom: 1px solid var(--dp-border);
}

#dealplex-onboarding-form .dp-field label.dp-ms-select-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* space between checkbox and text */
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dp-text);
    cursor: pointer;
    user-select: none;
}

#dealplex-onboarding-form .dp-field .dp-ms-count {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--dp-muted);
    white-space: nowrap;
}

/* Item rows: same fix, they were block labels too */
#dealplex-onboarding-form .dp-field label.dp-ms-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 13px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dp-text);
    cursor: pointer;
}

#dealplex-onboarding-form .dp-field label.dp-ms-item:hover {
    background: var(--dp-ms-hover);
}

/* One custom checkbox for both "Select all" and every item (light + dark) */
#dealplex-onboarding-form .dp-ms-select-all input[type="checkbox"],
#dealplex-onboarding-form .dp-ms-item input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    /* beats the old margin-right:10px !important */
    padding: 0;
    border: 1.5px solid var(--dp-cb-border);
    border-radius: 5px;
    background: var(--dp-cb-bg);
    cursor: pointer;
    vertical-align: middle;
    transition: background .15s ease, border-color .15s ease;
}

#dealplex-onboarding-form .dp-ms-select-all input[type="checkbox"]:hover,
#dealplex-onboarding-form .dp-ms-item input[type="checkbox"]:hover {
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-ms-select-all input[type="checkbox"]:checked,
#dealplex-onboarding-form .dp-ms-item input[type="checkbox"]:checked {
    background: var(--dp-green);
    border-color: var(--dp-green);
}

#dealplex-onboarding-form .dp-ms-select-all input[type="checkbox"]:checked::after,
#dealplex-onboarding-form .dp-ms-item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -55%) rotate(45deg);
}

#dealplex-onboarding-form .dp-ms-select-all input[type="checkbox"]:focus-visible,
#dealplex-onboarding-form .dp-ms-item input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--dp-green);
    outline-offset: 2px;
}

#dealplex-onboarding-form .dp-row {
    align-items: start;
}

#dealplex-onboarding-form .dp-field .dp-field-error {
    position: static;
    transform: none;
    margin: 6px 0 0;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

#dealplex-onboarding-form .dp-input-with-suffix input {
    min-width: 0;
}

#dealplex-onboarding-form .dp-input-with-suffix span {
    flex: 0 0 auto;
}


#dealplex-onboarding-form .dp-field.has-error .dp-native-select-trigger {
    border-color: var(--dp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.10) !important;
}

/* handyman Yes/No group */
#dealplex-onboarding-form .dp-yesno.has-error label {
    color: var(--dp-red);
}

/* address modal: inline errors, no overlap with the next field */
#addr-modal .dp-field .dp-field-error,
#addr-modal #addr-map-error {
    position: static;
    margin: 4px 0 0;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

#addr-modal #addr-map-error {
    margin: 8px 2px 0;
}

#addr-modal .dp-address-row.two {
    align-items: start;
}

.dp-qr-plan-panel .rows .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.dp-qr-plan-panel .rows .row span {
    color: var(--dp-muted, #666);
}

.dp-qr-plan-panel .rows .row strong {
    font-weight: 700;
}

#dealplex-onboarding-form .dp-ms-list {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

/* ===== QR SHARE BUTTON ===== */
#dp-qr-modal .dpr-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 270px;
    margin: 4px auto 6px;
    padding: 11px 18px;
    border: 1.5px solid #25D366;
    border-radius: 10px;
    background: #fff;
    color: #128C4A;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

#dp-qr-modal .dpr-share-btn:hover {
    background: #25D366;
    color: #fff;
}

@media (prefers-color-scheme: dark) {
    #dp-qr-modal .dpr-share-btn {
        background: #1c2029;
        border-color: #25D366;
        color: #3ddb95;
    }

    #dp-qr-modal .dpr-share-btn:hover {
        background: #1f5a3c;
        color: #fff;
    }
}

/* ===== REVIEW / VERIFY APPLICATION MODAL ===== */
#dp-review-modal.dp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 28, .55);
    backdrop-filter: blur(4px);
    z-index: 100010;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#dp-review-modal.dp-modal-overlay.is-open {
    display: flex;
}

#dp-review-modal .dp-review-modal-box {
    width: min(720px, 100%);
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .28);
}

#dp-review-modal .dp-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

#dp-review-modal .dp-review-head h5 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dp-text);
    margin: 0;
}

#dp-review-modal .dp-review-subtext {
    font-size: 12.5px;
    color: var(--dp-muted);
    margin: 0 0 14px;
}

#dp-review-modal .dp-review-body {
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

#dp-review-modal .dp-review-step {
    border: 1px solid var(--dp-border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: var(--dp-bg-soft);
}

#dp-review-modal .dp-review-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

#dp-review-modal .dp-review-step-head h6 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dp-green-dark);
}

#dp-review-modal .dp-review-edit-btn {
    border: 1px solid var(--dp-green);
    background: #fff;
    color: var(--dp-green-dark);
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 12px;
    cursor: pointer;
}

#dp-review-modal .dp-review-edit-btn:hover {
    background: var(--dp-green);
    color: #fff;
}

#dp-review-modal .dp-review-group-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--dp-muted);
    margin: 10px 0 6px;
}

#dp-review-modal .dp-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 4px;
}

#dp-review-modal .dp-review-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

#dp-review-modal .dp-review-label {
    font-size: 11px;
    color: var(--dp-muted);
    font-weight: 600;
}

#dp-review-modal .dp-review-value {
    font-size: 13.5px;
    color: var(--dp-text);
    font-weight: 500;
    word-break: break-word;
}

#dp-review-modal .dp-review-empty {
    text-align: center;
    color: var(--dp-muted);
    padding: 30px;
}

#dp-review-modal .dp-review-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-top: 1px solid var(--dp-border);
    padding-top: 14px;
    margin-top: 10px;
}

#dealplex-onboarding-form .dp-btn-review {
    background: #fff;
    border: 1.5px solid var(--dp-green-dark);
    color: var(--dp-green-dark);
}

#dealplex-onboarding-form .dp-btn-review:hover {
    background: var(--dp-green);
    color: #fff;
    border-color: var(--dp-green);
}

@media (max-width: 640px) {
    #dp-review-modal .dp-review-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    #dp-review-modal .dp-review-modal-box {
        background: #1c2029;
    }

    #dp-review-modal .dp-review-step {
        background: #20242c;
        border-color: #333846;
    }

    #dealplex-onboarding-form .dp-btn-review {
        background: #1c2029;
        border-color: #3ddb95;
        color: #3ddb95;
    }
}

/* Print / "Download as PDF" — only the review content shows when printing */
@media print {
    body * {
        visibility: hidden !important;
    }

    #dp-review-modal,
    #dp-review-modal * {
        visibility: visible !important;
    }

    #dp-review-modal.dp-modal-overlay {
        position: absolute;
        inset: 0;
        background: #fff !important;
        backdrop-filter: none !important;
        padding: 0;
    }

    #dp-review-modal .dp-review-modal-box {
        box-shadow: none;
        max-height: none;
        width: 100%;
    }

    #dp-review-modal .dp-review-footer,
    #dp-review-modal .dp-review-edit-btn,
    #dp-review-modal .dp-addr-back {
        display: none !important;
    }
}

/* Fix: descenders (j, g, p, y) cut ho rahe the — input ko line-height + safe height do */
#dealplex-onboarding-form .dp-field.dp-floating-field>input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
#dealplex-onboarding-form .dp-field.dp-floating-field>select:not([multiple]) {
    height: 52px !important;
    min-height: 52px !important;
    line-height: 1.4 !important;
    padding-top: 18px !important;
    padding-bottom: 6px !important;
}

html,
body {
    height: auto !important;
    overflow: visible !important;
    position: static !important;
}

#dp-review-modal.dp-modal-overlay {
    position: static !important;
    display: block !important;
    padding: 0 !important;
}

#dp-review-modal .dp-review-modal-box {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}

#dp-review-modal .dp-review-body {
    overflow: visible !important;
}

/* ===== REVIEW MODAL — hard layout fix (centered popup) ===== */
body.dp-modal-open {
    overflow: hidden !important;
    position: static !important;
    width: auto !important;
}

#dp-review-modal.dp-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 100010 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    background: rgba(15, 20, 28, .6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: none !important;
}

#dp-review-modal.dp-modal-overlay.is-open {
    display: flex !important;
}

#dp-review-modal .dp-review-modal-box {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    width: min(720px, 100%) !important;
    max-height: calc(100vh - 32px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 18px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .28);
}

#dp-review-modal .dp-review-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

#dp-review-modal .dp-review-head,
#dp-review-modal .dp-review-subtext,
#dp-review-modal .dp-review-footer {
    flex: 0 0 auto;
}

/* modal ab <body> ke andar hai, isliye dark mode + close button styles yahan explicit */
#dp-review-modal .dp-addr-back {
    border: 0;
    background: #f1f3f6;
    color: #1f2a3d;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-color-scheme: dark) {
    #dp-review-modal .dp-review-modal-box {
        background: #1c2029 !important;
    }

    #dp-review-modal .dp-addr-back {
        background: #20242c;
        color: #eef1f8;
    }

    #dp-review-modal .dp-review-head h5 {
        color: #eef1f8;
    }

    #dp-review-modal .dp-review-edit-btn {
        background: #1c2029;
    }
}

@media (max-width: 640px) {
    #dp-review-modal.dp-modal-overlay {
        padding: 8px !important;
    }

    #dp-review-modal .dp-review-modal-box {
        padding: 16px;
        max-height: calc(100vh - 16px) !important;
    }

    #dp-review-modal .dp-review-footer {
        flex-direction: column-reverse;
    }

    #dp-review-modal .dp-review-footer .dp-btn {
        width: 100%;
        justify-content: center;
    }
}