.input-field {
  font-size: 3.5vw;
  font-weight: bold;
  text-align: center;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.buttons-container .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 50%;
}

/* Optional: customization of the first and second buttons for rounded corners */
.buttons-container .btn:first-child {
  border-top-right-radius: .25rem; /* Same radius as the search bar */
  border-bottom-right-radius: 0;
}

.buttons-container .btn:last-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: .25rem; /* Same radius as the search bar */
}

/* Make sure that the buttons have the same overall height as the search bar */
.input-group {
  display: flex;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  margin-left: -1px; /* Prevents duplicate frames between search bar and buttons */
}

[data-bs-theme="light"] {
  .btn-outline-secondary {
     border-color: #6c757d;
     color: #565b5e; 
  }
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: #fff;
}

.btn-outline-secondary:focus, .btn-outline-secondary:active {
  box-shadow: none;
}

[data-bs-theme="dark"] {
  .btn-outline-secondary {
    border-color: #dcdfe5;
    color: #dcdfe5;
  }
}

/* Theme Toggle Button - Icon Only Style */
.theme-toggle-btn {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--bs-body-color);
  --bs-btn-hover-bg: rgba(var(--bs-body-color-rgb), 0.1);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: var(--bs-body-color-rgb);
  --bs-btn-active-color: var(--bs-body-color);
  --bs-btn-active-bg: rgba(var(--bs-body-color-rgb), 0.2);
  --bs-btn-active-border-color: transparent;
  
  background-color: transparent;
  border: none;
  color: var(--bs-body-color);
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  min-width: auto;
  padding: 0.375rem 0.75rem;
}

.theme-toggle-btn:hover {
  background-color: rgba(var(--bs-body-color-rgb), 0.1);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: none;
}

.theme-toggle-btn:active {
  background-color: rgba(var(--bs-body-color-rgb), 0.2);
  border-color: transparent;
  transform: translateY(0);
}

.theme-toggle-btn:focus {
  box-shadow: none;
  outline: none;
}

.theme-toggle-btn:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-body-color-rgb), 0.25);
}

.theme-toggle-btn.theme-switching {
  transform: scale(0.95);
}

.theme-toggle-btn .theme-icon {
  transition: transform 0.3s ease;
}

.theme-toggle-btn.theme-switching .theme-icon {
  transform: rotate(180deg);
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

/* Country flags */
.opacity {
  -webkit-filter: opacity(.8);
  filter: opacity(.8);
}

/* Table: Results */
/* Prevent text from overflowing in table cells */
.table td, .table th {
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

/* Optional: Set a minimum width for table cells */
.table th, .table td {
    min-width: 100px;
}

/* Dropdown Navigation Styling */
.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 200px;
  margin-top: 0.25rem;
}

.navbar-nav .dropdown-item {
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.navbar-nav .dropdown-item:hover {
  background-color: #f8f9fa;
}

.navbar-nav .dropdown-item:focus {
  background-color: #e9ecef;
  outline: none;
}

.navbar-nav .dropdown-item.active {
  background-color: #0d6efd;
  color: white;
}

[data-bs-theme="dark"] .navbar-nav .dropdown-menu {
  background-color: #212529;
  border: 1px solid #495057;
}

[data-bs-theme="dark"] .navbar-nav .dropdown-item {
  color: #adb5bd;
}

[data-bs-theme="dark"] .navbar-nav .dropdown-item:hover {
  background-color: #343a40;
  color: #fff;
}

[data-bs-theme="dark"] .navbar-nav .dropdown-item.active {
  background-color: #0d6efd;
  color: white;
}

.dropdown-item .bi {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.dropdown-item:hover .bi,
.dropdown-item.active .bi {
  opacity: 1;
}

/* === KONSISTENZ-UPDATES === */
.rounded-3 {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .rounded-3 {
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.bg-body-tertiary {
  background-color: #f8f9fa !important;
}

[data-bs-theme="dark"] .bg-body-tertiary {
  background-color: #343a40 !important;
}

/* DNS Lookup specific height adjustment */
.container-fluid.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.container-fluid.py-3 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Einheitliche Höhe für alle Suchbereiche */
.p-5.mb-4.bg-body-tertiary.rounded-3 {
  min-height: 400px;
  display: flex;
  align-items: center;
}

.bg-body-tertiary.rounded-3 {
  min-height: 400px;
  display: flex;
  align-items: center;
}
