/* =========================
   0) TOKENS (safe)
========================== */
:root{
  --primary:#f97316;
  --primary-dark:#ea580c;
  --primary-soft:rgba(249,115,22,.12);

  --border:#e5e7eb;
  --border-soft:#edf0f5;

  --text:#111827;
  --text-muted:#6b7280;

  --radius:12px;
  --radius-sm:8px;

  --shadow-sm:0 4px 12px rgba(0,0,0,.05);
  --shadow:0 12px 32px rgba(0,0,0,.08);

  --ease:cubic-bezier(.2,.8,.2,1);
}

/* =========================
   1) AUTH LAYOUT (BS3 SAFE)
========================== */
html,body{ width:100%; overflow-x:hidden; }
.pp-layout{ display:block; }
.navbar{ z-index:1105; } /* keep navbar above sidebar */

/* =========================
   2) SIDEBAR (Cute + Premium) ✅ FIXED (no dropdown clipping)
========================== */
.pp-sidebar{
  position:fixed;
  top:50px; /* BS3 navbar height */
  left:0;
  width:240px;
  height:calc(100vh - 50px);

  background:linear-gradient(180deg,#0b1220 0%, #0f172a 100%);
  border-right:1px solid rgba(255,255,255,.08);

  /* ✅ IMPORTANT: keep dropdowns from being clipped */
  overflow:hidden;

  z-index:1100;
  -webkit-overflow-scrolling:touch;
  box-shadow:0 18px 55px rgba(0,0,0,.35);
}

/* ✅ Scroll only inside a safe wrapper (works even if you don't add it) */
.pp-sidebar-scroll{
  height:100%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:14px;
}

/* If you didn't add .pp-sidebar-scroll in HTML, allow sidebar itself to scroll */
.pp-sidebar:not(:has(.pp-sidebar-scroll)){
  overflow:auto;
}

/* cute scrollbar (for scroll wrapper + fallback sidebar) */
.pp-sidebar::-webkit-scrollbar,
.pp-sidebar-scroll::-webkit-scrollbar{ width:10px; }

.pp-sidebar::-webkit-scrollbar-thumb,
.pp-sidebar-scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.12);
  border-radius:10px;
}
.pp-sidebar::-webkit-scrollbar-thumb:hover,
.pp-sidebar-scroll::-webkit-scrollbar-thumb:hover{ background:rgba(255,255,255,.18); }

/* main */
.pp-main{
  margin-left:240px;
  padding:30px;
  min-height:calc(100vh - 50px);
  max-width:100%;
  overflow-x:hidden;
}

/* =========================
   3) SIDEBAR TOP (Balance + Quick)
========================== */
.pp-side-top{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}

.pp-side-balance{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px;
  margin-bottom:10px;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

.pp-side-balance-btn{
  display:block;
  text-decoration:none !important;
  padding:10px 10px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(249,115,22,.22), rgba(250,204,21,.14));
  border:1px solid rgba(249,115,22,.28);
  color:#fff !important;
  line-height:1.2;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pp-side-balance-btn:hover{
  background:linear-gradient(135deg, rgba(249,115,22,.28), rgba(250,204,21,.18));
  color:#fff !important;
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(249,115,22,.12);
}
.pp-side-balance-btn i{ margin-right:8px; opacity:.95; }
.pp-side-balance-amount{
  font-weight:800;
  font-size:14px;
  display:inline-block;
  vertical-align:middle;
  letter-spacing:.2px;
}

/* quick buttons */
.pp-side-quick{
  display:table;
  width:100%;
  table-layout:fixed;
  border-spacing:8px 0;
}
.pp-quick-btn{
  display:table-cell;
  width:50%;
  text-align:center;
  padding:10px 8px;
  border-radius:14px;
  text-decoration:none !important;
  color:#fff !important;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.pp-quick-btn:hover{
  background:rgba(255,255,255,.10);
  color:#fff !important;
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(0,0,0,.22);
}
.pp-quick-btn i{
  font-size:25px;
  margin-right:6px;
  opacity:.95;
}
.pp-quick-btn span{
  font-size:12px;
  font-weight:800;
  line-height:1;
  letter-spacing:.2px;
}

/* sidebar dropdown (safe) */
.pp-sidebar .dropdown-menu{
  border-radius:12px;
  overflow:hidden;
  margin-top:8px;
  box-shadow:0 18px 42px rgba(0,0,0,.35);
}
.pp-sidebar .dropdown-menu > li > a{ padding:9px 12px; }

/* =========================
   4) SIDEBAR NAV (Cute vibe)
========================== */
.pp-side-nav{ margin:0; padding:10px 0 14px; list-style:none; }

.pp-side-nav > li > a{
  color:rgba(255,255,255,.88);
  padding:11px 14px;
  display:block;
  text-decoration:none !important;
  border-radius:12px;
  margin:4px 10px;
  transition:background .18s ease, transform .18s ease, color .18s ease, box-shadow .18s ease;
  position:relative;
}

.pp-side-nav > li > a:before{
  content:"";
  position:absolute;
  left:-10px;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:999px;
  background:transparent;
}

.pp-side-nav > li > a i{
  width:18px;
  text-align:center;
  margin-right:10px;
  opacity:.95;
}

.pp-side-nav > li > a:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
  transform:translateX(2px);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.pp-side-nav > li.active > a{
  background:linear-gradient(135deg, rgba(249,115,22,.22), rgba(249,115,22,.12));
  color:#fff;
  box-shadow:0 14px 30px rgba(249,115,22,.12);
}
.pp-side-nav > li.active > a:before{
  background:linear-gradient(180deg,#f97316,#facc15);
}

/* =========================
   5) NAVBAR LOGO POLISH
========================== */
.navbar-brand img{ max-height:50px; width:auto; margin-top:-4px; }

/* =====================================================
   SECTION-ONLY CSS (Bootstrap 3.3.7 SAFE)
===================================================== */

/* =========================
   A) SECTION HELPERS
========================== */
.section-padding{ padding:90px 0; }
.mb-40{ margin-bottom:48px; }

.section-desc,
.section-subtitle{
  max-width:760px;
  margin:0 auto;
  font-size:15px;
  color:var(--text-muted);
  line-height:1.75;
}

.section-padding h2{
  font-size:30px;
  font-weight:900;
  letter-spacing:-.02em;
  color:var(--text);
  margin:0 0 10px;
}

/* ✅ safer: only first-level cols, no nested grid surprises */
.section-padding > .container > .row > [class*="col-"]{ margin-bottom:30px; }

/* =========================
   B) HERO + AUTH ✅ FIXED (no flex on .row)
========================== */
.hero-auth{
  background:#e4e3e3;
  padding:90px 0;
  overflow:hidden;
}

.hero-left{ color:#000; }

.hero-title{
  font-size:60px;
  font-weight:900;
  line-height:1.12;
  margin:0 0 10px;
  color:#000;
  letter-spacing:-.02em;

  /* desktop single line */
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.hero-auth .Sub-title{
  margin:0 0 14px;
  font-size:22px;
  font-weight:900;
  color:#111;
  letter-spacing:-.01em;
  opacity:.95;
}

.hero-text{
  font-size:16px;
  line-height:1.75;
  max-width:540px;
  margin:0 0 26px;
  color:#000;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.hero-login-form{ margin-top:6px; }

.hero-input{
  height:46px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(17,24,39,.18);
  background:#fff;
  font-size:14px;
  color:#111827;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  transition:border-color .18s var(--ease),
             box-shadow .18s var(--ease),
             transform .18s var(--ease);
}
.hero-input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px var(--primary-soft), 0 18px 40px rgba(0,0,0,.10);
  transform:translateY(-1px);
}

.hero-options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:14px 0;
  font-size:13px;
}

.hero-options .remember{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#111;
  font-weight:900;
}

.hero-link{
  color:#111;
  font-weight:900;
  opacity:.9;
  transition:opacity .18s var(--ease), color .18s var(--ease);
}
.hero-link:hover{
  opacity:1;
  color:var(--primary);
  text-decoration:underline;
}

.hero-btn{
  background:#fff;
  border:1px solid rgba(17,24,39,.12);
  color:#111;
  font-weight:900;
  padding:12px 14px;
  border-radius:var(--radius-sm);
  box-shadow:0 16px 36px rgba(0,0,0,.10);
  transition:transform .18s var(--ease),
             box-shadow .18s var(--ease),
             background .18s var(--ease);
}
.hero-btn:hover{
  background:#f8fafc;
  transform:translateY(-1px);
  box-shadow:0 22px 55px rgba(0,0,0,.14);
}

.hero-google{ margin-top:15px; }

.hero-signup{
  margin-top:12px;
  font-size:13px;
  color:#111;
}
.hero-signup a{
  color:#111;
  font-weight:900;
  text-decoration:underline;
}
.hero-signup a:hover{ color:var(--primary); }

.hero-right{ text-align:center; }
.hero-image-box{ display:flex; justify-content:center; }
.hero-image-box img{
  max-width:86%;
  filter:drop-shadow(0 22px 55px rgba(0,0,0,.14));
}

/* RTL helper */
.rtl-form{ direction:rtl; text-align:right; }

/* =========================
   C) AUTH TEXT SECTION
========================== */
.auth-info .well{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  padding:22px 20px;
  line-height:1.8;
  color:var(--text-muted);
}

/* =========================
   D) COUNTERS ✅ FIXED (no float clashes)
========================== */
.counter-section{ background:#fff; }

.counter-row{
  display:flex;
  flex-wrap:wrap;
  margin-left:-15px;  /* keep BS3 gutter feel */
  margin-right:-15px; /* keep BS3 gutter feel */
}
.counter-row > [class*="col-"]{
  display:flex;
  padding-left:15px;
  padding-right:15px;
}

.counter-box{
  width:100%;
  background:#fff;
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  padding:34px 20px;
  text-align:center;
  box-shadow:0 14px 35px rgba(0,0,0,.06);
  transition:transform .18s var(--ease),
             box-shadow .18s var(--ease),
             border-color .18s var(--ease);
}
.counter-box:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 60px rgba(0,0,0,.12);
  border-color:rgba(249,115,22,.35);
}

.counter-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:24px;
  margin:0 auto 18px;
  background:linear-gradient(135deg,#f97316,#facc15);
  box-shadow:0 12px 28px rgba(249,115,22,.24);
}

.counter-box h3{
  font-size:34px;
  font-weight:900;
  color:#111827;
  margin:0 0 6px;
  letter-spacing:-.02em;
}
.counter-box p{
  font-size:14px;
  font-weight:900;
  color:#6b7280;
  margin:0;
}

/* =========================
   E) BORDER-BOX SECTIONS
========================== */
.row.flex-row{ display:flex; flex-wrap:wrap; }
.row.flex-row > [class*="col-"]{ display:flex; }

.border-box{
  position:relative;
  width:100%;
  background:#fff;
  border-radius:var(--radius);
  padding:32px 26px;
  border:1px solid var(--border-soft);
  box-shadow:0 14px 35px rgba(0,0,0,.06);
  transition:transform .18s var(--ease),
             box-shadow .18s var(--ease),
             border-color .18s var(--ease);
  overflow:hidden;
}

.border-box:before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#f97316,#facc15);
}

.border-box:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 70px rgba(0,0,0,.12);
  border-color:rgba(249,115,22,.35);
}

.border-box h4{
  font-size:18px;
  font-weight:900;
  margin:0 0 10px;
  color:#111827;
  letter-spacing:-.01em;
}

.border-box p{
  font-size:14px;
  line-height:1.75;
  color:#6b7280;
  margin:0;
}

.box-icon{
  width:54px;
  height:54px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:22px;
  margin:0 0 18px;
  background:linear-gradient(135deg,#f97316,#facc15);
  box-shadow:0 12px 28px rgba(249,115,22,.22);
}

/* icon polish */
.border-box .fab,
.border-box .fa{
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.10));
}

/* =========================
   F) SNIPPETS BOX
========================== */
.pp-snippets .pp-snippets-box{ padding:26px 22px; }
.pp-snippets .pp-snippets-box p{
  font-size:14px;
  line-height:1.85;
  color:#475569;
  margin:0 0 14px;
}
.pp-snippets .pp-snippets-box p:last-child{ margin-bottom:0; }

/* =========================
   G) FAQ
========================== */
.faq-section .section-desc{ margin-bottom:40px; }

.faq-panel{
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  margin-bottom:16px;
  box-shadow:0 14px 35px rgba(0,0,0,.05);
  overflow:hidden;
  background:#fff;
}

.faq-panel .panel-heading{
  background:#fff;
  padding:16px 18px;
  border-bottom:1px solid var(--border-soft);
}

.faq-panel .panel-title a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:900;
  color:#111827;
  text-decoration:none !important;
  gap:12px;
}
.faq-panel .panel-title a:hover{ color:var(--primary); }

.faq-panel .panel-body{
  padding:18px 18px;
  color:#6b7280;
  line-height:1.75;
}

.faq-icon{
  width:30px;
  height:30px;
  border-radius:999px;
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  box-shadow:0 12px 26px rgba(249,115,22,.20);
}
.faq-icon i{ font-size:12px; }

/* 2-column desktop FAQ */
@media (min-width:992px){
  .faq-accordion{
    column-count:2;
    column-gap:30px;
  }
  .faq-accordion .faq-panel{
    display:inline-block;
    width:100%;
    break-inside:avoid;
    -webkit-column-break-inside:avoid;
    page-break-inside:avoid;
  }
}

/* =========================
   H) PAYMENT METHODS CARD
========================== */
.section-padding .border-box[style*="overflow:hidden"]{
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 26px 70px rgba(0,0,0,.10);
}

/* =========================
   I) ICONS + FLAGS STRIP
========================== */
.pp-icons-flags{
  padding:34px 0 46px;
  background:#ffffff;
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.pp-icon-row,
.pp-flag-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}
.pp-icon-row{ margin-bottom:16px; }

.pp-icon-btn{
  width:54px;
  height:54px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 12px 26px rgba(0,0,0,.06);
  color:#111827 !important;
  text-decoration:none !important;
  transition:transform .18s var(--ease),
             box-shadow .18s var(--ease),
             border-color .18s var(--ease),
             color .18s var(--ease);
}
.pp-icon-btn i{ font-size:20px; line-height:1; }
.pp-icon-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  border-color:rgba(249,115,22,.28);
  color:var(--primary) !important;
}

.pp-flag-btn{
  width:46px;
  height:46px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 22px rgba(0,0,0,.05);
  text-decoration:none !important;
  font-size:20px;
  line-height:1;
  transition:transform .18s var(--ease),
             box-shadow .18s var(--ease),
             border-color .18s var(--ease);
}
.pp-flag-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.08);
  border-color:rgba(249,115,22,.28);
}

/* =====================================================
   FOOTER ONLY CSS (BS3 SAFE) ✅ FIXED (no width hack)
   Use: <footer class="footer-section"><div class="container">...</div></footer>
===================================================== */
.footer-section{
  background:linear-gradient(180deg,#eef8ff 0%, #edf8fd 100%);
  border-top:1px solid rgba(0,0,0,.06);
  padding:80px 0 28px;
}

.footer-title{
  font-size:14px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#111827;
  margin:0 0 16px;
}

.footer-widget{
  background:rgba(255,255,255,.65);
  border:1px solid rgba(0,0,0,.05);
  border-radius:14px;
  padding:20px 18px;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}

.footer-section p,
.footer-widget p{
  font-size:14px;
  line-height:1.75;
  color:#475569;
  margin:0 0 14px;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{ margin-bottom:12px; }

.footer-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:900;
  color:#475569;
  text-decoration:none !important;
  transition:color .18s ease, transform .18s ease;
}
.footer-links a:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(249,115,22,.20);
}
.footer-links a:hover{
  color:#f97316;
  transform:translateX(3px);
}

.footer-bottom{
  border-top:1px solid rgba(0,0,0,.06);
  margin-top:44px;
  padding-top:18px;
  text-align:center;
}
.footer-bottom p{
  font-size:13px;
  color:#64748b;
  margin:0;
}

/* =====================================================
   AUTH PAGES MOBILE PACK (MERGED + NO DUPLICATES)
   Scope: logged pages inside .pp-layout / .pp-main
===================================================== */

/* overlay (single definition) */
.pp-overlay{
  display:none;
  position:fixed;
  top:50px;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,.45);
  z-index:1090;
}

/* Panels polish (safe) */
.pp-main .panel,
.pp-main .well,
.pp-main .well-float{ border-radius:14px; }

.pp-main .btn:focus,
.pp-main .btn:active:focus,
.pp-main .form-control:focus{
  outline:0;
  box-shadow:0 0 0 3px rgba(249,115,22,.18);
  border-color:rgba(249,115,22,.55);
}

/* =====================================================
   RESPONSIVE (Consolidated)
===================================================== */
@media (max-width:991px){
  /* SIDEBAR drawer */
  .pp-sidebar{
    transform:translateX(-100%);
    transition:transform .25s ease;
    will-change:transform;
    box-shadow:0 18px 50px rgba(0,0,0,.40);
  }
  body.pp-sidebar-open .pp-sidebar{ transform:translateX(0); }
  body.pp-sidebar-open .pp-overlay{ display:block; }

  /* MAIN */
  .pp-main{
    margin-left:0 !important;
    padding:12px !important;
    min-height:calc(100vh - 50px);
  }

  /* Hero compact */
  .hero-auth{ padding:70px 0; }
  .hero-title{ font-size:34px; }
  .hero-right{ margin-top:34px; }

  /* ✅ counters 2 per row (flex-safe) */
  .counter-row > .col-md-3{
    flex:0 0 50%;
    max-width:50%;
  }
}

/* phones */
@media (max-width:767px){
  /* give auth columns breathing room without changing grid widths */
  .pp-main .row > [class*="col-"]{ margin-bottom:14px; }

  /* tables scroll on mobile */
  .pp-main .well,
  .pp-main .well-float,
  .pp-main .panel-body,
  .pp-main .table-responsive{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .pp-main table.table{ min-width:900px; }
  .pp-main .table th,
  .pp-main .table td{
    font-size:12px;
    padding:10px;
    white-space:nowrap;
    vertical-align:middle;
  }
  .pp-main .table td .btn{ border-radius:10px; }
  .pp-main .table td:last-child .btn{
    display:block;
    width:100%;
    margin-bottom:6px;
  }
  .pp-main .table td:last-child .btn:last-child{ margin-bottom:0; }

  /* toolbars (nav pills) stack */
  .pp-main .nav.nav-pills{
    margin:12px 0 10px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
  }
  .pp-main .nav.nav-pills > li{ float:none; width:100%; }
  .pp-main .nav.nav-pills > li.search{ margin-left:0; }

  .pp-main .nav.nav-pills .dropdown{ width:100%; }
  .pp-main .nav.nav-pills .dropdown .btn{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-radius:12px;
    font-weight:900;
    padding:10px 14px;
  }

  .pp-main .nav.nav-pills .input-group{ width:100%; max-width:100%; }
  .pp-main .nav.nav-pills .form-control{ height:42px; }
  .pp-main .nav.nav-pills .input-group-btn .btn{ height:42px; }

  /* dropdown menu premium + safe */
  .pp-main .dropdown-menu{
    border-radius:12px;
    padding:8px 0;
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 18px 50px rgba(0,0,0,.12);
  }
  .pp-main .dropdown-menu>li>a{
    padding:10px 14px;
    font-weight:800;
  }

  /* forms tap friendly */
  .pp-main .form-control{ border-radius:12px; height:44px; }
  .pp-main textarea.form-control{ height:auto; min-height:120px; }

  .pp-main .form-inline .form-group,
  .pp-main .form-inline .input-group{
    display:block;
    width:100%;
  }
  .pp-main .input-group{ width:100%; }
  .pp-main .input-group .form-control{ width:100%; }

  .pp-main .btn{ border-radius:12px; font-weight:900; }
  .pp-main .btn.btn-block{ width:100%; }

  /* pagination centered */
  .pp-main .pagination{
    width:100%;
    text-align:center;
    margin:12px auto 0;
  }
  .pp-main .pagination > li{
    display:inline-block;
    float:none !important;
    margin:0 6px;
  }
  .pp-main .pagination > li > a,
  .pp-main .pagination > li > span{
    border-radius:10px;
    padding:8px 12px;
  }

  /* modals fit phone */
  .pp-main .modal-content{
    border-radius:16px;
    box-shadow:0 22px 70px rgba(0,0,0,.20);
    border:0;
  }
  .pp-main .modal-dialog{
    width:auto;
    margin:12px;
  }
  .pp-main .modal-body{ padding:14px; }

  /* guest hero mobile */
  .hero-auth{ padding:60px 0; text-align:center; }
  .hero-title{
    font-size:28px;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    margin-bottom:10px;
  }
  .hero-auth .Sub-title{
    font-size:18px;
    margin-bottom:12px;
  }
  .hero-text{
    font-size:15px;
    -webkit-line-clamp:3;
    margin:0 auto 18px;
  }
  .hero-options{
    flex-direction:column;
    gap:10px;
    align-items:center;
  }
  .hero-image-box img{ max-width:78%; }

  /* border-box stack */
  .row.flex-row{ display:block; }
  .row.flex-row > [class*="col-"]{ display:block; }
  .border-box{ padding:26px 20px; }

  /* counter card */
  .counter-box{ padding:28px 16px; }
  .counter-box h3{ font-size:28px; }
  .counter-row > .col-md-3{
    flex:0 0 100%;
    max-width:100%;
  }

  /* icons */
  .pp-icon-btn{ width:50px; height:50px; border-radius:14px; }
  .pp-flag-btn{ width:44px; height:44px; border-radius:14px; }

  /* footer mobile */
  .footer-section{
    width:100%;
    padding:56px 0 22px;
    text-align:center;
  }
  .footer-widget{ margin-bottom:14px; }
  .footer-links a:hover{ transform:none; }
}

@media (max-width:480px){
  .hero-input{ margin-bottom:10px; }
}

/* RTL small fixes (auth pages) */
.pp-main .rtl-nav{ direction:rtl; }
.pp-main .rtl-nav > li.search{ margin-left:0; margin-right:auto; }
.pp-main .rtl-table{ direction:rtl; }
.pp-main .rtl-content{ direction:rtl; text-align:right; }
