/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
.navbar[b-1lnhnt7yf2] {
  padding: 0.75rem 0;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand[b-1lnhnt7yf2] {
  font-size: 1.25rem;
  color: #1e293b !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon[b-1lnhnt7yf2] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.nav-link[b-1lnhnt7yf2] {
  color: #475569 !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9375rem;
}

.nav-link:hover[b-1lnhnt7yf2] {
  color: #2563eb !important;
  background-color: #eff6ff;
}

.main-content[b-1lnhnt7yf2] {
  padding-top: 76px;
  min-height: calc(100vh - 200px);
}

.footer[b-1lnhnt7yf2] {
  background-color: #0f172a;
  color: #94a3b8;
  margin-top: auto;
}

.footer-brand[b-1lnhnt7yf2] {
  font-weight: 600;
  color: #fff;
  font-size: 1.25rem;
}

.footer-heading[b-1lnhnt7yf2] {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links[b-1lnhnt7yf2] {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li[b-1lnhnt7yf2] {
  margin-bottom: 0.5rem;
}

.footer-links a[b-1lnhnt7yf2] {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover[b-1lnhnt7yf2] {
  color: #fff;
}

.social-link[b-1lnhnt7yf2] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover[b-1lnhnt7yf2] {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-bottom[b-1lnhnt7yf2] {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse[b-1lnhnt7yf2] {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  }

  .nav-link[b-1lnhnt7yf2] {
    padding: 0.625rem 1rem !important;
  }

  .main-content[b-1lnhnt7yf2] {
    padding-top: 70px;
  }

  .tools-mega-menu[b-1lnhnt7yf2] {
    position: static !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1rem !important;
  }

  .tools-mega-grid[b-1lnhnt7yf2] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* ===========================
   TOOLS MEGA MENU
   =========================== */
.navbar .container[b-1lnhnt7yf2] {
  position: relative;
}

.tools-mega-menu[b-1lnhnt7yf2] {
  position: fixed !important;
  top: auto !important;
  width: 1100px;
  max-width: calc(100vw - 2rem);
  padding: 1.25rem !important;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  right: auto !important;
  left: auto !important;
}

.tools-mega-grid[b-1lnhnt7yf2] {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1.25rem;
}

.tools-mega-col[b-1lnhnt7yf2] {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.tools-mega-heading[b-1lnhnt7yf2] {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0 0 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.tools-mega-link[b-1lnhnt7yf2] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 450;
  transition: all 120ms ease;
  line-height: 1.3;
}

.tools-mega-link:hover[b-1lnhnt7yf2] {
  background-color: #f8fafc;
  color: #2563eb;
}

.tools-mega-icon[b-1lnhnt7yf2] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.tools-mega-all[b-1lnhnt7yf2] {
  display: block;
  margin-top: 0.5rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 120ms ease;
}

.tools-mega-all:hover[b-1lnhnt7yf2] {
  background-color: #eff6ff;
  color: #1d4ed8;
}

/* Search input in mega menu */
.tools-mega-search[b-1lnhnt7yf2] {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.tools-mega-search-input[b-1lnhnt7yf2] {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #f8fafc;
}

.tools-mega-search-input:focus[b-1lnhnt7yf2] {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fff;
}

.tools-mega-search-icon[b-1lnhnt7yf2] {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* Expand button */
.tools-mega-expand[b-1lnhnt7yf2] {
  display: block;
  width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.25rem;
  border: none;
  background: none;
  color: #2563eb;
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: background 0.12s;
}

.tools-mega-expand:hover[b-1lnhnt7yf2] {
  background: #eff6ff;
}

/* Footer link */
.tools-mega-footer[b-1lnhnt7yf2] {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.tools-mega-view-all[b-1lnhnt7yf2] {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.12s;
}

.tools-mega-view-all:hover[b-1lnhnt7yf2] {
  background: #eff6ff;
  color: #1d4ed8;
}

/* Extra tools hidden by default */
.tools-mega-extra[b-1lnhnt7yf2] {
  overflow: hidden;
}

/* Responsive: hide expand on small screens */
@media (max-width: 768px) {
  .tools-mega-expand[b-1lnhnt7yf2] {
    display: none !important;
  }
  .tools-mega-extra[b-1lnhnt7yf2] {
    display: block !important;
  }
}

/* Category icon colors */
[data-category="developer"] .tools-mega-icon[b-1lnhnt7yf2] { background: #eff6ff; color: #2563eb; }
[data-category="image"] .tools-mega-icon[b-1lnhnt7yf2] { background: #fef3c7; color: #d97706; }
[data-category="design"] .tools-mega-icon[b-1lnhnt7yf2] { background: #fce7f3; color: #be185d; }
[data-category="css tools"] .tools-mega-icon[b-1lnhnt7yf2] { background: #ede9fe; color: #7c3aed; }
[data-category="data viz"] .tools-mega-icon[b-1lnhnt7yf2] { background: #e0f2fe; color: #0284c7; }
[data-category="text"] .tools-mega-icon[b-1lnhnt7yf2] { background: #f0fdf4; color: #16a34a; }
[data-category="business"] .tools-mega-icon[b-1lnhnt7yf2] { background: #fefce8; color: #ca8a04; }
[data-category="finance"] .tools-mega-icon[b-1lnhnt7yf2] { background: #ecfdf5; color: #059669; }
[data-category="time & date"] .tools-mega-icon[b-1lnhnt7yf2] { background: #e0e7ff; color: #4f46e5; }
[data-category="math"] .tools-mega-icon[b-1lnhnt7yf2] { background: #fdf2f8; color: #db2777; }
[data-category="audio"] .tools-mega-icon[b-1lnhnt7yf2] { background: #fee2e2; color: #dc2626; }

/* Search result icons default */
#tool-search-list .tools-mega-icon[b-1lnhnt7yf2] { background: #f1f5f9; color: #475569; }
