/* Basierend auf dem bestehenden Dallmayr‑Design */
:root {
  --primary-color: #18453B;
  --secondary-color: #C6A664;
  --background-color: #F9F7F1;
  --card-background: #ffffff;
  --text-color: #333333;
  --border-color: #e5e5e5;
  --input-border-color: #cccccc;
  --hover-bg: #f0f3f8;
}

*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}
#appHeader {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 0.5rem;
  padding: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 100;
  overflow-x: visible;
}
#appHeader img#logo {
  height: 32px;
  margin-right: 0.5rem;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#appHeader h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  min-width: 0;
  flex: 1;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}
.btn:hover {
  background-color: #0f362c;
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}
.btn-secondary:hover {
  background-color: #b89a4f;
}
.toast-container {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}
.toast {
  background-color: rgba(24, 69, 59, 0.95);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  min-width: 200px;
  text-align: center;
}
