:root{
  --sw-orange:#fc8019;
  --sw-orange-2:#ff9f45;
  --sw-dark:#282c3f;
  --sw-bg:#f4f4f5;
  --sw-card:#ffffff;
  --sw-muted:#6b7280;
}

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

img{
  max-width:100%;
  height:auto;
}
canvas{
  max-width:100%;
}

/* Swiggy-ish background blobs */
.sw-hero{
  position:relative;
  overflow:hidden;
}
.sw-hero::before,
.sw-hero::after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  border-radius:50%;
  filter:blur(40px);
  opacity:.25;
  background:radial-gradient(circle at 30% 30%, var(--sw-orange), transparent 60%);
  animation:floaty 10s ease-in-out infinite;
}
.sw-hero::before{ top:-260px; left:-260px; }
.sw-hero::after{
  bottom:-280px; right:-260px;
  background:radial-gradient(circle at 30% 30%, #22c55e, transparent 60%);
  animation-delay: -3s;
}
@keyframes floaty{
  0%,100%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(18px,-14px) scale(1.05); }
}

.sw-glass{
  background:rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border:1px solid rgba(17,24,39,.06);
}

.sw-pill{
  border-radius:999px;
}

.sw-fade-in{
  animation:swFade .5s ease-out both;
}
@keyframes swFade{
  from{ opacity:0; transform:translateY(10px); }
  to{ opacity:1; transform:translateY(0); }
}

.sw-btn{
  background:linear-gradient(135deg, var(--sw-orange), var(--sw-orange-2));
  border:none;
  color:#fff;
  font-weight:700;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(252,128,25,.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.sw-btn:hover{
  filter:saturate(1.05);
  transform: translateY(-1px);
  box-shadow:0 14px 28px rgba(252,128,25,.30);
}
.sw-btn:active{ transform: translateY(0); }

.sw-sidebar{
  width:280px;
  min-height:100vh;
  background:var(--sw-dark);
  color:#fff;
  position:sticky;
  top:0;
}
.sw-sidebar__brand{
  display:flex;
  gap:12px;
  align-items:center;
  padding:18px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.sw-brand-badge{
  width:40px;height:40px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(252,128,25,.15);
  color:var(--sw-orange);
  font-weight:800;
}
.sw-brand-logo{
  width:40px;
  height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(252,128,25,.15);
  border:1px solid rgba(252,128,25,.18);
  overflow:hidden;
}
.sw-brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:6px;
}
.sw-wa-float{
  position:fixed;
  right:16px;
  bottom:16px;
  width:54px;
  height:54px;
  border-radius:18px;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  z-index:9999;
  transition:transform .15s ease, filter .15s ease;
}
.sw-wa-float:hover{
  transform:translateY(-2px) scale(1.02);
  filter:brightness(1.02);
  color:#fff;
}

/* Glowing notification indicator */
.sw-notif-glow{
  border-color: rgba(252,128,25,.55) !important;
  box-shadow: 0 0 0 0 rgba(252,128,25,.55), 0 10px 24px rgba(252,128,25,.18);
  animation: swNotifPulse 1.25s ease-in-out infinite;
}
@keyframes swNotifPulse{
  0%{ box-shadow: 0 0 0 0 rgba(252,128,25,.55), 0 10px 24px rgba(252,128,25,.18); }
  60%{ box-shadow: 0 0 0 10px rgba(252,128,25,0), 0 12px 28px rgba(252,128,25,.22); }
  100%{ box-shadow: 0 0 0 0 rgba(252,128,25,0), 0 10px 24px rgba(252,128,25,.18); }
}

/* Mobile bottom nav */
.sw-bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:calc(70px + env(safe-area-inset-bottom));
  background:#ffffff;
  border-top:1px solid rgba(17,24,39,.08);
  display:flex;
  justify-content:space-around;
  align-items:center;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  z-index:9998;
}
.sw-bottom-nav__item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  color:#6b7280;
  text-decoration:none;
  padding:6px 4px;
  border-radius:14px;
  transition:background .15s ease, color .15s ease;
}
.sw-bottom-nav__icon{
  font-size:20px;
  line-height:1;
}
.sw-bottom-nav__label{
  font-size:11px;
  font-weight:700;
}
.sw-bottom-nav__item.is-active{
  color:var(--sw-orange);
  background:rgba(252,128,25,.08);
}

@media (max-width: 991.98px){
  .sw-has-bottom-nav{
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .sw-wa-float{
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

.sw-install-float{
  position:fixed;
  right:16px;
  bottom:calc(88px + env(safe-area-inset-bottom));
  padding:10px 14px;
  border-radius:14px;
  background:#111827;
  color:#fff;
  border:none;
  font-weight:800;
  z-index:9999;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

/* PWA install bubble */
.sw-pwa-bubble{
  position:fixed;
  left:12px;
  right:12px;
  bottom:calc(88px + env(safe-area-inset-bottom));
  z-index:9997;
  transform: translateY(14px);
  opacity:0;
  pointer-events:none;
  transition: transform .2s ease, opacity .2s ease;
}
.sw-pwa-bubble.is-show{
  transform: translateY(0);
  opacity:1;
  pointer-events:auto;
}
.sw-pwa-bubble__inner{
  position:relative;
  background:#111827;
  color:#fff;
  border-radius:18px;
  padding:14px 14px 12px 14px;
  box-shadow:0 14px 34px rgba(0,0,0,.26);
  overflow:hidden;
}
.sw-pwa-bubble__inner::before{
  content:"";
  position:absolute;
  inset:-40px -60px auto auto;
  width:180px;
  height:180px;
  background:radial-gradient(circle at 30% 30%, rgba(252,128,25,.55), transparent 60%);
  filter:blur(10px);
  opacity:.9;
  transform: rotate(10deg);
}
.sw-pwa-bubble__close{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
  line-height:1;
}
.sw-pwa-bubble__title{
  position:relative;
  z-index:1;
  font-weight:900;
  font-size:15px;
  letter-spacing:.2px;
}
.sw-pwa-bubble__sub{
  position:relative;
  z-index:1;
  margin-top:4px;
  color:rgba(255,255,255,.75);
  font-size:12px;
}
.sw-pwa-bubble__actions{
  position:relative;
  z-index:1;
  margin-top:10px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

@media (max-width: 991.98px){
  .sw-pwa-bubble{
    bottom:calc(88px + env(safe-area-inset-bottom));
  }
}
.sw-brand-title{ font-weight:800; letter-spacing:.2px; }
.sw-brand-sub{ font-size:12px; color:rgba(255,255,255,.65); }

.sw-nav{ padding:12px 10px; }
.sw-nav__link{
  display:flex;
  align-items:center;
  gap:12px;
  color:rgba(255,255,255,.72);
  text-decoration:none;
  padding:10px 12px;
  border-radius:14px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.sw-nav__link:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
  transform: translateX(2px);
}
.sw-nav__link.is-active{
  background:rgba(252,128,25,.16);
  color:#fff;
}
.sw-nav__icon{ width:22px; text-align:center; opacity:.95; }
.sw-nav__icon i{ font-size:18px; line-height:1; }

.sw-topbar{
  position:sticky;
  top:0;
  z-index:5;
  background:rgba(244,244,245,.7);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(17,24,39,.06);
}

.sw-card{
  background:var(--sw-card);
  border:1px solid rgba(17,24,39,.06);
  border-radius:18px;
  box-shadow:0 8px 22px rgba(17,24,39,.06);
}

.sw-offer{
  position:relative;
  border-radius:18px;
  overflow:hidden;
}
.sw-offer__media{
  position:relative;
  height:220px;
  background:#111827;
}
.sw-offer__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 48%, rgba(0,0,0,0) 100%);
}
.sw-offer__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.sw-offer__content{
  position:relative;
  z-index:1;
  padding:22px 22px;
  max-width:720px;
}
.sw-offer__title{
  font-weight:900;
  color:#fff;
  line-height:1.15;
}
.sw-offer__subtitle{ color:rgba(255,255,255,.78); }

@media (max-width: 576px){
  .sw-offer__media{
    height:170px;
  }
  .sw-offer__content{ padding:16px; }
}

.sw-service{
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sw-service:hover{
  transform: translateY(-4px);
  border-color: rgba(252,128,25,.3);
  box-shadow:0 14px 30px rgba(17,24,39,.10);
}
.sw-badge{
  background:rgba(252,128,25,.12);
  color:var(--sw-orange);
  border-radius:999px;
  padding:4px 10px;
  font-weight:700;
  font-size:12px;
}

@media (max-width: 992px){
  .sw-sidebar{ width:100%; min-height:auto; position:relative; }
}

/* General mobile polish */
@media (max-width: 576px){
  .container-fluid{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .sw-topbar .container-fluid{
    padding-top:10px !important;
    padding-bottom:10px !important;
    flex-wrap:wrap;
    row-gap:8px;
  }
  .sw-card{
    border-radius:16px;
    box-shadow:0 6px 18px rgba(17,24,39,.06);
  }
  .sw-badge{
    font-size:11px;
    padding:4px 8px;
  }
  .table{
    font-size:13px;
  }
  .table td, .table th{
    white-space:nowrap;
  }
  .table td.text-muted{
    max-width:190px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .table-responsive{
    -webkit-overflow-scrolling:touch;
  }
  .form-control-lg, .form-select-lg{
    font-size:1rem;
  }
}
