/* MALBORZ — post-registration experience 1.3.0 */
.mal-ux-hero:after { display:none!important; }
#malborz-registration-dialog.mal-ux-success-mode {
  height:min(94dvh,910px); max-height:94dvh;
  background:#f7f9fc;
}
#malborz-registration-dialog.mal-ux-success-mode .mal-p-head {
  background:#17243e; border-bottom:3px solid #ffd52a;
}
#malborz-registration-dialog.mal-ux-success-mode .mal-p-frame-wrap {
  overflow:auto; overscroll-behavior:contain; background:#f7f9fc;
  min-height:0; flex:1 1 auto;
}
#malborz-registration-dialog.mal-ux-success-mode .mal-p-frame,
#malborz-registration-dialog.mal-ux-success-mode .mal-p-loader {display:none!important}
.mal-ux-success, .mal-ux-success * {box-sizing:border-box}
.mal-ux-success {
  --mal-ux-navy:#17243e; --mal-ux-navy-dark:#101c33;
  --mal-ux-yellow:#ffd52a; --mal-ux-blue:#2a4cb6;
  --mal-ux-muted:#596983;
  direction:rtl; text-align:right; color:var(--mal-ux-navy);
  background:#f7f9fc; font-family:shabnam,Estedad,Vazirmatn,Tahoma,sans-serif;
  font-size:15px; line-height:1.9; max-width:980px; width:100%; margin:0 auto;
  animation:mal-ux-appear .3s ease-out both;
}
.mal-ux-success a {text-decoration:none!important}
.mal-ux-success button,.mal-ux-success input {font:inherit}
.mal-ux-success h2,.mal-ux-success h3,.mal-ux-success p {margin:0}
.mal-ux-hero {
  position:relative; padding:26px clamp(20px,5vw,54px) 30px;
  background:linear-gradient(125deg,#fff 0%,#f0f5fd 64%,#e8f1ff 100%);
  border-bottom:1px solid #dce5f2;
}
.mal-ux-hero:after {
  content:""; position:absolute; left:20px; top:24px; height:70px; width:70px;
  border:1px solid rgba(42,76,182,.12); border-radius:50%; pointer-events:none;
}
.mal-ux-logo {
  display:block; width:190px; height:74px; max-width:60%;
  object-fit:contain; object-position:right center; margin:0 0 8px;
}
.mal-ux-status {
  display:inline-flex; gap:9px; align-items:center; padding:3px 11px 3px 15px;
  background:#e4f7ed; color:#0d6944; font-size:12px; font-weight:800;
  border:1px solid #aee4c8; border-radius:30px; margin:0 0 13px;
}
.mal-ux-status>span {
  display:inline-grid; place-items:center; color:white; background:#15805a;
  border-radius:50%; font-size:14px; height:23px; width:23px; line-height:1;
}
.mal-ux-title {
  color:#152846!important; font-size:clamp(21px,2.8vw,29px)!important;
  font-weight:900!important; line-height:1.55!important; letter-spacing:-.4px;
  margin-bottom:10px!important;
}
.mal-ux-hero p {font-size:14px; max-width:770px; color:#3e506f; line-height:2}
.mal-ux-body {padding:22px clamp(16px,3.6vw,40px) 26px}
.mal-ux-success section {margin:0 0 19px}
.mal-ux-step {
  font-family:Arial,shabnam,sans-serif; font-size:10px; letter-spacing:.7px;
  font-weight:800; color:#526998; margin-bottom:7px; text-transform:uppercase;
}
.mal-ux-success h3 {
  color:var(--mal-ux-navy)!important; font-size:18px!important;
  font-weight:900!important; line-height:1.55!important; margin:0 0 9px!important;
}
.mal-ux-mail {
  border:2px solid #f1cc35; border-radius:18px;
  background:linear-gradient(130deg,#fff9e0,#fffef9 46%,#fff);
  box-shadow:0 12px 35px rgba(114,92,14,.08); padding:22px 24px 18px;
}
.mal-ux-mail h3 {font-size:22px!important}
.mal-ux-mail>p {font-size:14px; color:#344663; line-height:2}
.mal-ux-email-address {color:#536581!important; font-size:12px!important; direction:ltr; text-align:right; margin-top:9px!important; overflow-wrap:anywhere}
.mal-ux-main-link {
  display:inline-flex; justify-content:center; align-items:center; gap:10px;
  border-radius:11px; background:#ffd52a; color:#17243e!important;
  border:1px solid #e7b913; min-height:48px; font-size:15px; font-weight:900;
  padding:10px 20px; box-shadow:0 5px 0 #e0b21a; margin-top:17px;
  transition:background .15s,transform .15s;
}
.mal-ux-main-link:hover {background:#ffe36a; transform:translateY(-1px)}
.mal-ux-provider-list {display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px; margin-top:17px; font-size:12px}
.mal-ux-provider-list>span {color:#69758b}
.mal-ux-provider-list a {
  font-family:Arial,sans-serif; font-size:12px; color:#2a4cb6!important;
  text-decoration:underline!important; text-underline-offset:3px;
}
.mal-ux-provider-help {font-size:12px!important;color:#6c5b35;margin:8px 0 0!important}
.mal-ux-timer {
  background:#fff; border:1px solid #efdfab; border-radius:9px;
  font-size:12px; padding:10px 12px; margin-top:17px; color:#73582a;
}
.mal-ux-timer strong {color:#9a6023}
.mal-ux-note {margin-top:11px; font-size:12px; color:#68768c; line-height:1.9}
.mal-ux-discover,.mal-ux-growth {
  background:#fff; border:1px solid #dce5f1; border-radius:18px;
  padding:22px 24px; box-shadow:0 5px 20px rgba(24,47,89,.035);
}
.mal-ux-search-form {display:flex;align-items:stretch;gap:8px; margin:14px 0 0!important}
.mal-ux-search-form input {
  min-height:48px; min-width:0; flex:1; width:100%; border-radius:10px!important;
  background:#f8fafc!important; border:1px solid #cbd6e8!important;
  box-shadow:none!important; padding:10px 15px!important; color:#17243e!important;
  font-size:14px; text-align:right;
}
.mal-ux-search-form button {
  min-height:48px; background:#17243e!important; color:#fff!important;
  border:none!important; border-radius:10px!important; padding:9px 20px;
  font-size:14px; font-weight:800; cursor:pointer; white-space:nowrap; margin:0;
}
.mal-ux-search-form button:hover {background:#2a4cb6!important}
.mal-ux-plans {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}
.mal-ux-plan {
  min-width:0; display:flex; flex-direction:column; gap:4px;
  padding:17px 18px; background:#f4f7fd; border:1px solid #ccd9eb;
  border-radius:14px; color:#17243e!important; transition:transform .18s,border-color .18s,box-shadow .18s;
}
.mal-ux-plan:hover {transform:translateY(-2px);border-color:#8aa9e3;box-shadow:0 10px 25px rgba(22,48,101,.09)}
.mal-ux-tag {align-self:flex-start;border-radius:20px;background:#dce8ff;color:#24479e;line-height:1.6;padding:2px 10px;font-size:10px;font-family:Arial,sans-serif;font-weight:800;letter-spacing:1px}
.mal-ux-plan strong {font-size:17px;font-weight:900}
.mal-ux-plan small {color:#66768a;font-size:12px;line-height:1.8;min-height:42px}
.mal-ux-price {font-size:15px;font-weight:900;color:#183f94}
.mal-ux-more {font-size:12px;color:#2a4cb6;margin-top:5px;font-weight:800}
.mal-ux-plan-vip {background:#17243e;border-color:#17243e;color:#fff!important}
.mal-ux-plan-vip .mal-ux-tag {background:#ffd52a;color:#17243e}
.mal-ux-plan-vip small {color:#dae3f2}
.mal-ux-plan-vip .mal-ux-price {color:#ffe16a}
.mal-ux-plan-vip .mal-ux-more {color:#fcd84a}
.mal-ux-ad-link {
  display:flex;align-items:center;gap:13px; padding:14px 16px;
  background:#ecf8f7; color:#173c4e!important; border:1px solid #b9dcdb;
  border-radius:12px; font-size:14px; margin-bottom:14px;
}
.mal-ux-ad-link>span:first-child {display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#c9ece6;font-size:24px}
.mal-ux-ad-link>span:nth-child(2) {flex:1;display:flex;flex-direction:column;gap:2px}
.mal-ux-ad-link small {font-size:11px;color:#496d72}
.mal-ux-webzun {padding:14px 15px 12px;border-radius:11px;border:1px dashed #bdcbe1;background:#fbfcff;color:#546680;font-size:12px}
.mal-ux-webzun>span {font-size:10px;color:#7488a5;font-weight:800;letter-spacing:.6px}
.mal-ux-webzun p {font-size:12px;line-height:2;margin:3px 0 4px}
.mal-ux-webzun p strong {color:#1c375e}
.mal-ux-webzun a {color:#284caf!important;font-size:12px;font-weight:800}
.mal-ux-bottom-close {
  display:block; width:100%; min-height:48px; border-radius:11px!important;
  border:1px solid #cad3df!important; color:#223653!important;
  background:#fff!important; font-weight:800; padding:9px 18px; cursor:pointer;
}
.mal-ux-bottom-close:hover {background:#f0f4fa!important}
.mal-ux-success :is(a,button,input):focus-visible {
  outline:3px solid #315dcc!important;outline-offset:3px!important;
}
.mal-ux-visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes mal-ux-appear {from {opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:680px) {
  #malborz-registration-dialog.mal-ux-success-mode {height:100dvh;max-height:100dvh;width:100vw;border-radius:0}
  #malborz-registration-dialog.mal-ux-success-mode .mal-p-head {padding:12px!important}
  #malborz-registration-dialog.mal-ux-success-mode .mal-p-heading {font-size:14px!important}
  .mal-ux-hero {padding:20px 17px 24px}
  .mal-ux-logo {height:58px;width:160px}
  .mal-ux-title {font-size:21px!important}
  .mal-ux-body {padding:15px 12px 24px}
  .mal-ux-mail,.mal-ux-discover,.mal-ux-growth {padding:16px 14px;border-radius:14px}
  .mal-ux-plans {grid-template-columns:1fr;gap:10px}
  .mal-ux-plan small {min-height:0}
  .mal-ux-search-form {flex-direction:column}
  .mal-ux-main-link {display:flex;width:100%;padding:11px 10px}
  .mal-ux-search-form button {width:100%}
}
@media (prefers-reduced-motion:reduce) {
  .mal-ux-success {animation:none}
  .mal-ux-success * {transition:none!important;scroll-behavior:auto!important}
}

/* Hide Forminator fields on the direct-page success screen (including preview). */
body.mal-ux-direct-success-mode #forminator-module-2004 { display:none!important; }
body.mal-ux-direct-success-mode .mal-v2-register > :not(.mal-ux-success) { display:none!important; }
body.mal-ux-direct-success-mode .mal-v2-register { max-width:980px!important; padding:15px!important; }
