@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --brand-color: #057471;
  --brand-hover-color: #04615f;
  --sw-bg: #f4f6f8;
  --sw-surface: #ffffff;
  --sw-line: #d9e2e8;
  --sw-text: #26313a;
  --sw-muted: #637381;
  --sw-dark: #1f2730;
  --sw-dark-soft: #27323d;
}

body.storewale-tools {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--sw-text);
  background:
    radial-gradient(circle at 0 0, rgba(5, 116, 113, 0.12), transparent 36%),
    radial-gradient(circle at 100% 0, rgba(5, 116, 113, 0.09), transparent 38%),
    var(--sw-bg);
}

body.storewale-tools h1,
body.storewale-tools h2,
body.storewale-tools h3,
body.storewale-tools h4 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

body.storewale-tools .max-w-7xl {
  max-width: 1380px !important;
}

body.storewale-tools > header {
  background:
    radial-gradient(circle at 12% -32%, rgba(108, 231, 205, 0.18), transparent 38%),
    radial-gradient(circle at 86% -58%, rgba(5, 116, 113, 0.35), transparent 56%),
    linear-gradient(124deg, #1c2631 0%, #223243 55%, #2f4253 100%) !important;
  border-bottom: 1px solid rgba(191, 210, 224, 0.2) !important;
  box-shadow: 0 5px 14px rgba(11, 21, 33, 0.22);
}

body.storewale-tools .store-header-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  flex-wrap: nowrap;
}

body.storewale-tools .store-brand {
  color: #f5f9fd !important;
  text-shadow: none !important;
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
  margin-right: 8px;
}

body.storewale-tools .store-brand img {
  height: 34px;
  width: auto;
  display: block;
}

body.storewale-tools #headerMenu {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  overflow-x: auto;
  scrollbar-width: none;
}

body.storewale-tools #headerMenu::-webkit-scrollbar {
  display: none;
}

body.storewale-tools #headerMenu a.store-nav-link {
  color: rgba(231, 240, 249, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0);
  transition: all 0.2s ease;
  white-space: nowrap;
}

body.storewale-tools #headerMenu a.store-nav-link:hover {
  color: #ffffff;
  border-color: rgba(228, 239, 248, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

body.storewale-tools .store-header-search {
  width: clamp(210px, 24vw, 320px);
  flex: 0 0 auto;
  margin-left: 6px;
}

body.storewale-tools .store-search-input {
  border-radius: 999px !important;
  color: #27343f !important;
  min-height: 40px;
  font-weight: 600;
  transition: all 0.22s ease;
}

body.storewale-tools .store-search-input::placeholder {
  color: #708292;
  font-weight: 500;
}

body.storewale-tools .store-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 116, 113, 0.16);
  border-color: rgba(5, 116, 113, 0.5) !important;
}

body.storewale-tools .store-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #708292;
  pointer-events: none;
}

body.storewale-tools .store-header-search .store-search-input {
  border: 1px solid rgba(188, 206, 220, 0.68) !important;
  background: rgba(247, 251, 255, 0.96) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 4px 12px rgba(10, 20, 34, 0.18);
  min-height: 38px;
}

body.storewale-tools .store-toolbar-search .store-search-input {
  border: 1px solid #d0dde7 !important;
  background: linear-gradient(180deg, #ffffff, #f7fafd) !important;
  box-shadow: 0 7px 18px rgba(17, 30, 44, 0.09);
  min-height: 46px;
}

body.storewale-tools .store-toolbar-search .store-search-icon {
  color: #6a7d8d;
}

body.storewale-tools .store-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: 4px;
}

body.storewale-tools .store-icon-btn {
  min-height: 34px;
  min-width: 34px;
  border-radius: 999px;
  border: 1px solid rgba(229, 239, 247, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #edf4fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

body.storewale-tools .store-icon-btn:hover {
  background: rgba(5, 116, 113, 0.28);
  border-color: rgba(5, 116, 113, 0.64);
  transform: translateY(-1px);
}

body.storewale-tools #heroSection {
  margin: 18px auto 0;
  max-width: 1380px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 88% -10%, rgba(5, 116, 113, 0.36), transparent 38%),
    linear-gradient(125deg, #1f2730, #27323d 58%, #30404d) !important;
  box-shadow: 0 22px 36px rgba(8, 15, 24, 0.34);
}

body.storewale-tools #heroTitle {
  color: #ffffff !important;
}

body.storewale-tools #heroSubtitle {
  color: rgba(231, 240, 249, 0.9) !important;
}

body.storewale-tools main.max-w-7xl {
  padding-top: 24px;
}

body.storewale-tools #view-grid > .flex {
  border: 1px solid #d8e3ea;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  box-shadow: 0 10px 28px rgba(22, 34, 46, 0.08);
  padding: 14px;
}

body.storewale-tools #publicCategoryParams {
  gap: 10px;
}

body.storewale-tools .store-filter-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d0dbe4;
  background: #ffffff;
  color: #3a5162;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

body.storewale-tools .store-filter-btn.active {
  background: var(--brand-color);
  border-color: var(--brand-color);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(5, 116, 113, 0.24);
}

body.storewale-tools #viewGridBtn,
body.storewale-tools #viewListBtn {
  color: #5a7282;
}

body.storewale-tools #viewGridBtn.active,
body.storewale-tools #viewListBtn.active {
  background-color: var(--brand-color) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(5, 116, 113, 0.24);
}

body.storewale-tools #toolsGrid {
  gap: 16px !important;
}

body.storewale-tools .store-list-card {
  border: 1px solid #d8e3ea !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(20, 42, 58, 0.08) !important;
  border-radius: 14px !important;
}

body.storewale-tools .store-list-card:hover {
  box-shadow: 0 14px 28px rgba(16, 40, 60, 0.18) !important;
}

body.storewale-tools .store-btn-primary {
  background: linear-gradient(135deg, #057471, #04615f) !important;
  color: #ffffff !important;
  border: 1px solid #04615f !important;
}

body.storewale-tools .store-btn-primary:hover {
  background: linear-gradient(135deg, #04615f, #03524f) !important;
}

body.storewale-tools #view-page {
  border: 1px solid #d8e3ea !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 24px rgba(20, 42, 58, 0.1) !important;
}

body.storewale-tools footer {
  border-top: 0 !important;
  background:
    radial-gradient(circle at 85% -26%, rgba(5, 116, 113, 0.23), transparent 44%),
    linear-gradient(180deg, #222d39 0%, #1a2430 100%) !important;
  color: rgba(230, 238, 246, 0.92);
}

body.storewale-tools #footerMenu a.store-footer-link {
  color: rgba(230, 238, 246, 0.82);
  transition: color 0.2s ease;
}

body.storewale-tools #footerMenu a.store-footer-link:hover {
  color: #ffffff;
}

body.storewale-tools #adminPanel > div {
  border: 1px solid #dce6ec !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 24px rgba(25, 45, 62, 0.07) !important;
}

body.storewale-tools #adminPanel nav button {
  border-radius: 8px;
}

body.storewale-tools #adminPanel nav button.border-brand,
body.storewale-tools #adminPanel nav button.text-brand {
  border-bottom-color: var(--brand-color) !important;
  color: var(--brand-color) !important;
  opacity: 1 !important;
}

body.storewale-tools .text-brand {
  color: var(--brand-color) !important;
}

body.storewale-tools .bg-brand {
  background-color: var(--brand-color) !important;
}

body.storewale-tools .hover\:bg-brand_hover:hover {
  background-color: var(--brand-hover-color) !important;
}

body.storewale-tools .bg-blue-600 {
  background-color: var(--brand-color) !important;
}

body.storewale-tools .hover\:bg-blue-700:hover {
  background-color: var(--brand-hover-color) !important;
}

body.storewale-tools .text-blue-600 {
  color: var(--brand-color) !important;
}

body.storewale-tools .text-blue-400,
body.storewale-tools .dark\:text-blue-400,
body.storewale-tools .hover\:text-blue-700:hover {
  color: var(--brand-color) !important;
}

body.storewale-tools .bg-blue-50 {
  background-color: rgba(5, 116, 113, 0.1) !important;
}

body.storewale-tools .hover\:bg-blue-50:hover {
  background-color: rgba(5, 116, 113, 0.14) !important;
}

body.storewale-tools .bg-blue-600\/20 {
  background-color: rgba(5, 116, 113, 0.2) !important;
}

body.storewale-tools .border-brand {
  border-color: var(--brand-color) !important;
}

body.storewale-tools .focus\:border-blue-600:focus {
  border-color: var(--brand-color) !important;
}

body.storewale-tools .focus\:ring-blue-500:focus {
  --tw-ring-color: rgba(5, 116, 113, 0.35) !important;
}

@media (max-width: 991.98px) {
  body.storewale-tools .store-header-shell {
    gap: 8px;
    min-height: 52px;
  }

  body.storewale-tools .store-brand {
    font-size: 1.35rem !important;
    margin-right: 2px;
  }

  body.storewale-tools #headerMenu a.store-nav-link {
    padding: 5px 9px;
    font-size: 10px;
  }

  body.storewale-tools .store-header-search {
    width: clamp(170px, 25vw, 240px);
  }

  body.storewale-tools .store-icon-btn {
    min-width: 32px;
    min-height: 32px;
  }

  body.storewale-tools #heroSection {
    border-radius: 0;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
  }

  body.storewale-tools #toolsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 767.98px) {
  body.storewale-tools .store-header-shell {
    gap: 8px;
    min-height: 50px;
  }

  body.storewale-tools .store-brand {
    font-size: 1.05rem !important;
    margin-right: 0;
  }

  body.storewale-tools .store-header-search {
    width: min(56vw, 220px);
    margin-left: auto;
  }

  body.storewale-tools .store-search-input {
    min-height: 36px;
    font-size: 13px;
  }

  body.storewale-tools .store-icon-btn {
    min-width: 32px;
    min-height: 32px;
  }

  body.storewale-tools #toolsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.storewale-tools #view-grid > .flex {
    padding: 10px;
  }

  body.storewale-tools footer .max-w-7xl {
    gap: 22px;
  }
}
