body.aakaari-mobile-open {
  overflow: hidden;
}

.aakaari-header {
  top: 0;
}

.aakaari-brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 280px;
}

.aakaari-header-dashboard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #d2def2;
  background: #ffffff;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aakaari-header-dashboard-btn:hover {
  background: #eaf2ff;
  border-color: #b8cdf2;
  color: #1d4ed8;
}

.aakaari-header-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
}

.aakaari-header-start-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 16px 30px rgba(29, 78, 216, 0.35);
}

.aakaari-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.aakaari-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -20px 60px rgba(15, 23, 42, 0.2);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom);
}

.aakaari-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at top left, rgba(59, 130, 246, 0.2), transparent 60%);
  pointer-events: none;
}

.aakaari-sheet-shell {
  position: relative;
  z-index: 1;
  padding: 10px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aakaari-sheet-handle {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  margin: 0 auto;
}

body.aakaari-mobile-open .aakaari-sheet-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.aakaari-mobile-open .aakaari-sheet {
  transform: translateY(0);
}

.aakaari-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aakaari-sheet-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aakaari-sheet-logo {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.aakaari-sheet-logo-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.aakaari-sheet-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94a3b8;
  margin: 0;
}

.aakaari-sheet-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.aakaari-sheet-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aakaari-sheet-close:hover {
  transform: rotate(6deg);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.aakaari-sheet-nav {
  display: grid;
  gap: 10px;
}

.aakaari-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  font-weight: 600;
  color: #0f172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.aakaari-sheet-link:hover {
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.14);
}

.aakaari-sheet-link-active {
  color: #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.05));
  border-color: rgba(37, 99, 235, 0.35);
}

.aakaari-sheet-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.aakaari-sheet-cta {
  display: grid;
  gap: 12px;
}

.aakaari-sheet-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.aakaari-sheet-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.35);
}

.aakaari-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.08);
  font-size: 13px;
  color: #1e293b;
}

.aakaari-sheet-footer-link {
  font-weight: 600;
  color: #2563eb;
}

body.aakaari-mobile-open .aakaari-sheet-link {
  animation: aakaari-sheet-item 0.35s ease both;
}

body.aakaari-mobile-open .aakaari-sheet-link:nth-child(1) { animation-delay: 0.05s; }
body.aakaari-mobile-open .aakaari-sheet-link:nth-child(2) { animation-delay: 0.08s; }
body.aakaari-mobile-open .aakaari-sheet-link:nth-child(3) { animation-delay: 0.11s; }
body.aakaari-mobile-open .aakaari-sheet-link:nth-child(4) { animation-delay: 0.14s; }
body.aakaari-mobile-open .aakaari-sheet-link:nth-child(5) { animation-delay: 0.17s; }

@keyframes aakaari-sheet-item {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aakaari-sheet,
  .aakaari-sheet-link,
  .aakaari-sheet-overlay {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .aakaari-sheet,
  .aakaari-sheet-overlay,
  [data-mobile-menu-toggle] {
    display: none !important;
  }
}

body.admin-bar .aakaari-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .aakaari-header {
    top: 46px;
  }
}
