/* ===== Reset & Basics ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #ffffff;
  color: #1e1e1e;
  line-height: 1.6;
}
a {
  color: #0050b3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Entferne graue Linien gezielt bei Inputfeldern ===== */
input,
input:focus,
input:active,
input:focus-visible {
  outline: none;
  box-shadow: none;
  border: 1px solid #ccc;
  background: white;
}

input::before,
input::after,
.form-group::before,
.form-group::after {
  content: none !important;
  display: none !important;
}

/* ===== Optional: Entferne gezielt Styles bei bestimmten Inputs ===== */
.check-form input,
.contact-form input,
.contact-form textarea,
.userdata-form input[type="text"],
input[type="password"],
input[type="file"] {
  border: 1px solid #ccc !important;
  outline: none !important;
  box-shadow: none !important;
  background-color: white !important;
}

/* ===== Entferne zusätzliche Linien durch Browser-Defaults ===== */
form,
fieldset,
legend,
hr {
  all: unset;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

label::before,
label::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

input[type="text"]::before,
input[type="text"]::after {
  display: none !important;
  content: none !important;
}

/* ===== Belasse übrige Styles unverändert (Beispielhaft) ===== */
.topbar {
  background-color: #001e3c;
  color: white;
  display: flex;
  align-items: center;
  padding: 40px 50px;
  gap: 40px;
}
.logo img {
  max-height: 85px;
}
.navigation {
  flex-grow: 0;
}
.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}
.menu li a {
  color: white;
  font-weight: 500;
  position: relative;
}
.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #00b386;
  transition: width 0.3s ease;
}
.menu li a:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0050b3, #0078d4);
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero .btn {
  background-color: #00b386;
  color: white;
  padding: 10px 28px;
  font-size: 1.0rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero .btn:hover {
  background-color: #009e75;
}

/* ===== Features ===== */
.features {
  background-color: #f9f9f9;
  padding: 80px 0;
}
.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.feature {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
}
.feature h2 {
  color: #0050b3;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.feature p {
  color: #555;
}

/* ===== Verfügbarkeitsprüfung ===== */
.check {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  box-sizing: border-box;
  text-align: center;
}
.check h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 20px;
}
.check form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}
.check input[type="text"] {
  padding: 12px;
  font-size: 1rem;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.check button {
  background-color: #0050b3;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}
.check button:hover {
  background-color: #003f91;
}

/* ===== About ===== */
.about {
  background-color: #ffffff;
  padding: 80px 0;
}
.about h2 {
  text-align: center;
  color: #0050b3;
  font-size: 2rem;
  margin-bottom: 20px;
}
.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
  text-align: center;
}

/* ===== Footer ===== */
footer {
  background-color: #001e3c;
  color: white;
  padding: 40px 20px;
  text-align: center;
}
footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  flex-wrap: wrap;
}
footer a {
  color: #00b386;
}
footer a:hover {
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .navigation .menu {
    flex-direction: column;
    gap: 10px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .check form {
    flex-direction: column;
    align-items: center;
  }
}


.contact {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.contact h2 {
  font-size: 2rem;
  color: #0050b3;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  position: relative; /* wichtig für die absolute Positionierung der Liste */
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1e1e1e;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form .btn {
  background-color: #00b386;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form .btn:hover {
  background-color: #009e75;
}


.messagebox {
  padding: 1rem;
  margin: 1rem auto;
  border-radius: 6px;
  max-width: 600px;
  font-weight: 500;
  text-align: center;
  display: none; /* Start: versteckt */
}
.messagebox.success {
  background-color: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}
.messagebox.error {
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
}
.messagebox.visible {
  display: block;
}


/* ABOUT US */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}
.about-values .value h3 {
  color: #0050b3;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.about-values .value p {
  color: #444;
}



/* VERFÜGBARKEIT */
.check-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.check-form .form-group {
  display: flex;
  flex-direction: column;
  width: 300px;
  position: relative;
}
.check-form label,
.check-form .form-group {
  border: none;
  box-shadow: none;
}
.check-form input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.check-form .btn {
  background-color: #0050b3;
  color: white;
  padding: 0 24px;
  height: 48px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-form .info-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 300px;
  align-self: center;
}

.info-box {
  background-color: #e3f2fd;
  color: #003366;
  padding: 10px 15px;
  border-left: 4px solid #00b386;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
  width: 100%;
}




/* ===== Zustand für deaktivierte Buttons ===== */
button:disabled,
.check button:disabled,
#plz-submit:disabled {
  background-color: #cccccc !important;
  cursor: not-allowed;
  color: #666666;
}

/* Verhindert Hover-Effekt bei deaktiviertem Button */
button:disabled:hover,
#plz-submit:disabled:hover {
  background-color: #cccccc !important;
}

/* Hover-Zustand nur für aktive Buttons */
.check-form .btn:hover:enabled {
  background-color: #003f91;
}



/* Autocomplete-Liste – Layout & Optik (falls noch nicht vorhanden) */
ul.autocomplete {
  position: relative;         /* nicht mehr absolute */
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  z-index: 1;                 /* kein Überlappen nötig */
}

ul.autocomplete li {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 1rem;
  color: #1e1e1e;
  border-bottom: 1px solid #eee;  /* Trennlinie */
}

ul.autocomplete li:last-child {
  border-bottom: none;
}

ul.autocomplete li:hover {
  background-color: #f0f6ff;  /* leichtes Blau beim Hover */
}

ul.autocomplete li strong.ac-strong {
  font-weight: 600;
  color: #0050b3;             /* GreNet Blau */
}





/*  PRODUKTÜBERSICHT */
/* Grundlayout */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 40px;
  background-color: #f9f9fb;
}
h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #001e3c;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.tab {
  padding: 10px 30px;
  margin: 0 5px;
  cursor: pointer;
  border: none;
  background: #e0e0e0;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.tab.active {
  background: #ffffff;
  border-bottom: 2px solid transparent;
}

/* Tarifbox-Container */
.tarife-container {
  display: none;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.tarife-container.active {
  display: flex;
}

/* Tarifbox */
.tarif-box {
  background: white;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 25px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}
.tarif-box.highlight {
  border: 2px solid #2e7d32;
}
.tarif-box .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #2e7d32;
  color: white;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 20px;
}
.tarif-box h2 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.tarif-box p.speed {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 5px 0 15px;
}
.features {
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.features li {
  margin-bottom: 5px;
}
.preis {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 6px;
}
.preis small {
  font-weight: normal;
  display: block;
  color: #555;
}
.btns {
  margin-top: 10px;
}
.btns a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #0050b3;
  text-decoration: none;
}
.btns a:hover {
  text-decoration: underline;
}

.tab {
  padding: 10px 20px;
  margin: 0 5px;
  cursor: pointer;
  border: none;
  background: #e0e0e0;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  transition: background 0.2s ease;
}
.tab.active {
  background: #2563eb;
  color: white;
}
.tarife-container {
  display: none;
}
.tarife-container.active {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tab {
  padding: 10px 20px;
  margin: 0 4px;
  cursor: pointer;
  border: none;
  background: #e0e0e0;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.tab.active {
  background-color: #2563eb;
  color: white;
}

.tarife-container {
  display: none;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.tarife-container.active {
  display: flex;
}

.tarif-box {
  background: white;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 25px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.tarif-box h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.tarif-box .preis {
  font-weight: bold;
  font-size: 1.1rem;
}

.tarif-box-new {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.speed-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.features-list {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 6px;
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}

.features-list li {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #333;
}

.preis-box {
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 6px;
}

.altpreis {
  color: red;
  text-decoration: line-through;
  font-weight: bold;
  font-size: 1rem;
}

.aktuell {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 5px 0;
}

.klein {
  font-size: 0.85rem;
  color: #444;
}

.promo-top {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.promo-top input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.promo-top button {
  padding: 8px 16px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  margin-left: 8px;
  cursor: pointer;
}
.promo-top button:hover {
  background-color: #1e40af;
}

.promo-wrapper {
  max-width: 500px;
  margin: 0 auto 2rem auto;
}
.promo-form {
  background: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.promo-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
}
.promo-form button {
  padding: 10px 16px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
.promo-form button:hover {
  background-color: #1e40af;
}






/* HEADER LOGIN BOX */
.login-box {
  text-align: center;
  margin-left: auto;
}

.login-box a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.login-box img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}


/* LOGIN / BENUTZERBEREICH */
.form-group {
  position: relative; /* wichtig für die absolute Positionierung der Liste */
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1e1e1e;
}

.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}


/* CHECKBOX FÜR FORMULARE */
/* ===== Checkbox Styling ===== */
.checkbox-wrapper label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  transform: scale(1.2);
  margin: 0;
}



/* KUNDENCENTER */
.kundencenter {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.kundencenter h2 {
  text-align: center;
  font-size: 2rem;
  color: #0050b3;
  margin-bottom: 40px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.dashboard-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* oder feste Höhe wie 320px */
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}


.dashboard-card:hover {
  transform: translateY(-5px);
}

.dashboard-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #001e3c;
}

.dashboard-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.dashboard-card ul li {
  margin-bottom: 8px;
  color: #444;
}

.dashboard-card a {
  color: #0050b3;
  text-decoration: none;
}

/* Dynamische Schriftgröße für Dashboard-Karten */
.dashboard-card p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 1.4;
  word-break: break-word;
  margin-top: 0;
}

/* Kein Umbruch für bestimmte Inhalte wie E-Mail */
.dashboard-card .no-wrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}



.btn-small {
  display: inline-block;
  background-color: #00b386;
  color: white;
  padding: 10px 18px;
  font-size: 0.95rem;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background-color: #009e75;
}


/* LOGOUT BUTTON */
.logout-box {
  margin-left: 1px;
}

.logout-btn {
  background-color: #00b386;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.logout-btn:hover {
  background-color: #009e75;
}


/* KUNDENCENTER PERSÖNLICHE DATEN */
.dashboard-card-large {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 10px auto;
}

.dashboard-card-large-rechnungen {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 10px auto;
}

.dashboard-card-large h3 {
  font-size: 1.6rem;
  color: #001e3c;
  margin-bottom: 10px;
}

.userdata-form .form-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.userdata-form .form-row label {
  font-weight: 500;
  margin-bottom: 6px;
  color: #1e1e1e;
}

.userdata-form .form-row input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.userdata-form .btn {
  background-color: #00b386;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}
.userdata-form .btn:hover {
  background-color: #009e75;
}

.btn-secondary.zurück-btn {
  display: inline-block;
  margin: 30px auto 20px;
  background-color: #ccc;
  color: #001e3c;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: center;
}

.btn-secondary.zurück-btn:hover {
  background-color: #bbb;
}

.vertrag-details p:first-child {
  margin-top: 0;
}


/* Checkbox-Design */
.checkbox-wrapper label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.checkbox-wrapper input[type="checkbox"] {
  transform: scale(1.2);
}

.info-box {
  background-color: #e3f2fd;
  color: #003366;
  padding: 10px 15px;
  border-left: 4px solid #00b386;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.info-box.warning {
  background-color: #fff3cd;
  color: #856404;
  border-left: 4px solid #ffc107;
}


.form-group input[type="file"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #333;
  width: 100%;
}

.check input[type="text"],
#plz-submit {
  font-size: 16px;
  padding: 12px 16px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Button Styling */
#plz-submit {
  background-color: #0050b3;
  color: white;
  border: none;
  cursor: pointer;
}

/* Deaktiviert */
#plz-submit:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* Hover nur wenn aktiv */
#plz-submit:not(:disabled):hover {
  background-color: #003f91;
}


@media (max-width: 768px) {
  .check-form {
    flex-direction: column;
    align-items: center;
  }

  .check-form .form-group,
  .check-form .info-container {
    width: 100%;
    max-width: 300px;
  }

  .check-form .btn {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
  }

  .info-box {
    text-align: center;
  }
}

.check-form .form-group,
.check-form .form-group *,
.check-form label,
.check-form label::before,
.check-form label::after {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: none !important;
}

.check-form input[type="text"] {
  border: 1px solid #ccc !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

form,
fieldset,
legend,
hr {
  all: unset;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.check-form label {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: none !important;
}

.check-form label::before,
.check-form label::after {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.check-form input {
  border-top: 1px solid #ccc !important;
  border-bottom: 1px solid #ccc !important;
  border-left: 1px solid #ccc !important;
  border-right: 1px solid #ccc !important;
  box-shadow: none !important;
  outline: none !important;
}

hr {
  display: none;
}

/* ===== Entferne Browser-spezifische Linien und Effekte ===== */
form,
fieldset,
legend,
hr {
  all: unset;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
}

input,
input:focus,
input:active,
input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid #ccc !important;
  background: white;
}

input::before,
input::after,
.form-group::before,
.form-group::after {
  content: none !important;
  border: none !important;
  box-shadow: none !important;
  display: none !important;
}

label::before,
label::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

input[type="text"]::before,
input[type="text"]::after {
  display: none !important;
  content: none !important;
}


/* ===== Kundencenter Rechnungen anzeigen ===== */ 

.rechnungstabelle {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.rechnungstabelle th, .rechnungstabelle td {
  border: 1px solid #ddd;
  padding: 8px;
}

.rechnungstabelle th {
  background-color: #f0f0f0;
  text-align: left;
}

.table-container {
  overflow-x: auto;
}

.btn-delete {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}



/* Autocomplete Vorschlagskasten */
.check-form ul.autocomplete {
  display: block;              /* damit der Kasten sichtbar ist */
  position: relative;          /* bleibt im Layoutfluss */
  width: 100%;
  background: #fff !important; /* überschreibt dein "background:none" */
  border: 1px solid #ccc !important;
  border-radius: 8px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.check-form ul.autocomplete li {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: #1e1e1e !important;
  background: #fff !important;
}

.check-form ul.autocomplete li:last-child {
  border-bottom: none;
}

.check-form ul.autocomplete li:hover {
  background-color: #eaf3ff !important; /* hellblauer Hover-Effekt */
}


/* Loader Spinner */
.loader {
  border: 4px solid #f3f3f3;      /* heller Rand */
  border-top: 4px solid #0050b3;  /* blauer Rand */
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
  display: none; /* erst unsichtbar */
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
