/*
  Tool-page dark theme overrides.
  Loaded last (injected by js/navigation.js) to beat per-page <style> blocks.
*/

body.dark-tech-theme .hero-section.tool-hero .tool-form input,
body.dark-tech-theme .hero-section.tool-hero .tool-form textarea,
body.dark-tech-theme .hero-section.tool-hero .tool-form select {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Hero form panel (right side) */
body.dark-tech-theme .hero-panel {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .hero-panel-header {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Speed Test tool (tools/speed-test.html) */
body.dark-tech-theme .speed-hero {
  background: transparent !important;
}

body.dark-tech-theme .speed-test-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .speed-test-header {
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .speed-test-header h2 {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.dark-tech-theme .speed-test-header p {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .speed-iframe-wrapper {
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .speed-test-info {
  background: rgba(255, 255, 255, 0.05) !important;
  border-left-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .speed-info-text h4 {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .speed-info-text p,
body.dark-tech-theme .speed-info-text a {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .speed-info-text a {
  text-decoration-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .metrics-grid .metric-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .metrics-grid .metric-card h3 {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .metrics-grid .metric-card p {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .metrics-grid .metric-card strong {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-tech-theme .quick-link-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
}

/* Speed Test: Requirements + Improve Speed sections */
body.dark-tech-theme .speed-requirements-modern {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .requirement-row {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .requirement-row:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

body.dark-tech-theme .requirement-activity {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .tip-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .tip-card:hover {
  border-color: rgba(138, 125, 255, 0.55) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .tip-card h4 {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .tip-card ul,
body.dark-tech-theme .tip-card li {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .hero-section.tool-hero .tool-form input::placeholder,
body.dark-tech-theme .hero-section.tool-hero .tool-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.dark-tech-theme .hero-section.tool-hero .tool-form input:focus,
body.dark-tech-theme .hero-section.tool-hero .tool-form textarea:focus,
body.dark-tech-theme .hero-section.tool-hero .tool-form select:focus {
  outline: none !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(138, 125, 255, 0.18) !important;
}

/* VPN Detection page-specific classes */
body.dark-tech-theme .vpn-result-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark-tech-theme .ip-checked {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-tech-theme .risk-indicator {
  background: rgba(255, 255, 255, 0.05) !important;
}

body.dark-tech-theme .risk-bar {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* Generic cards/boxes used across multiple tools */
body.dark-tech-theme .detail-item,
body.dark-tech-theme .result-note,
body.dark-tech-theme .indicator-list li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Common light “note” or “callout” backgrounds */
body.dark-tech-theme .risk-indicator,
body.dark-tech-theme .detail-item,
body.dark-tech-theme .result-note {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Sections that are forced light in css/styles.css */
body.dark-tech-theme .info-section {
  background: transparent !important;
}

body.dark-tech-theme .info-section h2,
body.dark-tech-theme .info-section h3,
body.dark-tech-theme .info-section h4,
body.dark-tech-theme .faq-section h2,
body.dark-tech-theme .faq-item h3,
body.dark-tech-theme .whats-my-ip-section h2,
body.dark-tech-theme .info-card h3 {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .info-section p,
body.dark-tech-theme .faq-item p,
body.dark-tech-theme .info-card p,
body.dark-tech-theme .feature-content p {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .info-card,
body.dark-tech-theme .feature-item,
body.dark-tech-theme .accuracy-item,
body.dark-tech-theme .ip-type {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .info-card,
body.dark-tech-theme .ip-type {
  border-left-color: rgba(138, 125, 255, 0.55) !important;
  border-top-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .faq-section,
body.dark-tech-theme .whats-my-ip-section {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .privacy-section {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark-tech-theme .privacy-section h2,
body.dark-tech-theme .privacy-content,
body.dark-tech-theme .privacy-content strong {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-tech-theme .privacy-content li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-left-color: rgba(138, 125, 255, 0.55) !important;
}

/* Prevent white hover flash on the "Protect Your Online Privacy" link cards
   (vpn-detection.html defines a late body <style> with background: #f0f9ff). */
body.dark-tech-theme .info-section a[href*="index.html"]:hover,
body.dark-tech-theme .info-section a[href*="blog/"]:hover,
body.dark-tech-theme .info-section a[href*="tools/"]:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
}

/* Browser Info tool (tools/browser-info.html) */
body.dark-tech-theme .tool-header h1 {
  color: rgba(255, 255, 255, 0.96) !important;
}

body.dark-tech-theme .tool-header p {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .tool-header .hero-eyebrow {
  color: #8a7dff !important;
}

body.dark-tech-theme .hero-meta span {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .content-wrapper {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .ad-placeholder {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-tech-theme .privacy-score {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .privacy-score-label {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-tech-theme .privacy-score-value,
body.dark-tech-theme .privacy-score-total {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.dark-tech-theme .privacy-grade {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .privacy-meter {
  background: rgba(255, 255, 255, 0.14) !important;
}

body.dark-tech-theme .privacy-info-title {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .privacy-summary {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .privacy-breakdown li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

body.dark-tech-theme .tab-nav {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .tab-btn {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .tab-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-tech-theme .tab-btn.active {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.dark-tech-theme .card-title {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .info-row {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .ua-box {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .copy-btn {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .education-section {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .education-title {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .edu-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .edu-card:hover {
  border-color: rgba(138, 125, 255, 0.55) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .edu-card h4 {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .edu-card p {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .edu-link {
  color: #8a7dff !important;
}

body.dark-tech-theme .related-tool-link {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-tech-theme .related-tool-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .faq-answer a {
  color: #8a7dff !important;
  text-decoration-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .score-breakdown-detail,
body.dark-tech-theme .score-category,
body.dark-tech-theme .improvement-steps li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .improvement-steps li p,
body.dark-tech-theme .improvement-steps li,
body.dark-tech-theme .score-breakdown-detail p,
body.dark-tech-theme .score-category li {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* DNS Lookup tool (tools/dns-lookup.html) */
body.dark-tech-theme .record-type-bar-header {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Remove the extra wrapper outline behind each pill */
body.dark-tech-theme .record-type-toggle {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Record type “buttons” are labels */
body.dark-tech-theme .record-type-label {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .record-type-label:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .record-type-toggle input:checked + .record-type-label {
  background: linear-gradient(
    135deg,
    rgba(138, 125, 255, 0.65),
    rgba(99, 102, 241, 0.65)
  ) !important;
  border-color: rgba(138, 125, 255, 0.85) !important;
  color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: none !important;
}

/* DNS Lookup: bottom CTA contrast ("Need More Network Tools?") */
body.dark-tech-theme .more-tools-cta {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-tech-theme .more-tools-cta h2 {
  color: rgba(255, 255, 255, 0.98) !important;
}

body.dark-tech-theme .more-tools-cta p {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.dark-tech-theme .more-tools-cta p a {
  color: rgba(255, 255, 255, 0.98) !important;
  text-decoration-color: rgba(255, 255, 255, 0.85) !important;
}

body.dark-tech-theme .more-tools-cta-actions > a {
  background: rgba(255, 255, 255, 0.92) !important;
  color: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .more-tools-cta-actions > a:hover {
  background: rgba(255, 255, 255, 0.98) !important;
}

/* Results panel + sticky header */
body.dark-tech-theme .results-panel {
  border-left-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .results-header {
  background: rgba(10, 12, 20, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .export-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .export-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .results-content {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.dark-tech-theme .empty-state {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.dark-tech-theme .empty-state-text {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .empty-state-subtext {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Result cards (rendered by js/dns-lookup.js) */
body.dark-tech-theme .result-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.dark-tech-theme .record-desc {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-tech-theme .record-count {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .record-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .record-item:hover {
  border-color: rgba(138, 125, 255, 0.55) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .record-meta,
body.dark-tech-theme .record-meta-label {
  color: rgba(255, 255, 255, 0.68) !important;
}

body.dark-tech-theme .copy-btn {
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-tech-theme .copy-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
}

/* Query stats (top of results) */
body.dark-tech-theme .query-stats {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* styles.css defines a global `.stat-item` as a white card; DNS results uses it */
body.dark-tech-theme .query-stats .stat-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .stat-value {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .stat-label {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* DNS Lookup: minor UX polish (query panel text + input width) */
body.dark-tech-theme .split-grid {
  grid-template-columns: 520px 1fr !important;
}

body.dark-tech-theme .panel-header {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .input-group label,
body.dark-tech-theme .dns-server-select label {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.dark-tech-theme .input-group input {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  text-align: left !important;
  font-size: 0.98rem !important;
  padding-left: 1rem !important;
  padding-right: 3.25rem !important;
}

body.dark-tech-theme .input-group input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.dark-tech-theme .input-group input:focus {
  border-color: rgba(138, 125, 255, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(138, 125, 255, 0.18) !important;
}

body.dark-tech-theme .dns-server-select select {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark-tech-theme .dns-server-select select:focus {
  border-color: rgba(138, 125, 255, 0.75) !important;
}

/* DNS Lookup: "Understanding DNS Record Types" cards - consistent golden border */
body.dark-tech-theme .dns-record-types > div > div {
  border: 1px solid rgba(251, 191, 36, 0.75) !important;
  outline: 1px solid rgba(251, 191, 36, 0.35) !important;
  outline-offset: 0 !important;
}

/* WHOIS Lookup tool (tools/whois-lookup.html) */
body.dark-tech-theme .whois-lookup-panel,
body.dark-tech-theme .whois-results-panel,
body.dark-tech-theme .content-card,
body.dark-tech-theme .feature-item,
body.dark-tech-theme .related-tool-card {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .whois-lookup-panel h3,
body.dark-tech-theme .results-header h3,
body.dark-tech-theme .content-card h2,
body.dark-tech-theme .feature-item h4,
body.dark-tech-theme .related-tool-info h4 {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.dark-tech-theme .content-card p,
body.dark-tech-theme .feature-item p,
body.dark-tech-theme .related-tool-info p {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-tech-theme .content-card a {
  color: #8a7dff !important;
  text-decoration-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .whois-info-box {
  background: rgba(255, 255, 255, 0.06) !important;
  border-left-color: rgba(251, 191, 36, 0.85) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-tech-theme .results-header {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-tech-theme .export-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .export-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(138, 125, 255, 0.55) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .related-tool-icon {
  color: rgba(138, 125, 255, 0.95) !important;
}

/* WHOIS: hero background should follow dark tech theme */
body.dark-tech-theme .whois-hero {
  background: linear-gradient(
    135deg,
    rgba(10, 12, 20, 0.96),
    rgba(19, 7, 33, 0.96)
  ) !important;
}

/* WHOIS: results content generated by js/whois-lookup.js */
body.dark-tech-theme .whois-results-panel .result-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .whois-results-panel .result-card h3 {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.dark-tech-theme .whois-results-panel .info-item,
body.dark-tech-theme .whois-results-panel .ns-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

body.dark-tech-theme .whois-results-panel .info-item:hover,
body.dark-tech-theme .whois-results-panel .ns-item:hover {
  border-color: rgba(138, 125, 255, 0.55) !important;
}

body.dark-tech-theme .whois-results-panel .info-label {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.dark-tech-theme .whois-results-panel .info-value {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-tech-theme .whois-results-panel .empty-state,
body.dark-tech-theme .whois-results-panel .empty-state h4,
body.dark-tech-theme .whois-results-panel .empty-state p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* WHOIS: loading message is injected with inline color (#6b7280) */
body.dark-tech-theme #resultsContent p[style*="color:"] {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* WHOIS: export button sizing/alignment (COPY/CSV) */
body.dark-tech-theme .whois-results-panel .export-buttons {
  align-items: center !important;
}

body.dark-tech-theme .whois-results-panel .export-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  gap: 0.45rem !important;
  padding: 0.6rem 1rem !important;
  min-height: 42px !important;
  border-radius: 10px !important;
}

body.dark-tech-theme .whois-results-panel .export-btn .export-icon {
  font-size: 1rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
}

body.dark-tech-theme .whois-results-panel .export-btn .export-text {
  line-height: 1 !important;
}
