/* Grundlayout & Typografie */
body {
  background-color: #f4f6f9;
  color: #1e293b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

main,
.entry-content,
.container {
  max-width: 1040px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* Formulare, Suchfelder & Auswahlboxen */
input[type="text"],
input[type="search"],
select {
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="search"]:focus,
select:focus {
  outline: none;
  border-color: #0284c7;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

button,
input[type="submit"] {
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0284c7;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

button:hover,
input[type="submit"]:hover {
  background-color: #0369a1;
}

button:active,
input[type="submit"]:active {
  transform: translateY(1px);
}

/* RDAP- / JSON- / Code-Ausgabe */
pre,
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

pre {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  line-height: 1.5;
  border: 1px solid #1e293b;
}

/* Tabellen (falls Ergebnisse tabellarisch dargestellt werden) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #334155;
}

tr:hover td {
  background-color: #f1f5f9;
}

/* Cleaner Header Card */
.rdap-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 1.75rem 2rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.rdap-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.rdap-badge {
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.rdap-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0 0 0.75rem 0;
}

.rdap-tlds {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  word-spacing: 0.25rem;
}

/* Bootstrap 4 Input Group Polish */
.input-group .custom-select,
.input-group .form-control,
.input-group .btn {
  height: 46px;
  font-size: 1rem;
}

.input-group .custom-select {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background-color: #f8fafc;
  font-weight: 500;
}

.input-group .btn-primary {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: #0284c7;
  border-color: #0284c7;
  padding: 0 1.5rem;
  font-weight: 600;
}

.input-group .btn-primary:hover {
  background-color: #0369a1;
  border-color: #0369a1;
}
