:root {
    --dpr-orange: #f68e1d;
    --dpr-yellow: #ffc20e;
    --dpr-ink: #231f20;
    --dpr-muted: #78716c;
    --dpr-line: #ebe7df;
    --dpr-soft: #fff8ec;
    --dpr-danger: #d73737;
}

.dpr-shortcode {
    display: flex;
    width: 100%;
    direction: rtl;
}

.dpr-shortcode-align-right {
    justify-content: flex-start;
}

.dpr-shortcode-align-center {
    justify-content: center;
}

.dpr-shortcode-align-left {
    justify-content: flex-end;
}

.dpr-shortcode .dpr-shortcode-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: 0 !important;
    border-radius: 48px !important;
    outline: none;
    background-color: var(--dpr-orange) !important;
    background-image: none !important;
    color: #fff !important;
    font-family: KalamehFaNum-Medium, Kalameh, Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    appearance: none;
    box-shadow: 0 9px 20px rgba(246, 142, 29, .24);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.dpr-shortcode .dpr-shortcode-button:hover,
.dpr-shortcode .dpr-shortcode-button:focus-visible {
    border: 0 !important;
    background-color: #e97d0a !important;
    color: #fff !important;
    box-shadow: 0 11px 24px rgba(246, 142, 29, .31);
    transform: translateY(-1px);
}

.dpr-shortcode .dpr-shortcode-button svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.dpr-lock,
html.dpr-lock body {
    overflow: hidden !important;
}

.dpr-shell,
.dpr-shell * {
    box-sizing: border-box;
}

.dpr-shell {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 22px;
    direction: rtl;
    font-family: KalamehFaNum-Regular, Kalameh, Tahoma, Arial, sans-serif;
    color: var(--dpr-ink);
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.dpr-shell.is-open {
    visibility: visible;
    opacity: 1;
}

.dpr-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(35, 31, 32, .66);
    backdrop-filter: blur(9px);
}

.dpr-dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 33%) minmax(0, 1fr);
    width: min(940px, 100%);
    max-height: min(720px, calc(100vh - 44px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 36px 90px rgba(35, 31, 32, .24);
    outline: none;
    transform: translateY(18px) scale(.985);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}

.dpr-shell.is-open .dpr-dialog {
    transform: translateY(0) scale(1);
}

#dpr-registration .dpr-close {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid var(--dpr-line) !important;
    border-radius: 50% !important;
    outline: none;
    background-color: #fff !important;
    background-image: none !important;
    color: #6e6863 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    appearance: none;
    cursor: pointer;
    transition: transform .2s ease, color .2s ease, border-color .2s ease;
}

#dpr-registration .dpr-close:hover,
#dpr-registration .dpr-close:focus-visible {
    color: var(--dpr-orange) !important;
    border-color: #f7bc7d !important;
    background-color: #fff8ec !important;
    transform: rotate(5deg);
}

#dpr-registration .dpr-close svg {
    display: block !important;
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

#dpr-registration .dpr-close svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

.dpr-brand-panel {
    position: relative;
    min-height: 650px;
    padding: 54px 34px;
    overflow: hidden;
    color: var(--dpr-ink);
    background:
        radial-gradient(circle at 5% 16%, rgba(255, 255, 255, .8) 0 3px, transparent 4px),
        radial-gradient(circle at 85% 72%, rgba(255, 255, 255, .75) 0 4px, transparent 5px),
        linear-gradient(148deg, #ffd44e 0%, var(--dpr-yellow) 46%, #ffad18 100%);
}

.dpr-brand-panel::after {
    content: "";
    position: absolute;
    right: -85px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border: 48px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

.dpr-brand-mark {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
}

.dpr-brand-mark svg {
    width: 100%;
    fill: #fff;
    stroke: var(--dpr-ink);
    stroke-width: 2;
    stroke-linejoin: round;
}

.dpr-brand-mark svg path:first-child {
    fill: rgba(255, 255, 255, .96);
}

.dpr-brand-kicker,
.dpr-brand-name {
    position: relative;
    z-index: 2;
    margin: 0;
}

.dpr-brand-kicker {
    font-size: 13px;
    opacity: .72;
}

.dpr-brand-name {
    font-family: KalamehFaNum-SemiBold, Kalameh, Tahoma, sans-serif;
    font-size: 23px;
    font-weight: 700;
}

.dpr-brand-copy {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 68px;
    display: flex;
    flex-direction: column;
    font-size: 22px;
    line-height: 1.65;
}

.dpr-brand-copy strong {
    font-family: KalamehFaNum-SemiBold, Kalameh, Tahoma, sans-serif;
    font-size: 30px;
}

.dpr-pencil {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 180px;
    border: 3px solid var(--dpr-ink);
    border-radius: 3px 3px 10px 10px;
    background: #fff;
    transform: rotate(42deg);
}

.dpr-pencil::before {
    content: "";
    position: absolute;
    top: -26px;
    left: -3px;
    border-right: 11px solid transparent;
    border-bottom: 25px solid var(--dpr-ink);
    border-left: 11px solid transparent;
}

.dpr-pencil-one {
    top: 238px;
    left: 42px;
}

.dpr-pencil-two {
    top: 284px;
    left: 88px;
    height: 130px;
    background: var(--dpr-orange);
    transform: rotate(42deg) scale(.7);
}

.dpr-orbit {
    position: absolute;
    border: 2px solid rgba(35, 31, 32, .34);
    border-radius: 50%;
}

.dpr-orbit::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
}

.dpr-orbit-one {
    top: 172px;
    right: -34px;
    width: 150px;
    height: 70px;
    transform: rotate(-28deg);
}

.dpr-orbit-one::after {
    top: 5px;
    left: 30px;
}

.dpr-orbit-two {
    right: 36px;
    bottom: 168px;
    width: 76px;
    height: 35px;
    transform: rotate(22deg);
}

.dpr-orbit-two::after {
    right: 9px;
    bottom: -2px;
}

.dpr-form-panel {
    max-height: min(720px, calc(100vh - 44px));
    padding: 42px 54px 34px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #e7dfd3 transparent;
}

.dpr-heading {
    padding-left: 32px;
}

.dpr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--dpr-orange);
    font-family: KalamehFaNum-Medium, Kalameh, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.dpr-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dpr-yellow);
    box-shadow: 0 0 0 4px #fff4cf;
}

.dpr-heading h2 {
    margin: 0 0 7px !important;
    color: var(--dpr-ink) !important;
    font-family: KalamehFaNum-SemiBold, Kalameh, Tahoma, sans-serif !important;
    font-size: clamp(23px, 3vw, 29px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.dpr-heading p {
    max-width: 590px;
    margin: 0;
    color: var(--dpr-muted);
    font-size: 13px;
    line-height: 1.9;
}

.dpr-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 24px 0 28px;
}

.dpr-progress-track {
    position: absolute;
    top: 16px;
    right: 16.66%;
    left: 16.66%;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: #efece7;
}

.dpr-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dpr-yellow), var(--dpr-orange));
    transition: width .35s ease;
}

.dpr-progress-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #aaa39b;
    font-size: 11px;
    transition: color .2s ease;
}

.dpr-progress-item > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #efece7;
    border-radius: 50%;
    background: #fff;
    font-family: KalamehFaNum-Medium, Tahoma, sans-serif;
    transition: all .25s ease;
}

.dpr-progress-item.is-active,
.dpr-progress-item.is-done {
    color: var(--dpr-ink);
}

.dpr-progress-item.is-active > span,
.dpr-progress-item.is-done > span {
    border-color: var(--dpr-yellow);
    background: var(--dpr-yellow);
    color: var(--dpr-ink);
    box-shadow: 0 5px 14px rgba(255, 194, 14, .27);
}

.dpr-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.dpr-step.is-active {
    animation: dpr-step-in .32s ease both;
}

@keyframes dpr-step-in {
    from { opacity: 0; transform: translateX(-9px); }
    to { opacity: 1; transform: translateX(0); }
}

.dpr-step legend {
    width: 100%;
    margin: 0;
    color: var(--dpr-ink);
    font-family: KalamehFaNum-SemiBold, Kalameh, Tahoma, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.dpr-step-hint {
    margin: 3px 0 17px;
    color: #918a84;
    font-size: 11px;
}

.dpr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
}

.dpr-field {
    margin-bottom: 13px;
}

.dpr-field-wide {
    grid-column: 1 / -1;
}

.dpr-field > label {
    display: block;
    margin-bottom: 6px;
    color: #4c4744;
    font-size: 12px;
    font-weight: 600;
}

.dpr-field > label span {
    color: var(--dpr-orange);
}

.dpr-control {
    position: relative;
}

.dpr-control > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 13px;
    width: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: #a19a94;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.dpr-control-textarea > svg {
    top: 16px;
    transform: none;
}

.dpr-shell input:not([type="checkbox"]),
.dpr-shell textarea,
.dpr-shell select {
    width: 100%;
    min-height: 45px;
    margin: 0;
    padding: 10px 42px 10px 13px;
    border: 1px solid var(--dpr-line);
    border-radius: 12px;
    outline: none;
    background: #fcfbf9;
    color: var(--dpr-ink);
    font: inherit;
    font-size: 12px;
    line-height: 1.7;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.dpr-shell textarea {
    min-height: 76px;
    resize: vertical;
}

.dpr-shell select {
    appearance: none;
    cursor: pointer;
}

.dpr-control-select::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 7px;
    height: 7px;
    border-right: 1.6px solid #8f8881;
    border-bottom: 1.6px solid #8f8881;
    transform: translateY(-68%) rotate(45deg);
    pointer-events: none;
}

.dpr-shell input:focus,
.dpr-shell textarea:focus,
.dpr-shell select:focus {
    border-color: var(--dpr-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(246, 142, 29, .1);
}

.dpr-shell input::placeholder,
.dpr-shell textarea::placeholder {
    color: #b7b0aa;
}

.dpr-field.has-error input,
.dpr-field.has-error textarea,
.dpr-field.has-error select,
.dpr-consent.has-error {
    border-color: var(--dpr-danger);
    box-shadow: 0 0 0 3px rgba(215, 55, 55, .08);
}

.dpr-error {
    display: block;
    min-height: 16px;
    margin-top: 3px;
    color: var(--dpr-danger);
    font-size: 10px;
}

.dpr-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.dpr-alert {
    margin: 0 0 14px;
    padding: 10px 13px;
    border: 1px solid #facaca;
    border-radius: 10px;
    background: #fff4f4;
    color: #a32121;
    font-size: 11px;
}

.dpr-summary {
    margin: 5px 0 13px;
    padding: 13px 15px;
    border: 1px dashed #e9d6b7;
    border-radius: 14px;
    background: var(--dpr-soft);
}

.dpr-summary-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
}

.dpr-summary-title button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dpr-orange);
    font: inherit;
    cursor: pointer;
}

.dpr-summary dl,
.dpr-summary dl > div {
    margin: 0;
}

.dpr-summary dl > div {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 8px;
    padding: 4px 0;
    font-size: 10px;
}

.dpr-summary dt {
    color: #8a8179;
}

.dpr-summary dd {
    margin: 0;
    color: #3d3835;
}

.dpr-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #5e5752;
    font-size: 10px;
    cursor: pointer;
}

.dpr-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dpr-checkmark {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #d4cec7;
    border-radius: 6px;
    background: #fff;
    transition: all .2s ease;
}

.dpr-checkmark svg {
    width: 13px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.dpr-consent input:checked + .dpr-checkmark {
    border-color: var(--dpr-orange);
    background: var(--dpr-orange);
}

.dpr-consent input:checked + .dpr-checkmark svg {
    opacity: 1;
}

.dpr-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 16px;
}

#dpr-registration .dpr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 122px;
    min-height: 44px;
    padding: 10px 20px;
    border: 0 !important;
    border-radius: 48px !important;
    outline: none;
    background-image: none !important;
    font: inherit;
    font-family: KalamehFaNum-Medium, Kalameh, Tahoma, sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    appearance: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

#dpr-registration .dpr-button:hover {
    transform: translateY(-1px);
}

#dpr-registration .dpr-button svg {
    display: block !important;
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#dpr-registration .dpr-button svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

#dpr-registration .dpr-button-primary {
    border-color: transparent !important;
    background-color: var(--dpr-orange) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(246, 142, 29, .24);
}

#dpr-registration .dpr-button-primary:hover,
#dpr-registration .dpr-button-primary:focus-visible {
    border-color: transparent !important;
    background-color: #e97d0a !important;
    color: #fff !important;
    box-shadow: 0 11px 24px rgba(246, 142, 29, .31);
}

#dpr-registration .dpr-button-secondary {
    border: 1px solid #e7e1da !important;
    background-color: #f4f1ed !important;
    color: #5f5853 !important;
}

#dpr-registration .dpr-button[hidden] {
    display: none;
}

.dpr-submit .dpr-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dpr-spin .7s linear infinite;
}

.dpr-submit.is-loading .dpr-send-icon {
    display: none;
}

.dpr-submit.is-loading .dpr-spinner {
    display: inline-block;
}

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

.dpr-success {
    max-width: 540px;
    margin: 0 auto;
    padding: 62px 8px 30px;
    text-align: center;
    animation: dpr-step-in .4s ease both;
}

.dpr-success-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 19px;
    border-radius: 30px;
    background: linear-gradient(145deg, var(--dpr-yellow), var(--dpr-orange));
    box-shadow: 0 18px 35px rgba(246, 142, 29, .25);
    transform: rotate(5deg);
}

.dpr-success-icon::before,
.dpr-success-icon::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--dpr-yellow);
}

.dpr-success-icon::before {
    top: -13px;
    right: -22px;
    width: 9px;
    height: 9px;
}

.dpr-success-icon::after {
    bottom: 0;
    left: -28px;
    width: 6px;
    height: 6px;
}

.dpr-success-icon svg {
    width: 58px;
    fill: none;
    stroke: #fff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-5deg);
}

.dpr-success-kicker {
    color: var(--dpr-orange);
    font-size: 12px;
    font-weight: 700;
}

.dpr-success h3 {
    margin: 4px 0 8px;
    color: var(--dpr-ink);
    font-family: KalamehFaNum-SemiBold, Kalameh, Tahoma, sans-serif;
    font-size: 27px;
    line-height: 1.5;
}

.dpr-success p {
    margin: 0 auto 18px;
    color: var(--dpr-muted);
    font-size: 12px;
    line-height: 2;
}

.dpr-success p strong {
    color: var(--dpr-ink);
}

.dpr-tracking {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px dashed #edc487;
    border-radius: 10px;
    background: var(--dpr-soft);
    color: #8b7354;
    font-size: 10px;
}

.dpr-tracking strong {
    direction: ltr;
    color: var(--dpr-ink);
    font-size: 12px;
}

#dpr-registration .dpr-success .dpr-button {
    display: flex;
    width: max-content;
    min-width: 148px;
    margin: 0 auto;
}

.dpr-shell [hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .dpr-shell {
        align-items: end;
        padding: 0;
    }

    .dpr-dialog {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: calc(100dvh - 16px);
        border-radius: 26px 26px 0 0;
    }

    .dpr-brand-panel {
        display: none;
    }

    .dpr-form-panel {
        max-height: calc(100dvh - 16px);
        padding: 35px 22px 24px;
    }

    .dpr-heading {
        padding-left: 34px;
    }

    #dpr-registration .dpr-close {
        top: 15px;
        left: 15px;
    }

    .dpr-progress {
        margin: 21px 0 25px;
    }

    .dpr-grid {
        grid-template-columns: 1fr;
    }

    .dpr-actions {
        position: sticky;
        bottom: -24px;
        margin: 15px -22px -24px;
        padding: 13px 22px calc(15px + env(safe-area-inset-bottom));
        border-top: 1px solid #f0ece7;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(12px);
    }

    #dpr-registration .dpr-button {
        flex: 1 1 auto;
        min-width: 0;
    }

    .dpr-success {
        padding-top: 55px;
    }
}

@media (max-width: 380px) {
    .dpr-form-panel {
        padding-right: 17px;
        padding-left: 17px;
    }

    .dpr-actions {
        margin-right: -17px;
        margin-left: -17px;
        padding-right: 17px;
        padding-left: 17px;
    }

    .dpr-heading h2 {
        font-size: 21px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dpr-shell *,
    .dpr-shell *::before,
    .dpr-shell *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
