/* Header & Tabs */

header {
  background: linear-gradient(90deg, #14274e 0%, #1f2a50 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  user-select: none;
}

#logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

#logo {
  height: 48px;
  filter: drop-shadow(0 0 3px #4056ff);
  transition: transform 0.3s ease;
  cursor: default;
}

#logo:hover {
  transform: rotate(10deg) scale(1.1);
}

header h1 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #a0b9ff;
  text-shadow: 0 0 8px #5b72ff;
}

#tabs {
  display: flex;
  gap: 25px;
  align-items: center;
}

#tabs .tab {
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 6px;
  background-color: transparent;
  color: #a0b9ff;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 8px transparent;
  user-select: none;
}

#tabs .tab:hover {
  background-color: #4056ff;
  color: #fff;
  box-shadow: 0 0 15px #5b72ff;
}

#tabs .tab.active {
  background-color: #5b72ff;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 20px #8da1ff;
}

/* Main Content Styles */

main {
  max-width: 600px;
  margin: 40px auto 80px;
  background-color: #1f2a50;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(90, 115, 255, 0.6);
  color: #cfd9ff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Tabs Content */

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #cfd9ff; /* Wichtig: Textfarbe für gute Sichtbarkeit */
}

.tab-content.active {
  display: block;
  opacity: 1;
  color: #cfd9ff;
}

/* Inputs and Selects */

input[type="text"],
input[type="password"],
select {
  width: 100%;
  padding: 10px 14px;
  margin: 12px 0;
  border: 1.5px solid #5b72ff;
  border-radius: 6px;
  background-color: #2a3a7d;
  color: #f3efef;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #a0b9ffaa;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
  border-color: #a0b9ff;
  box-shadow: 0 0 10px #5b72ffaa;
  outline: none;
}

/* Buttons */

button {
  background-color: #4056ff;
  border: none;
  color: white;
  padding: 12px 25px;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px #5b72ffaa;
}

button:hover {
  background-color: #5b72ff;
  box-shadow: 0 0 18px #8da1ffcc;
}

/* Search Result */

#searchResult {
  margin-top: 20px;
  padding: 15px;
  background-color: #2a3a7d;
  border-radius: 8px;
  box-shadow: inset 0 0 8px #4056ff88;
  color: #cfd9ff;
}

/* Orga Entries Styling */

.orga-entry {
  background-color: #283568;
  margin-bottom: 12px;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 0 12px #4056ff88;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d0dbff;
  font-weight: 600;
}

.orga-entry button {
  padding: 6px 12px;
  font-size: 0.9rem;
  background-color: #8b0000;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.orga-entry button:hover {
  background-color: #ff0000;
}

/* Footer */

footer#footer {
  text-align: center;
  color: #a0b9ffaa;
  font-size: 0.9rem;
  margin-top: 40px;
  user-select: none;
}

/* Responsive (optional) */

@media (max-width: 700px) {
  main {
    margin: 20px 15px 60px;
    padding: 20px;
  }

  #tabs {
    gap: 15px;
    flex-wrap: wrap;
  }
}
