/* ---------- Allgemeines Layout ---------- */
body {
    background-color: #8184AA;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
}

.window {
    background-color: #b0b0b0;
    border: 2px solid #555;
    border-top-color: #fff;
    border-left-color: #fff;
    border-radius: 2px;
    width: 400px;
    margin: 5% auto;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #555;
}

.titlebar {
    background: linear-gradient(to bottom, #333, #000);
    color: white;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #666;
    text-align: left;
}

.content {
    padding: 20px;
}

/* ---------- Buttons im OpenStep-Stil ---------- */
button, input[type="submit"] {
    background: #c0c0c0;
    border: 2px solid #808080;
    border-top-color: #fff;
    border-left-color: #fff;
    color: black;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #555;
}

button:hover, input[type="submit"]:hover {
    background: #d0d0d0;
}

/* ---------- Eingabefelder ---------- */
input[type="text"], input[type="password"] {
    width: 90%;
    padding: 6px;
    margin: 8px 0;
    border: 2px inset #aaa;
    background-color: #eee;
}

/* ---------- Tabellen ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    border: 1px solid #555;
    padding: 6px;
    background: #dcdcdc;
}
th {
    background: #a0a0a0;
    color: black;
    font-weight: bold;
}

/* ---------- Flash-Meldungen ---------- */
.flash {
    background: #ffcc00;
    color: black;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #999;
}

/* ---------- Vollbild-Layout ---------- */
.window-full {
    background-color: #a1a3b2;
    border: 2px solid #555;
    border-top-color: #fff;
    border-left-color: #fff;
    border-radius: 2px;
    margin: 20px;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #555;
}

/* ---------- Dashboard Layout ---------- */
.dashboard-layout {
    display: flex;
    height: 80vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
    width: 200px;
    background-color: #b0b0b0;
    border-right: 2px solid #555;
    border-left: 2px solid #fff;
    padding: 10px;
}

.sidebar-title {
    font-weight: bold;
    background-color: #888;
    color: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 10px;
    border: 1px solid #444;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 8px;
}

.sidebar a {
    display: block;
    background: #c0c0c0;
    padding: 6px;
    color: black;
    text-decoration: none;
    border: 2px solid #808080;
    border-top-color: #fff;
    border-left-color: #fff;
    font-size: 13px;
}

.sidebar a:hover {
    background: #a1a3b2;
}

/* ---------- Hauptbereich ---------- */
.content-area {
    flex: 1;
    padding: 20px;
}

/* ---------- Datum/Uhrzeit ---------- */
.datetime-box {
    background-color: #efefef;
    border: 2px inset #aaa;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    width: 60%;
    margin: 40px auto;
}

.btn {
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
}
.btn:hover {
    background-color: #45a049;
}

/* Service-Dialog */
#svc-dialog {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
#svc-dialog.open {
  display: block;
}
#svc-dialog .svc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
#svc-dialog .svc-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  max-width: 95%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #666;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  padding: 10px 12px;
  border-radius: 4px;
}
.svc-cell .svc-summary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

<style>
  /* ... dein vorhandenes CSS ... */

  .addr-suggest {
    position: relative;
  }
  .addr-suggest-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 160px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #ccc;
    z-index: 50;
    font-size: 13px;
    display: none;
  }
  .addr-suggest-item {
    padding: 3px 6px;
    cursor: pointer;
  }
  .addr-suggest-item:hover {
    background: #eee;
  }
</style>
