/* =====================================================
   PEAKERR / PERFECTPANEL — FINAL CONFLICT-FREE CSS
   Bootstrap 3.3.7 SAFE • Works on:
   ✅ Guest pages (home/login/signup)
   ✅ User/private pages (dashboard/orders/services/tickets/etc.)
   ✅ All PerfectPanel pages (minimal conflicts)

   How this avoids conflicts:
   - Uses mostly class-based styling (.pp-*, .hero-*, .sidebar, .footer-*)
   - Does NOT globally overwrite Bootstrap grids
   - Keeps .container default behavior (only adds max-width + padding safely)
===================================================== */

/* =====================================================
   1) ROOT TOKENS
===================================================== */
:root{
  --page-width:1200px;
  --sidebar-width:240px;

  --primary:#f97316;
  --primary-dark:#ea580c;
  --primary-soft:rgba(249,115,22,.12);

  --bg:#e4e3e3;
  --card:#ffffff;

  --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);
}

/* =====================================================
   2) BASE (SAFE)
===================================================== */
*,
*::before,
*::after{ box-sizing:border-box; }

html,body{ width:100%; overflow-x:hidden; }

body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

a{ color:var(--primary); text-decoration:none; }
a:hover{ color:var(--primary-dark); }

h1,h2,h3,h4,h5{ font-weight:900; }
p{ color:var(--text-muted); }

/* Make images responsive without breaking BS */
img{ max-width:100%; height:auto; }

/* =====================================================
   3) PAGE WRAPPER / CONTAINER (SAFE FOR PP)
===================================================== */
/* Keep bootstrap container behavior, only cap width */
.container,
.navbar > .container,
.navbar > .container-fluid{
  max-width:var(--page-width);
  margin-left:auto;
  margin-right:auto;
}

/* PerfectPanel wrappers */
#content,
.content,
.main-content,
.page-wrapper,
.wrapper,
.child-panel,
.childpanel{
  max-width:var(--page-width);
  margin-left:auto;
  margin-right:auto;
  padding:20px;
}

/* Avoid PP nested container issues */
.container-fluid > .container,
.child-panel .container,
.child-panel .container-fluid{
  max-width:100%;
  margin:0;
  padding:0;
}

/* =====================================================
   4) SIDEBAR (Desktop + Mobile Drawer)
===================================================== */
body.has-sidebar{ padding-left:var(--sidebar-width); }

.sidebar{
  position:fixed;
  top:0;
  left:0;
  width:var(--sidebar-width);
  height:100%;
  overflow-y:auto;
  z-index:1030;
  background:linear-gradient(180deg,#0b1220 0%, #070c16 100%);
  border-right:1px solid rgba(255,255,255,.06);
  box-shadow:10px 0 28px rgba(0,0,0,.18);
}

.sidebar-brand{
  padding:18px 16px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), transparent);
}

.sidebar-brand img{
  max-height:46px;
  filter:brightness(0) invert(1);
  opacity:.98;
}

.sidebar-group-title{
  padding:14px 18px 8px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.45);
  font-weight:950;
}

.sidebar-menu{
  list-style:none;
  margin:0;
  padding:12px 0 18px;
}

.sidebar-menu li a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  margin:7px 10px;
  border-radius:14px;
  color:rgba(255,255,255,.70);
  font-weight:950;
  letter-spacing:-.01em;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.06);
  transition:background .18s var(--ease),
             color .18s var(--ease),
             transform .18s var(--ease),
             box-shadow .18s var(--ease),
             border-color .18s var(--ease);
}

.sidebar-menu li a i{
  width:18px;
  text-align:center;
  font-size:14px;
  opacity:.95;
}

.sidebar-menu li a span{
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sidebar-menu li a:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
  color:#fff;
  transform:translateX(2px);
  box-shadow:0 14px 28px rgba(0,0,0,.20);
}

.sidebar-menu li.active>a{
  background:rgba(249,115,22,.14);
  border-color:rgba(249,115,22,.25);
  color:#fff;
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}

.sidebar-menu li.active>a:before{
  content:"";
  width:6px;
  height:22px;
  border-radius:999px;
  background:linear-gradient(180deg,#f97316,#facc15);
  margin-right:6px;
}

.sidebar-badge{
  margin-left:auto;
  background:rgba(249,115,22,.14);
  color:#f97316;
  border:1px solid rgba(249,115,22,.25);
  border-radius:999px;
  padding:4px 10px;
  font-weight:950;
  font-size:12px;
}

/* =====================================================
   5) NAVBAR (PRO + SAFE)
===================================================== */
/* =====================================================
   PERFECT NAVBAR FIX (Bootstrap 3.3.7 + PerfectPanel)
   ✅ Desktop + Mobile
   ✅ Conflict-safe (scoped to .navbar.navbar-default)
===================================================== */

/* ============ DESKTOP / GLOBAL ============ */
.navbar.navbar-default{
  background:var(--bg) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:var(--shadow-sm) !important;
  min-height:56px !important;
}

.navbar.navbar-default .container,
.navbar.navbar-default .container-fluid{
  max-width:var(--page-width);
  margin:0 auto;
  padding-left:16px;
  padding-right:16px;
}

/* Logo */
.navbar.navbar-default .navbar-brand{
  height:56px !important;
  padding:8px 12px !important;
  display:flex !important;
  align-items:center !important;
}
.navbar.navbar-default .navbar-brand img{
  max-height:40px !important;
  width:auto !important;
  display:block;
}

/* Links */
.navbar.navbar-default .navbar-nav>li>a{
  height:56px !important;
  line-height:56px !important;
  padding:0 14px !important;
  font-weight:800 !important;
  color:#374151 !important;
  background:transparent !important;
  transition:color .18s ease, background .18s ease;
}
.navbar.navbar-default .navbar-nav>li>a:hover,
.navbar.navbar-default .navbar-nav>.active>a,
.navbar.navbar-default .navbar-nav>.active>a:hover{
  color:var(--primary) !important;
  background:transparent !important;
}

/* Right menu alignment */
.navbar.navbar-default .navbar-nav.navbar-right{
  margin-right:0 !important;
}
.navbar.navbar-default .navbar-nav.navbar-right>li>a{
  display:flex !important;
  align-items:center !important;
  gap:8px;
}

/* Dropdown */
.navbar.navbar-default .dropdown-menu{
  border-radius:12px !important;
  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.12) !important;
  padding:8px 0 !important;
}
.navbar.navbar-default .dropdown-menu>li>a{
  padding:10px 14px !important;
  font-weight:700 !important;
}
.navbar.navbar-default .dropdown-menu>li>a:hover{
  background:#f9fafb !important;
  color:var(--primary) !important;
}

/* ============ MOBILE (<=767px) ============ */
@media (max-width:767px){

  /* Fixed top bar */
  .navbar.navbar-default{
    position:fixed !important;
    top:0; left:0; right:0;
    z-index:1100 !important;
    background:#ffffff !important;
    border-bottom:1px solid rgba(0,0,0,.08) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08) !important;
    min-height:56px !important;
  }

  /* Prevent content under navbar */
  body{ padding-top:60px !important; }

  /* Header block */
  .navbar.navbar-default .navbar-header{
    float:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  /* Toggle */
  .navbar.navbar-default .navbar-toggle{
    display:block !important;
    margin:10px 10px !important;
    border:1px solid rgba(0,0,0,.12) !important;
    border-radius:12px !important;
    background:#fff !important;
  }
  .navbar.navbar-default .navbar-toggle .icon-bar{
    background:#111827 !important;
  }

  /* Collapse container */
  .navbar.navbar-default .navbar-collapse{
    border-top:1px solid rgba(0,0,0,.08) !important;
    background:#ffffff !important;
    box-shadow:none !important;
  }

  /* Stack menu */
  .navbar.navbar-default .navbar-nav{
    float:none !important;
    margin:0 !important;
  }
  .navbar.navbar-default .navbar-nav>li{
    float:none !important;
    width:100% !important;
  }

  /* App-style items */
  .navbar.navbar-default .navbar-nav>li>a{
    height:auto !important;
    line-height:1.2 !important;
    padding:14px 16px !important;
    border-bottom:1px solid rgba(0,0,0,.06) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    color:#111827 !important;
  }

  /* Right menu becomes normal list */
  .navbar.navbar-default .navbar-nav.navbar-right{
    float:none !important;
    margin:0 !important;
  }

  /* Dropdown menus in mobile: full width */
  .navbar.navbar-default .dropdown-menu{
    position:static !important;
    float:none !important;
    width:100% !important;
    border:0 !important;
    border-top:1px solid rgba(0,0,0,.06) !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#fafafa !important;
  }
}



/* =====================================================
   6) GLOBAL CARDS / PANELS (PP SAFE)
===================================================== */
.panel,
.well,
.card,
.box,
.order-form,
.ticket-message,
.service-item{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
  width:100%;
}

.panel-heading{
  background:transparent;
  border-bottom:1px solid var(--border-soft);
  font-weight:950;
  padding:14px 18px;
}

/* =====================================================
   7) FORMS / BUTTONS (SAFE)
===================================================== */
form{ width:100%; }

.form-control{
  height:44px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
}

.form-control:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px var(--primary-soft);
}

label{ font-weight:800; }

.btn{
  border-radius:var(--radius-sm);
  font-weight:900;
  padding:10px 16px;
}

.btn-primary{
  background:var(--primary);
  border-color:var(--primary);
}
.btn-primary:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}

.alert{
  border:none;
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow-sm);
}

/* =====================================================
   8) SECTION SYSTEM (Guest/Home)
===================================================== */
.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:950;
  letter-spacing:-.02em;
  color:var(--text);
  margin:0 0 10px;
}

/* Keep Bootstrap gutter intact */
.section-padding [class*="col-"]{ margin-bottom:30px; }

/* =====================================================
   9) HERO + AUTH (Your exact HTML)
===================================================== */
.hero-auth{
  background:var(--bg);
  padding:90px 0;
  overflow:hidden;
}

.hero-auth .row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}

.hero-left{ color:#000; }

.hero-title{
  font-size:44px;
  font-weight:950;
  line-height:1.12;
  margin:0 0 16px;
  color:#000;
  letter-spacing:-.02em;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.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:950;
  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:950;
  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:14px;
  font-size:13px;
  color:#111;
}
.hero-signup a{
  color:#111;
  font-weight:950;
  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));
}

/* AuthText 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;
}

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

/* =====================================================
   10) COUNTERS
===================================================== */
.counter-section{ background:#fff; }

.counter-row{ display:flex; flex-wrap:wrap; }
.counter-row > [class*="col-"]{ display:flex; }

.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:950;
  color:#111827;
  margin:0 0 6px;
  letter-spacing:-.02em;
}

.counter-box p{
  font-size:14px;
  font-weight:900;
  color:#6b7280;
  margin:0;
}

/* =====================================================
   11) BORDER-BOX (How it works / Why choose / Services / etc.)
===================================================== */
.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:950;
  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);
}

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

/* =====================================================
   12) FAQ (Premium)
===================================================== */
.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:950;
  color:#111827;
  text-decoration:none;
  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;
  }
}

/* =====================================================
   13) PAYMENT IMAGE 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);
}

/* =====================================================
   14) TABLES (PP SAFE)
===================================================== */
.table{ background:#fff; border-radius:var(--radius); }
.table>thead>tr>th{ background:#f9fafb; font-weight:900; }

/* =====================================================
   15) FOOTER (PRO)
===================================================== */
.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:950;
  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-widget p,
.footer-section 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;
  transition:color .18s var(--ease), transform .18s var(--ease);
}

.footer-links a:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(249,115,22,.20);
}

.footer-links a:hover{
  color:var(--primary);
  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;
}

/* =====================================================
   FOOTER BACKGROUND +100px LEFT/RIGHT (DESKTOP ONLY)
===================================================== */
@media (min-width:992px){
  footer{
    width:calc(100% + 200px) !important;  /* 100px left + 100px right */
    margin-left:-100px !important;
    margin-right:-100px !important;
  }
}

/* Keep mobile normal */
@media (max-width:991px){
  footer{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}

/* =====================================================
   16) MOBILE — HIGH PROFESSIONAL APP FEEL
===================================================== */
@media (max-width:991px){
  .hero-auth{ padding:70px 0; }
  .hero-title{ font-size:34px; }
  .hero-right{ margin-top:34px; }

  /* counters 2 per row */
  .counter-row > .col-md-3{ width:50%; float:left; }
}

@media (max-width:767px){
  /* Sidebar becomes drawer */
  body.has-sidebar{ padding-left:0; }

  .sidebar{
    left:-240px;
    width:var(--sidebar-width);
    background:#ffffff;
    border-right:1px solid #edf0f5;
    box-shadow:10px 0 30px rgba(0,0,0,.10);
    transition:left .25s var(--ease);
    z-index:1060;
  }
  .sidebar-brand{
    background:#ffffff;
    border-bottom:1px solid #edf0f5;
  }
  .sidebar-brand img{ filter:none; }

  .sidebar-group-title{ color:#94a3b8; }

  .sidebar-menu li a{
    background:#fff;
    color:#111827;
    border:1px solid #edf0f5;
    box-shadow:0 10px 22px rgba(0,0,0,.04);
  }
  .sidebar-menu li a:hover{
    background:#f9fafb;
    color:var(--primary);
    transform:translateX(2px);
    box-shadow:0 16px 34px rgba(0,0,0,.08);
  }
  .sidebar-menu li.active>a{
    background:rgba(249,115,22,.10);
    border-color:rgba(249,115,22,.22);
    color:var(--primary);
    box-shadow:0 18px 40px rgba(0,0,0,.10);
  }

  body.sidebar-open .sidebar{ left:0; }

  /* Overlay */
  body.sidebar-open:before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:1055;
  }

  /* Navbar sticky pro */
  .navbar{
    position:sticky;
    top:0;
    z-index:1050;
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
  }

  /* Containers */
  #content,
  .content,
  .main-content,
  .page-wrapper,
  .wrapper,
  .child-panel,
  .childpanel{
    max-width:100%;
    padding:15px;
  }

  /* Hero */
  .hero-auth{ padding:60px 0; text-align:center; }
  .hero-auth .row{ display:block; }

  .hero-title{
    font-size:28px;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    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 boxes */
  .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{ margin-bottom:18px; }

  /* Tables: mobile scroll safe */
  .well,
  .well-float{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .well table{ min-width:900px; }
  .table th,.table td{ font-size:12px; padding:10px; white-space:nowrap; }
  .table td:last-child .btn{ display:block; width:100%; margin-bottom:6px; }

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

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

/* =====================================================
   17) CODE BLOCKS (Optional)
===================================================== */
pre,code{
  background:#020617;
  color:#e5e7eb;
  border-radius:10px;
  padding:12px;
}


/* =====================================================
   Extra CSS to fixed issue
===================================================== */
/* =====================================================
   FINAL PATCH (NO DUPLICATES / NO CONFLICTS)
   ✅ Pagination spacing
   ✅ Sidebar Balance dropdown (works with repeated IDs)
   ✅ Footer wide background (ONLY .footer-section)
===================================================== */

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

/* ===============================
   FOOTER BACKGROUND +100px LEFT/RIGHT (DESKTOP ONLY)
   ✅ only affects your footer section
================================ */
@media (min-width:992px){
  .footer-section{
    width:calc(100% + 200px);
    margin-left:-100px;
    margin-right:-100px;
  }
}
@media (max-width:991px){
  .footer-section{
    width:100%;
    margin-left:0;
    margin-right:0;
  }
}

/* ===============================
   SIDEBAR BALANCE (SAFE + WORKING)
================================ */
.sidebar .sidebar-balance{
  padding:12px 12px 6px;
  position:relative;
  z-index:20;
}

.sidebar .sidebar-balance-btn{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  font-weight:900;
  text-decoration:none !important;
}

.sidebar .sidebar-balance-text{
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sidebar .sidebar-balance-menu,
.sidebar #currencies-list{
  list-style:none;
  margin:10px 0 0;
  padding:8px 0;
  border-radius:12px;
  max-height:240px;
  overflow:auto;
  display:none;
  position:relative;
  z-index:30;
}

/* Currency links: supports your repeated id="currencies-item" */
.sidebar #currencies-item{
  display:block;
  padding:10px 12px;
  font-weight:800;
  text-decoration:none !important;
}

/* Desktop (dark sidebar) */
@media (min-width:768px){
  .sidebar .sidebar-balance-btn{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    color:#fff !important;
  }
  .sidebar .sidebar-balance-btn:hover{
    background:rgba(255,255,255,.10);
  }

  .sidebar .sidebar-balance:hover .sidebar-balance-menu,
  .sidebar .sidebar-balance:hover #currencies-list{
    display:block;
  }

  .sidebar .sidebar-balance-menu,
  .sidebar #currencies-list{
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    box-shadow:0 18px 50px rgba(0,0,0,.14);
  }

  .sidebar #currencies-item{
    color:#111827 !important;
  }
  .sidebar #currencies-item:hover{
    background:#f9fafb;
    color:var(--primary) !important;
  }
}

/* Mobile (white drawer sidebar) */
@media (max-width:767px){
  .sidebar .sidebar-balance-btn{
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    color:#111827 !important;
    box-shadow:0 10px 22px rgba(0,0,0,.05);
  }

  /* When sidebar open, show dropdown list */
  body.sidebar-open .sidebar .sidebar-balance-menu,
  body.sidebar-open .sidebar #currencies-list{
    display:block;
  }

  .sidebar .sidebar-balance-menu,
  .sidebar #currencies-list{
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    box-shadow:0 18px 50px rgba(0,0,0,.12);
  }

  .sidebar #currencies-item{
    color:#111827 !important;
  }
  .sidebar #currencies-item:hover{
    background:#f9fafb;
    color:var(--primary) !important;
  }
}
