/* Allgemeine Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0 20px;
}

.table-overwiew {
  border-collapse: separate;
  border-spacing: 0 8px; /* 0px horizontal, 8px vertikal Abstand */
  width: 20%;
}

.table-overwiew th {
  text-align: left
}

 button {
    background-color: #007bff; /* grün */
    color: white; /* Textfarbe */
    padding: 5px 10px; /* Innenabstand */
    border: none; /* kein Rahmen */
    border-radius: 1px; /* abgerundete Ecken */
    font-size: 15px;
    cursor: pointer; /* Mauszeiger ändert sich */
    transition: all 0.3s ease; /* sanfte Animation bei Hover */
  }

  /* Hover-Effekt */
  button:hover {
    transform: scale(1.05); /* kleiner Zoom-Effekt */
  }

/* === Modal-Fenster für Steuerjahr hinzufügen === */
#yearModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#yearModal .modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  min-width: 260px;
}

#yearModal h3 {
  margin-top: 0;
  color: #333;
}

#yearModal select {
  width: 100%;
  padding: 8px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#yearModal button {
  margin: 8px 5px 0;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #3498db;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

#yearModal button:hover {
  background: #2980b9;
}

#yearModal button#cancelBtn {
  background: #aaa;
}

#yearModal button#cancelBtn:hover {
  background: #888;
}

/* ✅ Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: #2ecc71;
}

.toast.error {
    background-color: #e74c3c;
}

.toast.info {
    background-color: #3498db;
}


/* Navigation */
/* Navigation als Flexbox */
nav {
    display: flex;
    justify-content: space-between; /* links/rechts */
    align-items: center;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    border-radius: 5px;
}

nav a {
    color: #333;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
}

nav a:hover {
    color: #007bff;
}

nav span {
    margin-left: 15px;
    font-weight: bold;
}


nav a {
    color: #333;
    text-decoration: none;
    margin-right: 15px;
    font-weight: bold;
}

nav a:hover {
    color: #007bff;
}

/* Formulare */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

/* Meldungen */
.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Überschriften */
h1 {
    color: #007bff;
}

h2 {
    
}

