:root {
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --accent-color: #6edff6;
  --accent-dark: #5bbbd2;
  --text-color: #ffffff;
  --text-secondary: #aaaaaa;
  --error-color: #ff5252;
  --warning-bg: rgba(255, 82, 82, 0.1);
  --border-color: #333333;
  --empty-color: rgba(255, 0, 0, 0.05);
  --hover-color: #2a2a2a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  margin-bottom: 2.5rem;
  text-align: center;
}

h1 {
  font-weight: 500;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

h2 {
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

h2 i {
  margin-right: 0.8rem;
  color: var(--accent-color);
  font-size: 1.3rem;
}

h3 {
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.accent {
  color: var(--accent-color);
}

.card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dropzone {
  border: 2px dashed rgba(110, 223, 246, 0.6);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(110, 223, 246, 0.03), rgba(110, 223, 246, 0.01));
  position: relative;
  overflow: hidden;
}

.dropzone::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(110, 223, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.dropzone:hover::before {
  left: 100%;
}

.dropzone:hover {
  background: linear-gradient(135deg, rgba(110, 223, 246, 0.08), rgba(110, 223, 246, 0.04));
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 223, 246, 0.15);
}

.dropzone.highlight {
  background: linear-gradient(135deg, rgba(110, 223, 246, 0.15), rgba(110, 223, 246, 0.08));
  border-color: var(--accent-color);
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(110, 223, 246, 0.25);
}

/* Improved dropzone for touch devices */
@media (max-width: 768px) {
  .dropzone {
    padding: 2rem 1rem;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .dropzone .drop-icon i {
    font-size: 2.5rem;
  }
}

.drop-icon {
  margin-bottom: 1rem;
}

.drop-icon i {
  font-size: 3rem;
  color: var(--accent-color);
}

.button-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  background-color: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  text-decoration: none;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn i {
  margin-right: 0.6rem;
  font-size: 1.2rem;
}

.btn:hover:not(:disabled) {
  background-color: var(--hover-color);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(110, 223, 246, 0.25);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: #000000;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(110, 223, 246, 0.3);
}

.btn.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-dark), #4a9eb5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 223, 246, 0.4);
}

.btn.secondary {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.btn.small i {
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Progress Bar Styling */
.progress-container {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: rgba(0,0,0,0.2);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.progress-bar-container {
  height: 10px;
  background-color: var(--card-bg);
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--accent-color);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.quick-search {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.quick-search .search-input {
  flex: 1;
}

.search-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-input {
  width: 100%;
  padding: 0.9rem 2.8rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  font-size: 0.95rem;
  min-height: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(110, 223, 246, 0.15), 0 4px 20px rgba(110, 223, 246, 0.1);
  transform: translateY(-1px);
}

/* Prevent iOS zoom on focus */
@media (max-width: 768px) {
  input[type="text"],
  textarea,
  select {
    font-size: 16px;
  }
}

.search-icon, .clear-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-icon {
  left: 0.75rem;
}

.clear-icon {
  right: 0.75rem;
  cursor: pointer;
  opacity: 0.7;
}

.clear-icon:hover {
  opacity: 1;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.table-container {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch; /* Soepel scrollen op iOS */
  max-width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  position: relative;
}

/* Indicator that table can be scrolled horizontally on small screens */
@media (max-width: 768px) {
  .table-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, rgba(30, 30, 30, 0), rgba(30, 30, 30, 0.7));
    pointer-events: none;
    opacity: 0.7;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th, td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th {
  color: var(--accent-color);
  font-weight: 500;
  position: sticky;
  top: 0;
  background-color: var(--card-bg);
  z-index: 10;
}

tr:hover td {
  background-color: var(--hover-color);
}

.empty-cell {
  color: var(--text-secondary);
  font-style: italic;
  background-color: var(--empty-color);
}

.error-row td {
  background-color: var(--warning-bg);
  color: var(--error-color);
}

.hidden {
  display: none !important;
}

/* Touch feedback class voor mobiele apparaten */
.touch-active {
  opacity: 0.7 !important;
  transition: opacity 0.2s;
}

/* Expandable row styles */
.expandable-content {
  background-color: rgba(0,0,0,0.2);
  padding: 1rem;
  border-top: 1px dashed var(--border-color);
}

.expandable-content pre {
  white-space: pre-wrap;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-height: 300px;
  overflow-y: auto;
}

.expanded-row td {
  border-bottom: none !important;
}

/* Tabs for expandable content */
.expandable-tabs {
  display: flex;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.tab-button {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-button i {
  font-size: 1.1rem;
}

.tab-button.active {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

.tab-button:hover:not(.active) {
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.location-container {
  display: flex;
  flex-wrap: wrap;
}

.location-info {
  flex: 1;
  min-width: 250px;
}

.location-item {
  margin-bottom: 0.5rem;
}

.location-map {
  flex: 2;
  min-width: 300px;
  height: 250px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Contact Link styles */
.contact-link {
  color: var(--accent-color);
  text-decoration: none;
  word-break: break-all;
}

.contact-link:hover {
  text-decoration: underline;
}

/* OSINT Data styling */
.osint-data {
  color: var(--accent-color);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-color);
  padding-bottom: 1px;
}

.osint-data:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

.osint-data::after {
  content: " 🔍";
  font-size: 0.8em;
  opacity: 0.7;
}

.osint-data:hover::after {
  opacity: 1;
}

/* OSINT help text */
.osint-help {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Contact Information Styles */
.contact-container {
  padding: 0.5rem;
}

.contact-section {
  margin-bottom: 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 1rem;
  border: 1px solid var(--border-color);
}

.contact-section h3 {
  display: flex;
  align-items: center;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-section h3 i {
  margin-right: 0.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-item .label {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.contact-link {
  color: var(--accent-color);
  text-decoration: none;
  word-break: break-all;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Single IP Result Card Styles */
.result-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-top: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.result-header {
  background: linear-gradient(135deg, rgba(110, 223, 246, 0.12), rgba(110, 223, 246, 0.08));
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
}

.result-header h3 {
  margin: 0;
  color: var(--accent-color);
  font-weight: 600;
  flex: 1;
  text-align: left;
}

.badge {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(110, 223, 246, 0.3);
  white-space: nowrap;
  text-align: center;
  min-width: fit-content;
  flex-shrink: 0;
}

.result-body {
  padding: 1.25rem;
}

.result-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: space-between;
}

.result-item:last-child {
  margin-bottom: 0;
}

.label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 120px;
  flex-shrink: 0;
  text-align: left;
}

.value {
  color: var(--text-color);
  font-weight: 500;
  flex: 1;
  text-align: right;
  word-break: break-word;
}

.ip-badge {
  display: inline-flex;
  background-color: rgba(110, 223, 246, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  margin: 0.3rem 0.3rem 0.3rem 0;
  color: var(--text-color);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: fit-content;
}

.ip-badge .type {
  color: var(--accent-color);
  font-weight: 600;
  text-align: left;
}

.ip-badge .ip {
  text-align: right;
  font-weight: 500;
}

.ip-badge .lookup-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  font-size: 1rem;
  vertical-align: middle;
}

.ip-badge .lookup-btn:hover {
  color: var(--text-color);
}

.result-actions {
  padding: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.expanded-view {
  padding: 1rem;
  background-color: rgba(0,0,0,0.2);
  border-top: 1px solid var(--border-color);
  max-height: 300px;
  overflow-y: auto;
}

pre {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 4px;
  background-color: rgba(0,0,0,0.2);
}

/* Zoom effect for pre blocks on mobile devices */
@media (max-width: 768px) {
  pre.zoomed {
    font-size: 1.1rem;
    line-height: 1.5;
    background-color: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }
}

/* OSINT search options dialog */
.search-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.search-option {
  padding: 10px 15px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-option:hover {
  background-color: var(--hover-color);
  border-color: var(--accent-color);
}

.search-all {
  margin-top: 8px;
  background-color: rgba(110, 223, 246, 0.1);
  border-color: var(--accent-color);
}

/* Modal Styles */
.modal {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  color: var(--accent-color);
}

.close-modal {
  color: var(--text-secondary);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--accent-color);
}

.modal-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
  max-height: 70vh;
  -webkit-overflow-scrolling: touch;
}

/* OSINT Tool Links Styling */
.osint-link {
  display: inline-block;
  background-color: var(--card-bg);
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Phishing Check Styling */
.form-check {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.form-check-input {
  margin-right: 0.5rem;
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
  font-size: 0.9rem;
}

/* Toggle Switch Styling */
.toggle-switch-container {
  display: flex;
  align-items: center;
  margin: 0.75rem 0;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  vertical-align: middle;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 28px;
  border: 2px solid #555;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 0 3px rgba(110, 223, 246, 0.25);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
  background-color: #000;
}

.toggle-label {
  font-size: 0.9rem;
  cursor: pointer;
}

/* Verbetering voor touch-apparaten */
@media (max-width: 768px) {
  .toggle-switch {
    width: 58px;
    height: 32px;
  }
  
  .toggle-slider:before {
    height: 24px;
    width: 24px;
    left: 2px;
    top: 2px;
  }
  
  input:checked + .toggle-slider:before {
    transform: translateX(26px);
  }
  
  .toggle-label {
    font-size: 1rem;
  }
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin: 0.75rem 0;
}

.alert-success {
  background-color: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4CAF50;
}

.alert-warning {
  background-color: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  color: #FF9800;
}

.alert-danger {
  background-color: var(--warning-bg);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: var(--error-color);
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.heuristics-list {
  list-style-type: none;
  padding: 0;
}

.heuristics-list li {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.2);
}

.text-danger {
  color: var(--error-color);
}

.text-warning {
  color: #FF9800;
}

.text-success {
  color: #4CAF50;
}

.small {
  font-size: 0.85rem;
}

.text-muted {
  color: var(--text-secondary);
}

.osint-link:hover {
  background-color: var(--accent-color);
  color: #000000;
}

.tab-content[data-tab="tools"] {
  padding: 0.5rem;
}

.tab-content[data-tab="tools"].active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    min-height: 44px; /* Touch-vriendelijke grootte */
  }

  .quick-search {
    flex-direction: column;
  }
  
  /* Maak dropdown menu's en buttons touch-vriendelijk */
  .search-input, 
  input[type="text"], 
  textarea, 
  select,
  .btn,
  .tab-button {
    min-height: 44px; /* Touch-vriendelijke grootte */
    font-size: 16px; /* Voorkomt zoom op iOS */
  }
  
  /* Tabbladen verbeteringen voor mobiel */
  .expandable-tabs {
    flex-wrap: wrap;
  }
  
  .tab-button {
    flex: 1 0 auto;
    padding: 10px;
    min-width: 100px;
    justify-content: center;
  }
  
  /* OSINT data for touch devices */
  .osint-data {
    padding: 6px 8px;
    display: inline-block;
    margin: 3px 0;
    background-color: rgba(110, 223, 246, 0.1);
    border-radius: 4px;
  }
}

/* Extra kleine schermen zoals smartphones in portrait modus */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .card {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-wrapper {
    width: 100%;
  }
  
  .results-count {
    text-align: center;
    margin-top: 0.5rem;
  }
  
  /* Tabel aanpassingen voor heel kleine schermen */
  th, td {
    padding: 0.5rem 0.3rem;
    font-size: 0.8rem;
  }
  
  /* Modal aanpassingen */
  .modal-content {
    width: 95%;
    padding: 0.75rem;
  }
  
  /* IP badge aanpassingen */
  .ip-badge {
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  /* Locatie info */
  .location-container {
    flex-direction: column;
  }
  
  .location-map {
    height: 180px;
    margin-top: 1rem;
  }
  
  /* Improved vertical spacing */
  .btn {
    margin-bottom: 0.5rem;
  }
  
  .quick-search {
    gap: 0.5rem;
  }
  
  .result-item {
    margin-bottom: 1rem;
  }
  
  /* Better contrast for small text */
  .label {
    color: var(--accent-color);
  }
}

/* Security Checks Grid Layout */
.security-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 20px 0;
  padding: 25px;
  background: linear-gradient(135deg, rgba(110, 223, 246, 0.08), rgba(110, 223, 246, 0.04));
  border-radius: 16px;
  border: 1px solid rgba(110, 223, 246, 0.2);
  backdrop-filter: blur(10px);
}

/* Security expandable sections */
.security-expandable {
  margin: 15px 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
}

.security-expandable-header {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(110, 223, 246, 0.05);
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
}

.security-expandable-header:hover {
  background: rgba(110, 223, 246, 0.1);
}

.security-expandable-header h4 {
  margin: 0;
  color: var(--text-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-expandable-header i:last-child {
  color: var(--accent-color);
  transition: transform 0.2s ease;
}

.security-expandable.collapsed .security-expandable-header i:last-child {
  transform: rotate(180deg);
}

.security-expandable-content {
  padding: 15px;
  border-top: 1px solid var(--border-color);
}

.security-expandable.collapsed .security-expandable-content {
  display: none;
}

/* Security result item styling */
.security-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}

.security-result-item:last-child {
  border-bottom: none;
}

.security-result-item .label {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: left;
}

.security-result-item .value {
  color: var(--text-color);
  font-weight: 500;
  text-align: right;
  flex-shrink: 0;
}

/* Status indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  justify-content: center;
  min-width: fit-content;
  text-align: center;
}

.status-indicator.success {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.status-indicator.warning {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

.status-indicator.error {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
}

/* Alle security badge varianten naar rechts uitlijning */
.security-badge,
.security-badge.success,
.security-badge.score-high,
.security-badge.warning,
.security-badge.score-medium,
.security-badge.error,
.security-badge.score-low,
.security-badge.risk-low,
.security-badge.risk-medium,
.security-badge.risk-high {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  min-width: fit-content;
  flex-shrink: 0;
  margin-left: auto;
}

/* Security badge kleur varianten - behoud originele kleuren */
.security-badge.success,
.security-badge.score-high,
.security-badge.risk-low {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid #4CAF50;
}

.security-badge.warning,
.security-badge.score-medium,
.security-badge.risk-medium {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
  border: 1px solid #FF9800;
}

.security-badge.error,
.security-badge.score-low,
.security-badge.risk-high {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid #f44336;
}

/* Security code blocks */
.security-code {
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-color);
  display: inline-block;
  margin: 2px 0;
  word-break: break-all;
  max-width: 100%;
  text-align: right;
  direction: ltr;
}

/* Security list styling */
.security-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.security-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.security-list li:last-child {
  border-bottom: none;
}

.security-list li i {
  margin-right: 10px;
  font-size: 1rem;
  min-width: 20px;
}

.security-list li.warning {
  color: #FF9800;
}

.security-list li.error {
  color: #f44336;
}

.security-list li.success {
  color: #4CAF50;
}

.security-check-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(110, 223, 246, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(110, 223, 246, 0.1);
}

.security-check-item:hover {
  background: rgba(110, 223, 246, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(110, 223, 246, 0.15);
  border-color: rgba(110, 223, 246, 0.3);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  vertical-align: middle;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 28px;
  border: 2px solid #555;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 0 3px rgba(110, 223, 246, 0.25);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
  background-color: #000;
}

.toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  transition: color 0.3s ease;
}

.security-check-item:hover .toggle-label {
  color: var(--text-color);
}

/* Responsive design voor kleinere schermen */
@media (max-width: 768px) {
  .security-checks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
  }
  
  .toggle-label {
    font-size: 0.75rem;
  }
  
  .security-check-item {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .security-checks-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }
}

/* Security Check Results Styling */
.security-result-card {
  margin: 20px 0;
  padding: 25px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.security-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
  gap: 1rem;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(110, 223, 246, 0.2);
}

.security-result-header h3 {
  display: flex;
  align-items: center;
  margin: 0;
  flex: 1;
  text-align: left;
  color: var(--accent-color);
}

.security-result-header i {
  margin-right: 12px;
  font-size: 1.4rem;
  color: var(--accent-color);
}

.security-result-body {
  margin-top: 20px;
}

.security-result-body h6 {
  color: var(--accent-color);
  margin: 20px 0 12px 0;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.security-result-body p {
  margin: 12px 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.security-result-body strong {
  color: var(--text-color);
}

.security-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
  gap: 1rem;
}

.security-result-header h3 {
  display: flex;
  align-items: center;
  margin: 0;
  flex: 1;
  text-align: left;
}

.security-result-header i {
  margin-right: 10px;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.security-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  min-width: 60px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.grade-a-plus, .grade-a { 
  background: rgba(76, 175, 80, 0.2); 
  color: #4caf50; 
  border: 1px solid #4caf50;
}

.grade-b { 
  background: rgba(255, 193, 7, 0.2); 
  color: #ffc107; 
  border: 1px solid #ffc107;
}

.grade-c { 
  background: rgba(255, 152, 0, 0.2); 
  color: #ff9800; 
  border: 1px solid #ff9800;
}

.grade-d, .grade-f { 
  background: rgba(244, 67, 54, 0.2); 
  color: #f44336; 
  border: 1px solid #f44336;
}

.security-details {
  margin-top: 15px;
}

.security-details h6 {
  color: var(--accent-color);
  margin: 15px 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
}

.security-details p {
  margin: 8px 0;
  color: var(--text-secondary);
}

.security-details strong {
  color: var(--text-color);
}

.security-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.security-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.security-list li:last-child {
  border-bottom: none;
}

.security-list li i {
  margin-right: 10px;
  font-size: 1rem;
  min-width: 20px;
}

.security-list li strong {
  color: var(--text-color);
  margin-right: 8px;
}

.ssl-valid { color: #4caf50; }
.ssl-warning { color: #ffc107; }
.ssl-error { color: #f44336; }

/* Security error styling */
.security-result-card[style*="border-color: #dc3545"] {
  border-color: var(--error-color) !important;
  background: rgba(255, 82, 82, 0.05);
}

.security-result-card[style*="border-color: #dc3545"] .security-result-header {
  color: var(--error-color);
}

/* Container styling */
#securityChecksContainer {
  margin-top: 20px;
}

#securityChecksContainer:empty {
  display: none;
}

/* Loading states */
.security-loading {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
}

.security-loading i {
  animation: spin 1s linear infinite;
  color: var(--accent-color);
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================= */
/* NEW OSINT FEATURES STYLING                   */
/* ============================================= */

/* Historical Data Styling */
#historicalResult .osint-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-color);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

#historicalResult .osint-link:hover {
  background: rgba(110, 223, 246, 0.1);
  color: var(--accent-dark);
}

/* Certificate Intelligence Styling */

/* Loading Animation for OSINT Features */
.security-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.security-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.security-check-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(110, 223, 246, 0.3);
}

/* Enhanced Toggle Labels */
.toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  user-select: none;
  flex: 1;
}

/* OSINT Data Links */
.osint-data {
  color: var(--accent-color);
  cursor: pointer;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.osint-data:hover {
  background: rgba(110, 223, 246, 0.1);
  color: var(--accent-dark);
  text-decoration: underline;
}

/* Enhanced Security Code Blocks */
.security-code {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 10px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  color: #f0f6fc;
  margin: 8px 0;
  word-break: break-all;
  overflow-x: auto;
}

/* Responsive Adjustments for New Features */
@media (max-width: 768px) {
  .security-checks-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
  }
  
  .security-check-item {
    padding: 10px;
    gap: 10px;
  }
  
  .toggle-label {
    font-size: 0.85rem;
  }
  
  #fullReportResult .btn.small {
    width: 100%;
    margin: 5px 0;
    justify-content: center;
  }
  
  /* Improve mobile layout for security result cards */
  .security-result-card {
    margin-bottom: 15px;
  }
  
  .security-result-header h3 {
    font-size: 1.1rem;
  }
  
  .security-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
  .security-expandable-content {
    max-height: 250px;
    overflow-y: auto;
  }
}

/* Loading Animation for OSINT Features */
.osint-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.osint-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Enhanced Badges for Different Result Types */
.security-badge.score-high {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.security-badge.score-medium {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.security-badge.score-low {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Certificate Grade Badges */
.security-badge.grade-a,
.security-badge.grade-a-plus {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.security-badge.grade-b {
  background: rgba(139, 195, 74, 0.2);
  color: #8bc34a;
  border: 1px solid rgba(139, 195, 74, 0.3);
}

.security-badge.grade-c {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.security-badge.grade-d,
.security-badge.grade-f {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Interactive Elements Enhancement */
.security-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(110, 223, 246, 0.3);
}

.security-expandable-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Print Styles for Reports */
@media print {
  .security-result-card {
    break-inside: avoid;
    margin-bottom: 20px;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
  
  .security-result-header {
    background: #f5f5f5 !important;
    color: #333 !important;
  }
  
  .osint-link {
    color: #0066cc !important;
  }
}

/* Modal Styles for Subdomains Display */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--card-bg);
  margin: 5% auto;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

.modal-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
  color: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-modal {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--bg-color);
  transition: opacity 0.2s ease;
}

.close-modal:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 20px;
}

.subdomains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.subdomain-item {
  padding: 8px 12px;
  background: rgba(110, 223, 246, 0.1);
  border: 1px solid rgba(110, 223, 246, 0.3);
  border-radius: 4px;
  word-break: break-all;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.subdomain-item i {
  margin-right: 8px;
  color: var(--accent-color);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Mobile responsive modal */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .subdomains-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-header {
    padding: 15px;
  }
  
  .modal-body {
    padding: 15px;
  }
}
