/* Grundlayout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile-Stil */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #004481;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

header, footer {
  background-color: #004481;
  color: white;
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

header {
  top: 0;
}

footer {
  bottom: 0;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

main {
  margin-top: 60px; /* Platz für Header */
  margin-bottom: 60px; /* Platz für Footer */
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: white;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

table th {
  background-color: #e0e0e0;
}

/* Formulare */
form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

input, textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}




button {
  padding: 0.75rem;
  background-color: #004481;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0066b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  main {
    padding: 0.5rem;
  }
}
.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  z-index: 10;
}
.auth-link a {
  background-color: #ffcc00;
  color: #004481;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.selected a {
  background-color: #ffcccc;
  color: #004481;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.auth-link a:hover {
  background-color: #e6b800;
  color: white;
}

.content-box {
  background-color: white;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tr-deposit {
  background-color: #eafaf1 !important; /* leichtes Grün */
}

.tr-withdraw {
  background-color: #fcebea !important; /* leichtes Rot */
}

.tr-interest {
  background-color: #fffbe6 !important; /* leichtes Gelb */
}

.hidden {
  display: none;
}

select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='gray'%20d='M2%200L0%202h4L2%200zM2%205L0%203h4L2%205z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.65rem auto;
}
