.rp-mkt-open,.rp-mkt-submit,.rp-mkt-download,.rp-mkt-bale-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;background:#2271b1;color:#fff!important;text-decoration:none;padding:10px 18px;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;transition:.22s ease}.rp-mkt-open:hover,.rp-mkt-submit:hover,.rp-mkt-download:hover,.rp-mkt-bale-link:hover{background:#135e96;color:#fff!important;transform:translateY(-1px)}.rp-mkt-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.rp-mkt-modal.is-open{display:flex}.rp-mkt-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48);backdrop-filter:blur(6px)}.rp-mkt-dialog{position:relative;width:min(560px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.25);padding:24px;box-sizing:border-box;direction:rtl}.rp-mkt-close{position:absolute;top:10px;left:10px;width:34px;height:34px;border:0;border-radius:50%;background:#f0f0f1;color:#1d2327;font-size:24px;line-height:1;cursor:pointer}.rp-mkt-form-shell{text-align:right}.rp-mkt-logo{text-align:center;margin-bottom:10px}.rp-mkt-logo img{max-height:70px;max-width:170px;object-fit:contain}.rp-mkt-title{margin:0 0 6px;text-align:center;font-size:20px;line-height:1.6}.rp-mkt-subtitle{text-align:center;color:#646970;margin:0 0 18px;line-height:1.8}.rp-mkt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rp-mkt-field{display:grid;gap:6px;font-size:13px;font-weight:700;color:#3c434a}.rp-width-full{grid-column:1/-1}.rp-width-half{grid-column:auto}.rp-mkt-field b{color:#d63638}.rp-mkt-field input,.rp-mkt-field select,.rp-mkt-field textarea{width:100%;min-height:42px;border:1px solid #dcdcde;border-radius:12px;padding:8px 12px;box-sizing:border-box;background:#fff;font-size:14px}.rp-mkt-field textarea{min-height:92px;resize:vertical}.rp-mkt-check{display:flex!important;align-items:center;gap:8px;font-weight:500}.rp-mkt-check input{width:auto;min-height:auto}.rp-mkt-submit{width:100%;margin-top:14px;border-radius:12px;min-height:46px}.rp-mkt-message{font-size:13px;margin-top:10px;line-height:1.8}.rp-mkt-message.is-error{color:#b32d2e}.rp-mkt-message.is-ok{color:#008a20}.rp-mkt-success{margin-top:14px;padding:14px;border-radius:14px;background:#f0f6fc;text-align:center}.rp-mkt-success p{margin:0 0 12px}.rp-mkt-download,.rp-mkt-bale-link{border-radius:12px;margin:4px}.rp-mkt-bale-link{background:#00a86b}.rp-mkt-bale-link:hover{background:#008a55}.rp-mkt-hp{position:absolute!important;left:-9999px!important;opacity:0!important}.rp-mkt-dynamic{margin:12px 0;line-height:1.8}.rp-mkt-inline-form{max-width:620px;margin:0 auto;padding:20px;border:1px solid #e0e0e0;border-radius:18px;background:#fff}@media(max-width:640px){.rp-mkt-dialog{padding:18px 14px}.rp-mkt-fields{grid-template-columns:1fr}.rp-width-half{grid-column:1/-1}.rp-mkt-title{font-size:18px}}

/* RP v1.0.5 - modal overflow and close button alignment */
.rp-mkt-dialog{
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.rp-mkt-form-shell,
.rp-mkt-form,
.rp-mkt-fields,
.rp-mkt-field{
    max-width:100%!important;
    box-sizing:border-box!important;
}
.rp-mkt-field input,
.rp-mkt-field select,
.rp-mkt-field textarea{
    max-width:100%!important;
    box-sizing:border-box!important;
}
.rp-mkt-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    line-height:1!important;
    text-align:center!important;
    font-family:Arial, sans-serif!important;
}
@media(max-width:760px){
    .rp-mkt-fields{grid-template-columns:1fr!important;}
    .rp-width-half{grid-column:1/-1!important;}
}


/* RP v1.2.0 - membership links */
.rp-mkt-membership-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px;}
.rp-mkt-membership-link{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;margin:4px;padding:10px 16px;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;color:#fff!important;background:#2271b1;transition:.22s ease;}
.rp-mkt-membership-link:hover{color:#fff!important;transform:translateY(-1px);filter:brightness(.92);}
.rp-mkt-telegram-link{background:#229ed9;}
.rp-mkt-whatsapp-link{background:#25d366;}

/* RP v1.3.0 - messenger link icons */
.rp-mkt-membership-link img{width:20px;height:20px;object-fit:contain;border-radius:4px;}
.rp-mkt-rubika-link{background:#7c2bbd;}
.rp-mkt-rubika-link:hover{background:#641d9d;}

/* RP v1.4.9 - wizard steps */
.rp-mkt-wizard{display:block!important;}
.rp-mkt-wizard-progress{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 14px;direction:ltr;}
.rp-mkt-wizard-dot{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#eef1f5;color:#50575e;font-weight:800;font-size:12px;position:relative;}
.rp-mkt-wizard-dot.is-active{background:#2271b1;color:#fff;}
.rp-mkt-wizard-dot.is-done{background:#00a86b;color:#fff;}
.rp-mkt-wizard-step{display:none;}
.rp-mkt-wizard-step.is-active{display:block;}
.rp-mkt-step-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#f6f7f7;border:1px solid #dcdcde;}
.rp-mkt-step-heading strong{font-size:14px;color:#1d2327;}
.rp-mkt-step-heading small{font-size:12px;color:#646970;}
.rp-mkt-step-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.rp-mkt-wizard-actions{display:flex;align-items:center;gap:8px;margin-top:14px;}
.rp-mkt-step-next,.rp-mkt-step-prev{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;color:#fff!important;text-decoration:none;padding:10px 18px;font-size:14px;font-weight:800;line-height:1.4;cursor:pointer;transition:.22s ease;min-height:44px;}
.rp-mkt-step-next:hover,.rp-mkt-step-prev:hover{filter:brightness(.92);transform:translateY(-1px);}
.rp-mkt-wizard-actions .rp-mkt-submit{margin-top:0;flex:1;}
@media(max-width:640px){.rp-mkt-step-fields{grid-template-columns:1fr}.rp-mkt-wizard-actions{display:grid}.rp-mkt-step-heading{display:grid;text-align:center}}

/* RP v1.7.0 - captcha image */
.rp-mkt-captcha-image{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dcdcde;border-radius:10px;background:#fff;padding:6px;margin:4px 0 8px;}
.rp-mkt-captcha-image img{display:block;max-width:100%;height:auto;}

/* RP v1.7.3 - radio layout */
.rp-mkt-choice-group.rp-choice-vertical{display:grid;gap:8px;}
.rp-mkt-choice-group.rp-choice-horizontal{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;}

/* RP v1.8.0 - captcha refresh */
.rp-mkt-captcha-box{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #dcdcde;border-radius:12px;background:#fff;padding:8px;margin:4px 0 8px;}
.rp-mkt-refresh-captcha{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #c3c4c7;border-radius:10px;background:#f6f7f7;color:#1d2327;font-size:18px;line-height:1;cursor:pointer;transition:.2s ease;}
.rp-mkt-refresh-captcha:hover{border-color:#2271b1;color:#2271b1;background:#f0f6fc;}
.rp-mkt-refresh-captcha.is-loading{opacity:.65;cursor:wait;}
.rp-mkt-captcha-question{min-width:120px;text-align:center;font-size:18px;font-weight:800;letter-spacing:.5px;color:#1d2327;}
.rp-mkt-captcha .rp-mkt-captcha-image{margin:0;border:0;background:transparent;padding:0;}
.rp-mkt-captcha-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:stretch;gap:10px;min-width:0;}
.rp-mkt-captcha-row .rp-mkt-captcha-box{min-width:0;min-height:52px;margin:0;box-sizing:border-box;}
.rp-mkt-captcha-row>input[name="captcha_answer"]{min-width:0;min-height:52px;text-align:center;direction:ltr;}
.rp-mkt-captcha-row .rp-mkt-captcha-question{min-width:0;flex:1;}
@media(max-width:380px){.rp-mkt-captcha-row{grid-template-columns:minmax(0,1fr) minmax(88px,.7fr);gap:8px}.rp-mkt-captcha-row .rp-mkt-refresh-captcha{width:32px;height:32px;flex:0 0 32px}.rp-mkt-captcha-row .rp-mkt-captcha-question{font-size:16px}}

/* RP v1.8.3 - success action buttons layout and bale color */
.rp-mkt-success-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px;}
.rp-mkt-success-actions .rp-mkt-download,.rp-mkt-success-actions .rp-mkt-membership-link{margin:0;}
.rp-mkt-success-actions .rp-mkt-membership-links{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0;}
.rp-mkt-membership-link.rp-mkt-bale-link{background:#00a86b!important;}
.rp-mkt-membership-link.rp-mkt-bale-link:hover{background:#008a55!important;}
@media(max-width:640px){
  .rp-mkt-success-actions{flex-wrap:nowrap;overflow-x:auto;justify-content:center;gap:8px;}
  .rp-mkt-success-actions .rp-mkt-membership-links{display:contents;}
  .rp-mkt-success-actions .rp-mkt-download,.rp-mkt-success-actions .rp-mkt-membership-link{flex:1 1 0;min-width:0;white-space:nowrap;padding-inline:10px;font-size:13px;}
}

/* RP v1.8.4 - submit loading overlay */
.rp-mkt-form-shell{position:relative;}
.rp-mkt-form-shell.is-submitting > :not(.rp-mkt-submit-overlay){opacity:.72;pointer-events:none;transition:.18s ease;}
.rp-mkt-submit-overlay{display:none;position:absolute;inset:0;z-index:20;align-items:center;justify-content:center;flex-direction:column;gap:12px;border-radius:18px;background:rgba(255,255,255,.88);text-align:center;color:#1d2327;font-weight:800;}
.rp-mkt-form-shell.is-submitting .rp-mkt-submit-overlay{display:flex;}
.rp-mkt-spinner{width:52px;height:52px;border-radius:50%;border:4px solid rgba(34,113,177,.18);border-top-color:#2271b1;animation:rpMktSpin .78s linear infinite;}
.rp-mkt-submit-overlay-text{font-size:14px;line-height:1.8;}
@keyframes rpMktSpin{to{transform:rotate(360deg)}}

/* RP v1.9.3 - submit overlay covers whole dialog */
.rp-mkt-dialog.is-submitting{
    overflow:hidden;
}
.rp-mkt-dialog.is-submitting > :not(.rp-mkt-submit-overlay){
    filter:blur(3px);
    opacity:.38;
    pointer-events:none;
    transition:.18s ease;
}
.rp-mkt-dialog > .rp-mkt-submit-overlay{
    border-radius:20px;
}

/* RP v2.0.33 - keep the modal close control above all dialog content. */
.rp-mkt-dialog .rp-mkt-close{
    top:12px!important;
    left:12px!important;
    z-index:40!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    pointer-events:auto!important;
    touch-action:manipulation;
    font-size:28px!important;
    transition:background-color .16s ease,transform .16s ease;
}
.rp-mkt-dialog .rp-mkt-close:hover,
.rp-mkt-dialog .rp-mkt-close:focus-visible{
    background:#dcdcde!important;
    color:#000!important;
    transform:scale(1.06);
    outline:2px solid #2271b1;
    outline-offset:2px;
}

/* RP v2.0.34 - inherit explicit site dark-mode contracts, never OS preference. */
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-dialog,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-dialog{
    color-scheme:dark;
    background:#171e28;
    color:#e7edf5;
    box-shadow:0 24px 70px rgba(0,0,0,.58);
}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal :is(.rp-mkt-title,.rp-mkt-field),
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal :is(.rp-mkt-title,.rp-mkt-field){color:#f4f7fb;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-subtitle,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-subtitle{color:#b8c4d1;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal :is(input,select,textarea),
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal :is(input,select,textarea){background:#222c39;color:#f6f8fb;border-color:#4a596b;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal :is(input,textarea)::placeholder,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal :is(input,textarea)::placeholder{color:#aeb9c6;opacity:1;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal select option,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal select option{background:#222c39;color:#f6f8fb;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-success,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-success{background:#1c3144;color:#e7edf5;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-close,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-close{background:#2a3544;color:#f4f7fb;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-close:hover,
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-close:focus-visible,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-close:hover,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-close:focus-visible{background:#3a485a!important;color:#fff!important;}

/* RP v2.0.36 - modal logo source and alignment. */
.rp-mkt-dialog .rp-mkt-logo{display:flex!important;width:100%;margin:0 0 10px!important;direction:ltr;align-items:center;text-align:center!important;}
.rp-mkt-dialog .rp-mkt-logo img{max-width:100%!important;}
.rp-mkt-dialog .rp-mkt-logo img{width:var(--rp-mkt-logo-width-desktop,auto)!important;}
.rp-mkt-dialog .rp-mkt-logo-align-left{justify-content:flex-start!important;}
.rp-mkt-dialog .rp-mkt-logo-align-center{justify-content:center!important;}
.rp-mkt-dialog .rp-mkt-logo-align-right{justify-content:flex-end!important;}
.rp-mkt-dialog .rp-mkt-logo-dark{display:none!important;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-logo-light,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-logo-light{display:none!important;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark) .rp-mkt-modal .rp-mkt-logo-dark,
body:is(.rp-theme-color-preset-dark,.rp-theme-dark,.is-dark,.dark,.dark-mode) .rp-mkt-modal .rp-mkt-logo-dark{display:block!important;}
@media(max-width:640px){.rp-mkt-dialog .rp-mkt-logo img{width:var(--rp-mkt-logo-width-mobile,var(--rp-mkt-logo-width-desktop,auto))!important;}}

/* Modal labels stay deliberately light; titles and action buttons retain their hierarchy. */
.rp-mkt-modal label,
.rp-mkt-modal .rp-mkt-field,
.rp-mkt-modal .rp-mkt-check{font-weight:300!important;}

/* Keep all field labels and form text legible when a site explicitly enables dark mode. */
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark,body.rp-theme-color-preset-dark,body.rp-theme-dark,body.is-dark,body.dark,body.dark-mode) .rp-mkt-modal :is(label,.rp-mkt-field,.rp-mkt-check){color:#f4f7fb!important;opacity:1!important;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark,body.rp-theme-color-preset-dark,body.rp-theme-dark,body.is-dark,body.dark,body.dark-mode) .rp-mkt-modal :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){color:#f4f7fb!important;-webkit-text-fill-color:#f4f7fb!important;opacity:1!important;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark,body.rp-theme-color-preset-dark,body.rp-theme-dark,body.is-dark,body.dark,body.dark-mode) .rp-mkt-modal :is(input,textarea)::placeholder{color:#c7d2df!important;-webkit-text-fill-color:#c7d2df!important;opacity:1!important;}
.rp-mkt-content-styled{color:var(--rp-mkt-content-color-light,currentColor);}
.rp-mkt-open.rp-mkt-content-styled{color:var(--rp-mkt-content-color-light,#fff)!important;}
:is(html[data-rp-user-theme="dark"],html[data-rp-theme-mode="dark"],html[data-theme="dark"],html[data-color-scheme="dark"],html.dark,body.rp-theme-color-preset-dark,body.rp-theme-dark,body.is-dark,body.dark,body.dark-mode) .rp-mkt-content-styled{color:var(--rp-mkt-content-color-dark,var(--rp-mkt-content-color-light,currentColor))!important;}

/* RP v2.0.0 - field validation styles, wizard indicators and city dependency */
.rp-mkt-type-email input,
.rp-mkt-type-url input{direction:ltr;text-align:left;}
.rp-mkt-wizard-actions{justify-content:flex-start;direction:ltr;}
.rp-mkt-wizard-actions button{direction:rtl;}
.rp-mkt-wizard-progress.rp-indicator-line{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;direction:rtl;}
.rp-mkt-wizard-line{height:7px;border-radius:999px;background:#eef1f5;overflow:hidden;direction:ltr;}
.rp-mkt-wizard-line-fill{display:block;width:0;height:100%;background:#2271b1;border-radius:999px;transition:width .25s ease;}
.rp-mkt-wizard-page-label{font-size:12px;font-weight:800;color:#50575e;white-space:nowrap;}
@media(max-width:640px){.rp-mkt-wizard-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;}.rp-mkt-wizard-actions .rp-mkt-submit{flex:1 1 100%;}.rp-mkt-wizard-progress.rp-indicator-line{grid-template-columns:1fr;}}


/* RP v2.0.20 - submit button layout */
.rp-mkt-submit-wrap{display:flex;width:100%;margin-top:14px;}
.rp-mkt-submit-wrap .rp-mkt-submit{margin-top:0;}
.rp-mkt-submit-wrap-full .rp-mkt-submit{width:100%;}
.rp-mkt-submit-wrap-small .rp-mkt-submit{width:auto;min-width:140px;}
.rp-mkt-submit-align-right{justify-content:flex-start;}
.rp-mkt-submit-align-center{justify-content:center;}
.rp-mkt-submit-align-left{justify-content:flex-end;}
.rp-mkt-wizard-actions .rp-mkt-submit-wrap{flex:1 1 100%;margin-top:0;}
@media(max-width:640px){.rp-mkt-submit-wrap-small .rp-mkt-submit{min-width:120px;}.rp-mkt-wizard-actions .rp-mkt-submit-wrap-small .rp-mkt-submit{width:auto;}}


/* RP v2.0.22 - prevent inline Elementor form horizontal overflow */
.rp-mkt-inline-form,.rp-mkt-form-shell,.rp-mkt-fields,.rp-mkt-field{box-sizing:border-box;min-width:0;}
.rp-mkt-inline-form{width:100%;max-width:620px;overflow-x:hidden;}
.rp-mkt-inline-form .rp-mkt-fields{width:100%;}
.rp-mkt-inline-form .rp-mkt-field input,.rp-mkt-inline-form .rp-mkt-field select,.rp-mkt-inline-form .rp-mkt-field textarea{max-width:100%;min-width:0;}
.elementor-widget-rp_marketing_tools_form,.elementor-widget-rp_marketing_tools_form .elementor-widget-container{max-width:100%;overflow-x:hidden;box-sizing:border-box;}
