/* ============================================
   ROYO SUPER APP — Unified Shell Styles
   Service Nav, Footer, Drawer
   (.shell-header* rules removed — header uses inline styles)
   ============================================ */

/* --- CSS Variables (overridden by Blade inline :root) --- */
:root {
  --shell-header-height: 64px;
  --shell-nav-height: 52px;
  --shell-font: 'Montserrat', sans-serif;
  --shell-radius: 8px;
  --shell-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shell-border: #e8e8e8;
  --shell-bg: #fff;
  --shell-text: #1a1a1a;
  --shell-text-muted: #686b78;
  --shell-hover-bg: #f5f5f5;
}

/* ============================================
   SERVICE NAVIGATION
   ============================================ */
.shell-service-nav {
  background: var(--shell-bg);
  border-bottom: 1px solid var(--shell-border);
  position: sticky;
  top: var(--shell-header-height);
  z-index: 99;
  font-family: var(--shell-font);
}

.shell-service-nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shell-service-nav__inner::-webkit-scrollbar {
  display: none;
}

.shell-service-nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}

.shell-service-nav__item {
  flex-shrink: 0;
}

.shell-service-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--shell-text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.shell-service-nav__link:hover {
  color: var(--shell-text);
  text-decoration: none;
}
.shell-service-nav__link.active {
  color: var(--theme-deafult);
  border-bottom-color: var(--theme-deafult);
  font-weight: 600;
}
.shell-service-nav__link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.shell-service-nav__link i {
  font-size: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.shell-footer {
  background: #f8f8f8;
  border-top: 1px solid var(--shell-border);
  font-family: var(--shell-font);
  padding: 48px 0 0;
  margin-top: 60px;
}

.shell-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.shell-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.shell-footer__brand img {
  height: 40px;
  margin-bottom: 16px;
}
.shell-footer__brand p {
  font-size: 13px;
  color: var(--shell-text-muted);
  line-height: 1.6;
  margin: 0;
}

.shell-footer__heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--shell-text);
  margin-bottom: 16px;
   text-transform: capitalize;
  letter-spacing: 0.5px;
}

.shell-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shell-footer__links li {
  margin-bottom: 8px;
}
.shell-footer__links a {
  font-size: 13px;
  color: var(--shell-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.shell-footer__links a:hover {
  color: var(--theme-deafult);
}

/* App download badges */
.shell-footer__apps {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.shell-footer__apps a img {
  height: 36px;
  border-radius: 6px;
}

/* Social icons */
.shell-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.shell-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shell-text-muted);
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
}
.shell-footer__social a:hover {
  background: var(--theme-deafult);
  color: #fff;
}

/* Footer bottom bar */
.shell-footer__bottom {
  border-top: 1px solid var(--shell-border);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.shell-footer__copyright {
  font-size: 12px;
  color: var(--shell-text-muted);
  margin: 0;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.shell-main {
  min-height: calc(100vh - var(--shell-header-height) - var(--shell-nav-height) - 200px);
  font-family: var(--shell-font);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .shell-service-nav__inner {
    padding: 0 16px;
  }
  .shell-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .shell-service-nav__link {
    padding: 10px 12px;
    font-size: 13px;
  }
  .shell-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shell-footer {
    padding: 32px 0 0;
  }
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.shell-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transition: left 0.3s ease;
  box-shadow: 4px 0 16px rgba(0,0,0,0.1);
  overflow-y: auto;
}
.shell-drawer.open {
  left: 0;
}
.shell-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}
.shell-drawer__overlay.show {
  display: block;
}

.shell-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--shell-border);
}
.shell-drawer__close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--shell-text-muted);
}

.shell-drawer__nav {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.shell-drawer__nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--shell-text);
  text-decoration: none;
}
.shell-drawer__nav li a:hover {
  background: var(--shell-hover-bg);
}
.shell-drawer__nav li a i {
  width: 20px;
  text-align: center;
  color: var(--shell-text-muted);
}

/* ============================================
   DARK MODE
   ============================================ */
body.dark .shell-service-nav {
  background: #1e1e1e;
  border-bottom-color: #333;
}
body.dark .shell-footer {
  background: #1a1a1a;
  border-top-color: #333;
}
body.dark .shell-service-nav__link {
  color: #999;
}
body.dark .shell-service-nav__link.active {
  color: var(--theme-deafult);
}
body.dark .shell-footer__links a {
  color: #888;
}
body.dark .shell-drawer {
  background: #1e1e1e;
}
