@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root{
  --brand: #a88118;
  --chip:  #fef3c7;
  --card:  #ffffff;
  --text:  #000000;
  --info:  #6699ff;
  --radius: 16px;
  --imgH: 220px;
  --ticker-seconds: 35s;
}

html, body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  background-color: #f5f2e8 !important; /* Base Beige */
  background-image:
    radial-gradient(circle at 0% 0%, rgba(168, 129, 24, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(168, 129, 24, 0.12) 0%, transparent 40%) !important;
  background-attachment: fixed !important;
  color: var(--text);
  padding-bottom: 90px;
  touch-action: manipulation;
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(168, 129, 24, 0.06) 1px, transparent 1px) !important;
  background-size: 30px 30px;
  z-index: -1;
  pointer-events: none;
}

/* Hide scrollbars for native feel */
::-webkit-scrollbar { display: none; }
* { -ms-overflow-style: none; scrollbar-width: none; }

.topbar{
  position:sticky;
  top:0;
  z-index:1030;
  background:rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 129, 24, 0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  padding-block: 8px;
}

.navbar-brand {
  font-size: 1.45rem !important;
  font-weight: 950 !important;
  background: linear-gradient(135deg, #2d2400, #a88118, #c5a02c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1.2px;
  filter: drop-shadow(0 2px 4px rgba(168, 129, 24, 0.02));
}

.topbar .site-brand {
  font-size: 0.92rem !important;
  letter-spacing: -0.4px !important;
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.1rem !important;
    letter-spacing: -0.5px;
  }
  .topbar .site-brand {
    font-size: 0.82rem !important;
    letter-spacing: -0.2px !important;
  }
  .topbar img {
    height: 32px !important;
  }
}

.page-main-title {
  font-size: 1.85rem !important;
  font-weight: 900 !important;
  color: #1a1f36 !important;
  letter-spacing: -1px !important;
  margin-bottom: 2px !important;
}

.text-primary-gradient {
  background: linear-gradient(135deg, #a88118, #c5a02c) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.page-subtitle {
  font-size: 0.95rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

@media (max-width: 575.98px) {
  .page-main-title { font-size: 1.4rem !important; }
  .page-subtitle { font-size: 0.85rem !important; }
}

.notif-btn, #btnSupportChat {
  background: #fcfaf5 !important;
  border: 1px solid rgba(168, 129, 24, 0.08) !important;
  border-radius: 12px !important;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #a88118 !important;
  position: relative;
}

.notif-btn:hover, #btnSupportChat:hover {
  background: #a88118 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(168, 129, 24, 0.15);
}

.notif-btn i, #btnSupportChat i {
  font-size: 1.3rem;
}
.tab-chip{
  background:var(--chip);
  border:none;
  padding:0.6rem 1.2rem;
  border-radius:14px;
  font-weight:700;
  color: var(--text);
  transition: all 0.2s ease;
}
.tab-chip.active, .tab-chip:hover{
  background:linear-gradient(135deg, var(--brand), #c5a02c);
  color:#fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 129, 24, 0.2);
}
.tab-chip .badge{
  background: rgba(255,255,255,0.2) !important;
  color: inherit;
  margin-inline-start: 6px;
}

/* Redesigned Card */
.card-auction {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.card-auction:active { transform: scale(0.98); }

.auction-card-shell{
  display:flex;
  flex-direction:row-reverse;
  align-items:stretch;
  min-height: 290px;
}

.auction-card-media{
  width: 41%;
  min-width: 340px;
  position: relative;
  background:#f3f5fb;
}

.auction-card-content{
  width: 59%;
  display:flex;
  flex-direction:column;
  padding: 18px 18px 14px;
}

.car-photo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 290px;
}
.car-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.action-btn {
  background: linear-gradient(135deg, var(--brand), #c5a02c);
  color: #fff;
  border: none;
  border-radius: 10px;
  min-height: 40px;
  font-weight: 600;
  font-size: .88rem;
  width: 68%;
  max-width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.meta i{opacity:.8;margin-inline-end:.35rem}
.end-btn{background:#3f3f56;color:#fff;border-radius:999px;padding:.5rem 1.1rem;font-weight:700}
.timer{font-weight:700}
.auction-card-body{display:flex;flex-direction:column;flex:1;gap:10px}
.auction-card-headline{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.auction-card-footer{margin-top:auto}
.auction-card-content h6{font-size:1.18rem;line-height:1.45;margin-bottom:.35rem !important}
.auction-card-content .meta{font-size:.92rem !important;gap:.9rem !important}
.auction-card-content .auction-top-info{font-size:.95rem !important}
.auction-card-content .bg-light{padding:14px !important;border-radius:14px !important}
.auction-card-content .timer{font-size:1.35rem !important}
.auction-card-content .city-text{font-size:.92rem !important}
.skeleton{animation:pulse 1.2s infinite ease-in-out;background:linear-gradient(90deg,#eee,#f6f6f6,#eee);background-size:200% 100%}
@keyframes pulse{0%{background-position:200% 0}100%{background-position:-200% 0}}

.dashboard-stack{
  display:grid;
  gap:14px;
}

.dashboard-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  border:1px solid rgba(99,102,241,.08);
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}

.dashboard-card-media{
  width:108px;
  min-width:108px;
  height:86px;
  border-radius:16px;
  overflow:hidden;
  background:#fef3c7;
  cursor:pointer;
}

.dashboard-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.dashboard-card-body{
  flex:1;
  min-width:0;
}

.dashboard-card-title{
  font-size:1rem;
  font-weight:800;
  margin:0 0 4px;
  color:#111827;
}

.dashboard-card-subtitle{
  margin:0;
  color:#6b7280;
  font-size:.9rem;
}

.dashboard-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top:10px;
  color:#4b5563;
  font-size:.88rem;
}

.dashboard-card-meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.dashboard-card-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  min-width:110px;
}

.dashboard-price{
  font-size:1rem;
  font-weight:800;
  color:#111827;
}

.dashboard-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:74px;
  padding:6px 12px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
}

.dashboard-status-badge.active{
  background:#dcfce7;
  color:#166534;
}

.dashboard-status-badge.soon{
  background:#e0e7ff;
  color:#8b6c14;
}

.dashboard-status-badge.not_active{
  background:#f3f4f6;
  color:#4b5563;
}

.dashboard-card-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:10px;
}

.skeleton-card{
  position:relative;
  display:flex;
  gap:14px;
  align-items:center;
  background:#fff;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 26px rgba(15,23,42,.04);
  overflow:hidden;
}

.skeleton-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  transform:translateX(-100%);
  animation:skeletonSweep 1.3s infinite;
}

.skeleton-thumb,
.skeleton-line{
  background:linear-gradient(90deg,#edf2f7,#f7f9fc,#edf2f7);
  background-size:200% 100%;
  animation:pulse 1.2s infinite ease-in-out;
}

.skeleton-thumb{
  width:108px;
  min-width:108px;
  height:86px;
  border-radius:16px;
}

.skeleton-body{
  flex:1;
  display:grid;
  gap:10px;
}

.skeleton-line{
  height:12px;
  border-radius:999px;
}

.skeleton-line.is-short{width:32%}
.skeleton-line.is-mid{width:58%}
.skeleton-line.is-long{width:85%}

@keyframes skeletonSweep{
  100%{transform:translateX(100%)}
}

.native-empty-state{
  min-height:340px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px 18px;
  color:#6b7280;
}

.native-empty-icon{
  width:88px;
  height:88px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:28px;
  background:linear-gradient(180deg,#fef3c7,#f8fafc);
  color:#c5a02c;
  font-size:2rem;
  margin-bottom:16px;
  box-shadow:0 12px 34px rgba(99,102,241,.10);
}

.native-empty-title{
  font-size:1.1rem;
  font-weight:800;
  color:#111827;
  margin-bottom:6px;
}

.native-empty-text{
  margin:0 0 16px;
  max-width:320px;
  line-height:1.8;
}

.native-empty-action{
  border:none;
  border-radius:999px;
  padding:11px 18px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg,var(--brand),#c5a02c);
  box-shadow:0 10px 24px rgba(79,70,229,.20);
}

.account-hub{
  display:grid;
  gap:12px; /* تقليل المسافة بين العناصر */
  padding: 0 4px;
}

.account-summary-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 129, 24, 0.15) !important; /* استروك ذهبي احترافي */
  border-radius: 28px !important;
  box-shadow: 0 15px 35px rgba(168, 129, 24, 0.04) !important;
  padding: 15px 10px !important; /* تقليل الطول */
  margin-bottom: 10px !important;
}

.account-summary-card .d-flex {
  gap: 8px !important; /* تقليل الفجوات الداخلية */
}

.account-summary-card img {
  height: 48px !important; /* تصغير اللوجو قليلاً */
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
  margin-bottom: 5px;
}

.account-summary-card h4 {
    font-size: 1.1rem;
    font-weight: 850;
    color: #0f172a;
}

.account-section-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.account-section-card h6 {
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 12px !important;
  padding-inline-start: 4px;
}

.account-list-btn {
  min-height: 58px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  color: #1a1f36 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.account-list-btn:hover {
  background: #f8faff !important;
  border-color: rgba(168, 129, 24, 0.12) !important;
  transform: translateY(-2px);
  color: #a88118 !important;
  box-shadow: 0 8px 20px rgba(168, 129, 24, 0.05) !important;
}

.account-list-btn i {
  font-size: 1.3rem;
  color: #a88118;
  opacity: 0.9;
}

.account-list-btn span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-logout-btn{
  border: 1px solid rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
}
.account-logout-btn i { color: #ef4444 !important; }

.account-wallet-pill {
  background: linear-gradient(135deg, #a88118, #dcb265) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 8px 16px !important;
  box-shadow: 0 4px 12px rgba(168, 129, 24, 0.2) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.account-wallet-pill:hover { transform: scale(1.03); filter: brightness(1.1); }

.account-wallet-label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}

.account-insurance-chip {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 5px;
}

.account-hub .btn-primary {
  background: linear-gradient(135deg, #a88118, #c5a02c) !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 25px rgba(168, 129, 24, 0.25) !important;
  transition: all 0.3s ease !important;
}

.account-hub .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 30px rgba(168, 129, 24, 0.3) !important;
}

/* Bottom Nav Glassmorphism */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  direction: rtl;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
  z-index: 1030;
  padding-bottom: env(safe-area-inset-bottom);
}
.bn-item { 
  padding: 0.6rem 0; 
  text-align: center; 
  color: #5c4033 !important; /* Elegant Executive Brown */
  transition: all 0.2s; 
}
.bn-item a {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}
.bn-item .icon { 
  font-size: 1.55rem !important; 
  display: block; 
  margin-bottom: 3px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  color: #a88118 !important; /* Branded Gold */
  opacity: 0.95;
}
.bn-item button, .bn-item a { 
  background: none; 
  border: 0; 
  width: 100%; 
  color: #5c4033 !important; /* Rich Brown for text labels */
  font-size: 0.78rem !important; 
  font-weight: 800 !important; 
  text-decoration: none !important;
}
.bn-item button:active .icon, .bn-item a:active .icon { transform: scale(0.9); }
.bn-item:hover, .bn-item.active { color: #a88118 !important; }
.bn-item:hover .icon, .bn-item.active .icon { color: #a88118 !important; opacity: 1; transform: translateY(-4px); }
.bn-item:hover button, .bn-item.active button, .bn-item:hover a, .bn-item.active a { color: #5c4033 !important; }

.modal-header.sticky{position:sticky;top:0;z-index:1;background:#fff;border-bottom:1px solid #e9ecef}
.back-btn{border:none;background:none;font-size:1.25rem}

/* Bottom Sheet Modals - mobile only */
@media (max-width: 575.98px) {
  .auction-card-shell{
    flex-direction:column;
  }
  .auction-card-media,
  .auction-card-content{
    width:100%;
    min-width:0;
  }
  .car-photo-wrapper{
    min-height: 220px;
  }
  .auction-card-content{
    padding: 14px 14px 12px;
  }
  .action-btn{
    width:100%;
    max-width:none;
    min-height:38px;
    font-size:.84rem;
  }
  .dashboard-card{
    align-items:flex-start;
  }
  .dashboard-card,
  .skeleton-card{
    flex-direction:column;
  }
  .dashboard-card-media,
  .skeleton-thumb{
    width:100%;
    min-width:0;
    height:180px;
  }
  .dashboard-card-side{
    width:100%;
    min-width:0;
    align-items:flex-start;
  }
  .dashboard-card-actions{
    width:100%;
    justify-content:stretch;
  }
  .dashboard-card-actions .btn{
    flex:1;
  }
  .modal.fade .modal-dialog.modal-fullscreen-sm-down {
    transform: translate(0, 100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    max-width: 100%;
  }
  .modal.show .modal-dialog.modal-fullscreen-sm-down {
    transform: none;
  }
  .modal.fade .modal-dialog.modal-fullscreen-sm-down .modal-content {
    border: none;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    max-height: 90vh;
    width: 100%;
  }
}

.offcanvas-bottom {
  border-radius: 20px 20px 0 0;
  border-top: none;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.news-wrap{display:none}
.news-wrap.is-empty{display:none}
.news-inner{position:relative;overflow:hidden;height:38px}
.ticker-title{position:absolute;top:0;bottom:0;display:flex;align-items:center;font-weight:700;color:var(--brand);padding:0 .75rem}
.ticker-track{white-space:nowrap;will-change:transform;display:inline-block;line-height:38px}
.ticker-track span{margin:0 1.25rem;color:#444}
.rtl .ticker-run{animation:ticker-rtl var(--ticker-seconds) linear infinite}
.ltr .ticker-run{animation:ticker-ltr var(--ticker-seconds) linear infinite}
@keyframes ticker-rtl{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
@keyframes ticker-ltr{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.news-inner:hover .ticker-run{animation-play-state:paused}

.notif-badge {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  padding: 0;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
menu[type="toolbar"],
menu:empty,
details[popover][open][role="list"],
details[role="list"] { display: none !important; }

.floating-voice-btn{
  position:fixed;
  bottom:80px;
  right:16px;
  width:56px;
  height:56px;
  border-radius:50%;
  border:none;
  outline:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  background:#dc3545;
  color:#fff;
  z-index:1080;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}
body.rtl .floating-voice-btn{ right:auto; left:16px; }

.social-icons { list-style: none; padding: 0; margin: 0; }
.social-icons li a { text-decoration: none; color: inherit; }

.gallery-swiper { width: 100%; height: 75vh; background:#000; }
.gallery-slide{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#000; }
.swiper-zoom-container{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.gallery-img{ max-width:100%; max-height:85vh; object-fit:contain; user-select:none; -webkit-user-drag:none; touch-action:none; }

.auction-top-info{ color: var(--info) !important; font-weight: 700; }
.auction-bottom-info{ color: var(--info) !important; }
.auction-bottom-info .text-muted{ color: inherit !important; }
.city-text{ color: var(--info) !important; }

.ticker-track { white-space: nowrap; overflow: hidden; }
.ticker-ltr { direction: ltr; animation: ticker-ltr 25s linear infinite; }
.ticker-rtl { direction: rtl; animation: ticker-rtl 25s linear infinite; }

/* Phase 2: Snap Gallery */
.snap-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  height: clamp(210px, 36vw, 340px);
  min-height: 210px;
  -webkit-overflow-scrolling: touch;
  background: #f7f8fb;
  direction: ltr;
}
.snap-gallery::-webkit-scrollbar { display: none; }
.snap-gallery { -ms-overflow-style: none; scrollbar-width: none; }
.snap-gallery img {
  scroll-snap-align: center;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f8fb;
}

/* Phase 2: Vehicle Specs Polish */
.spec-card {
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s ease;
}
.spec-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Phase 2: Sticky Bidding & Action Button Pulse */
.action-btn-pulse {
  background: linear-gradient(135deg, var(--brand), #c5a02c);
  color: #fff;
  border: none;
  font-weight: 700;
  animation: pulse-btn 2s infinite;
  transition: transform 0.2s ease;
}
.action-btn-pulse:active {
  transform: scale(0.97);
}
@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(168, 129, 24, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(168, 129, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 129, 24, 0); }
}


/* Search Bar and Toolbar Modernization */
.auction-toolbar-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.auction-tabs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.auction-tabs-row::-webkit-scrollbar { display: none; }

.auction-search-group {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.auction-search-group .input-group-text {
  background: transparent;
  border: none;
  color: #a0aec0;
  padding-inline-start: 16px;
}
.auction-search-group .form-control {
  border: none;
  box-shadow: none;
  padding: 14px 16px;
  font-weight: 600;
  background: transparent;
}
.auction-search-group .form-control:focus {
  outline: none;
  box-shadow: none;
}

/* Modals Modernization */
.modal-content {
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(15,28,63,.1);
  overflow: hidden;
}
.modal-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 20px 24px;
}
.modal-title {
  font-weight: 800;
  color: #111827;
}
.modal-body {
  padding: 24px;
  background: #f7f7fb;
}

/* Offcanvas Modernization */
.offcanvas {
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.offcanvas-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: #fff;
  padding: 20px 24px;
}
.offcanvas-title {
  font-weight: 800;
  color: #111827;
}
.offcanvas-body {
  background: #f7f7fb;
}

/* Modal Bottom sheet fix */
@media (max-width: 575.98px) {
  .modal.fade .modal-dialog.modal-fullscreen-sm-down .modal-content {
    border-radius: 24px 24px 0 0;
  }
}


/* Modern Cards in Modals */
.modal-body .card {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.modal-body .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.modal-body .alert {
  border: none;
  border-radius: 14px;
}
.btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 20px;
}
