/* TopSecure Modern Enterprise Security Styles */
:root {
  --primary: #0a192f;
  --primary-light: #172a45;
  --secondary: #0066cc;
  --accent: #00d2ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f1f5f9;
  --border-color: #cbd5e1;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: #f1f5f9;
}

.top-bar {
  background-color: #0b1526;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #0284c7;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0284c7;
  border-radius: 2px;
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-header {
  background: linear-gradient(135deg, #091e3a 0%, #0d284f 50%, #103366 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
  border-color: #94a3b8;
}

.footer-section {
  background-color: #07101e;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
}
