/* Threat Intelligence Page Specific Styles */
body { 
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  background-color: #f9fafb;
}

.sidebar-collapsed { 
  width: 64px !important; 
}
.sidebar-expanded { 
  width: 220px !important; 
}
.sidebar-icon { 
  min-width: 2rem; 
}

.sidebar-logo {
  transition: opacity 0.2s ease;
}

/* Sidebar link styles */
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #374151;
  border-radius: 0.375rem;
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-link:hover {
  background-color: #f3f4f6;
}

.sidebar-link.text-primary-700 {
  color: #1d4ed8;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .md\:hidden {
    display: none;
  }
  .md\:flex-row {
    flex-direction: column;
  }
  .md\:items-center {
    align-items: stretch;
  }

  /* Sidebar and Header Adjustments */
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    width: 280px !important;
  }
  #sidebar.mobile-open {
    transform: translateX(0);
  }
  #mainContent {
    margin-left: 0 !important;
  }
  #topHeader {
    left: 0 !important;
  }
  .sidebar-label {
    display: block !important;
  }
}

@media (max-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Threat Intelligence specific styles */
.threat-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.threat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Severity indicators */
.severity-critical {
  background-color: #fee2e2;
  color: #991b1b;
}

.severity-high {
  background-color: #fef3c7;
  color: #92400e;
}

.severity-medium {
  background-color: #d1fae5;
  color: #065f46;
}

/* IOC table styles */
.ioc-table-row {
  transition: background-color 0.2s ease;
}

.ioc-table-row:hover {
  background-color: #f9fafb;
}

/* Status indicators */
.status-indicator {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  display: inline-block;
}

.status-active {
  background-color: #d1fae5;
  color: #065f46;
}

.status-inactive {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}