/* Bloomberg Theme Override for Blog Pages */
/* Override Tailwind blue classes with black/white theme */

/* Header background and borders */
.bg-white { background-color: #ffffff !important; }
.border-blue-100 { border-color: #e5e7eb !important; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }

/* Text colors */
.text-blue-700 { color: #000000 !important; }
.text-blue-600 { color: #000000 !important; }
.hover\:text-blue-700:hover { color: #333333 !important; }
.text-gray-900 { color: #000000 !important; }

/* Background gradients */
.bg-gradient-to-br { background: #ffffff !important; }
.from-blue-50 { background: #ffffff !important; }
.via-white { background: #ffffff !important; }
.to-purple-50 { background: #ffffff !important; }

/* Button and link styles */
.bg-blue-600 { background-color: #000000 !important; }
.bg-purple-600 { background-color: #000000 !important; }
.hover\:bg-blue-700:hover { background-color: #333333 !important; }
.hover\:bg-purple-700:hover { background-color: #333333 !important; }
.bg-blue-700 { background-color: #000000 !important; }
.hover\:bg-blue-800:hover { background-color: #333333 !important; }

/* Navigation styles */
.bg-blue-900 { background-color: #000000 !important; }
.hover\:bg-blue-800:hover { background-color: #333333 !important; }
.text-blue-300 { color: #ffffff !important; }
.hover\:text-white:hover { color: #cccccc !important; }

/* Card and content styling */
.bg-blue-50 { background-color: #f8f9fa !important; }
.border-blue-200 { border-color: #e5e7eb !important; }
.bg-gray-100 { background-color: #f8f9fa !important; }
.hover\:bg-blue-50:hover { background-color: #f1f1f1 !important; }

/* Ensure financial professionalism */
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Bloomberg-style header */
header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}

header h1 {
  color: #000000 !important;
}

header .text-blue-700 {
  color: #000000 !important;
  opacity: 0.8;
}

/* Mobile menu styling */
.bg-blue-900 {
  background-color: #ffffff !important;
}

/* Footer styling */
footer {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-top: 1px solid #e5e7eb !important;
}

/* Bloomberg-style Stock Screener Table */
.bloomberg-table {
  border-collapse: collapse !important;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 13px !important;
  width: 100% !important;
  background: #ffffff !important;
}

.bloomberg-table thead {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.bloomberg-table th {
  padding: 8px 12px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid #e5e7eb !important;
  user-select: none !important;
}

.bloomberg-table th:hover {
  background-color: #f1f3f4 !important;
}

.bloomberg-table td {
  padding: 6px 12px !important;
  border-bottom: 1px solid #f1f3f4 !important;
  color: #000000 !important;
  font-size: 13px !important;
}

.bloomberg-table tbody tr {
  transition: background-color 0.1s ease !important;
}

.bloomberg-table tbody tr:nth-child(even) {
  background-color: #fafbfc !important;
}

.bloomberg-table tbody tr:hover {
  background-color: #f8f9fa !important;
}

.bloomberg-table .numeric {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
  text-align: right !important;
  font-weight: 500 !important;
}

.bloomberg-table .ticker-link {
  color: #000000 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.bloomberg-table .ticker-link:hover {
  text-decoration: underline !important;
}

/* Bloomberg-style Filter Pills */
.bloomberg-filter-container {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 6px !important;
  padding: 12px !important;
  margin-bottom: 1rem !important;
}

.bloomberg-filter-pill {
  padding: 4px 8px !important;
  font-size: 11px !important;
  border-radius: 12px !important;
  border: 1px solid #dee2e6 !important;
  background: #ffffff !important;
  color: #495057 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.bloomberg-filter-pill:hover {
  background: #e9ecef !important;
  border-color: #adb5bd !important;
}

.bloomberg-filter-pill.active {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.bloomberg-filter-pill.clear {
  background: #dc3545 !important;
  color: #ffffff !important;
  border-color: #dc3545 !important;
}

.bloomberg-filter-pill.clear:hover {
  background: #c82333 !important;
  border-color: #bd2130 !important;
}

/* Bloomberg-style Search Bar */
.bloomberg-search {
  border: 1px solid #ced4da !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  width: 100% !important;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
  background: #ffffff !important;
  color: #000000 !important;
}

.bloomberg-search:focus {
  outline: none !important;
  border-color: #000000 !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
}

.bloomberg-search::placeholder {
  color: #6c757d !important;
}

/* Bloomberg-style Info Box */
.bloomberg-info {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 6px !important;
  padding: 12px !important;
  font-size: 12px !important;
  color: #6c757d !important;
  margin-top: 1rem !important;
}

/* Bloomberg-style Sticky Navigation */
.bloomberg-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background: #ffffff !important;
  padding: 0.5rem 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-bottom: 1rem !important;
}

.bloomberg-nav a {
  color: #000000 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.bloomberg-nav a:hover {
  color: #333333 !important;
}

/* Bloomberg-style Page Title */
.bloomberg-title {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  margin-bottom: 1rem !important;
  text-align: left !important;
  letter-spacing: -0.025em !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Bloomberg-style Status Bar */
.bloomberg-status {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1rem !important;
  font-size: 12px !important;
  color: #6c757d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bloomberg-table {
    font-size: 11px !important;
  }
  
  .bloomberg-table th {
    font-size: 10px !important;
    padding: 6px 8px !important;
  }
  
  .bloomberg-table td {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
  
  .bloomberg-filter-pill {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }
  
  .bloomberg-title {
    font-size: 2rem !important;
  }
}
