
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background: #0d0d0d;
  color: #ffff;
  padding: 0;
  overflow-x: hidden;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.logo span {
  font-weight: bold;
  color: #ffff;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

input[type="text"] {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #ffff;
  margin-bottom: 0;
  font-size: 1rem;
}

.result-row {
  padding: 0.3rem 0;
  display: flex;
  gap: 0.5rem;
}

.result-row a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
    .result-row a {
      font-size: 12.5px;
  }
  .result-row span {
      font-size: 12.5px;
  }
}

.result-row .disabled {
  color: #555;
  text-decoration: line-through;
}

.result-box {
  background: #141414;
  border: 1px solid #333;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  overflow-x: auto;
}

.result-box a {
  text-decoration: none;
}

.ip-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.info-grid a {
  text-decoration: none;
  color: #ffff;
}

.info-grid a:hover {
  color: #333;
}

.label {
  font-weight: bold;
  color: #ccc;
}

.value {
  color: #ffff;
}

.section-title {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.activity {
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.activity-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 0.5rem;
}

.activity-bar div {
  width: 16px;
  height: 16px;
  background: #444;
  border-radius: 2px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0.5rem 1rem;
  }

  input[type="text"] {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .activity-bar div {
    width: 12px;
    height: 12px;
  }
}


.results-box {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: none;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.results-box.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

input[type="text"]:focus + .results-box {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}



/* Neue Sucheingabe mit Symbol und Box-Stil */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-wrapper input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 8px;
  border: 1px solid #777;
  background: #191919;
  color: #ffff;
  font-size: 1rem;
  outline: none;
}

.search-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  font-size: 1rem;
}

.results-box {
  background: #1a1a1a;
  border: 1px solid #777;
  border-radius: 0 0 8px 8px;
  padding: 0.5rem 1rem;
  margin-top: -1px;
  opacity: 0;
  transform: scaleY(0.95);
  transform-origin: top;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: none;
  position: relative;
  z-index: 5;
}

.results-box.visible {
  display: block;
  opacity: 1;
  transform: scaleY(1);
}

.result-row {
  padding: 0.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.result-row span {
  color: #aaa;
}

.result-row a {
  color: #ffff;
  text-decoration: none;
  font-weight: bold;
}

.result-row .disabled {
  color: #444;
  text-decoration: none;
}

@media (max-width: 600px) {
  .search-wrapper input[type="text"] {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 18px;
  font-family: monospace;
  color: #999;
  gap: 0.4rem;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.breadcrumb-static {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.separator {
  color: #555;
}

#breadcrumb-value {
  white-space: nowrap;
  color: #ccc;
  flex-shrink: 1;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 16px;
    gap: 0.3rem;
    padding: 0 0.5rem;
  }

  #breadcrumb-value {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    flex-basis: 100%;
  }
}

main {
  flex: 1;
}

.footer {
  background-color: #0d0d0d;
  border-top: 1px solid #333;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #888;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content a {
  text-decoration: none;
  color: #888;
}

.footer-content a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.info-box {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #1e1e1e;
  border-left: 4px solid #555;
}

.info-box i {
  font-size: 1.2rem;
  color: #888;
  margin-top: 0.1rem;
}

.info-box.info {
  border-color: #007bff;
}

.info-box.warn {
  border-color: #ffc107;
}

.info-box.error {
  border-color: #dc3545;
}

.info-box strong {
  color: #fff;
}

@media (max-width: 600px) {
  .info-box {
    font-size: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .info-box i {
    margin-bottom: 0.5rem;
  }
}

.about-box {
  background: #141414;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #333;
  color: #ccc;
  line-height: 1.6;
}

.about-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.about-box p {
  margin-bottom: 1rem;
}

.about-box a {
  color: #fff;
  text-decoration: none;
}

.about-box a:hover {
  color: #aaa;
}

.visitor-box {
  background: #141414;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
  border: 1px solid #333;
  color: #ccc;
  line-height: 1.6;
}

.visitor-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.visitor-box p {
  margin-bottom: 1rem;
}

.visitor-box a {
  color: #fff;
  text-decoration: none;
}

.visitor-box a:hover {
  color: #aaa;
}
