
form { max-width: 980px; margin: auto; background: #f9f9f9; padding: 24px; border-radius: 12px; box-shadow: 0 0 8px #bbb; }
h2 { margin-top: 32px; }
label { display: block; margin-top: 12px; }
input, select, textarea { width: 100%; padding: 8px; margin-top: 4px; border-radius: 6px; border: 1px solid #aaa; box-sizing: border-box;}
.row { display: flex; gap: 16px; }
.row > div { flex: 1; }
.gesperrt { background: #ffebeb; border: 1px solid #c00; color: #c00; padding: 12px; border-radius: 8px; margin-bottom: 20px; }
button { margin-top: 24px; padding: 12px 24px; border-radius: 6px; background: #379837; color: #fff; border: none; font-size: 1rem; }
button[disabled] { background: #888; }


body {
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    background: url('bag-kloech.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Zeitblock-Design */
.zeit-row {
    display: flex;
    gap: 32px;
    margin-bottom: 10px;
}
.zeitblock {
    flex: 1 1 0;
    min-width: 300px;
    background: #f6f6f8;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 0;
    box-shadow: 0 1px 2px #eee;
}
.zeitblock-label {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 2px;
}
.zeitblock-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.input-tiny {
    width: 80px;
    padding: 4px 4px;
    font-size: 1em;
    text-align: center;
    box-sizing: border-box;
}

/* Wertblock-Design */
.wert-row {
    display: flex;
    gap: 24px;
    margin-bottom: 10px;
    align-items: flex-end;
}
.wertblock {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}
.wertblock label {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 3px;
}

.grossblock {
    flex: 2 1 0;
}
textarea.input-tiny {
    width: 100%;
    min-height: 72px;
    font-size: 1em;
    padding: 6px 8px;
    box-sizing: border-box;
}

/* Login & Formular Design wie Tagesbericht */
.login-container {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 0 8px #bbb;
    max-width: 380px;
    margin: 48px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-container h2 {
    margin: 0 0 12px 0;
    text-align: center;
    font-weight: 600;
    color: #2a2a2a;
    letter-spacing: 1px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #aaa;
    font-size: 1em;
    margin-top: 4px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.18s;
    background: #fff;
}
.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #379837;
}
.login-container button {
    width: 100%;
    padding: 12px 24px;
    border-radius: 6px;
    background: #379837;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 12px;
    box-shadow: 0 1px 3px #bbb;
    cursor: pointer;
    transition: background 0.14s;
}
.login-container button:hover {
    background: #296b29;
}
.login-container .error-message {
    color: #d1002f;
    background: #ffe0e7;
    border-radius: 7px;
    padding: 9px 13px;
    margin-bottom: 4px;
    text-align: center;
    font-size: 1.02rem;
}

.dashboard-container {
    background-color: rgba(255,255,255,0.98);
    padding: 40px 24px 32px 24px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13), 0 1.5px 4px rgba(44,62,80,0.07);
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 48px auto;
    color: #101820;
    backdrop-filter: blur(2px);
}

.dashboard-container h1 {
    margin-bottom: 38px;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dashboard-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-container li {
    margin: 18px 0;
}

.dashboard-container a {
    text-decoration: none;
    color: #1976d2;
    font-size: 22px;
    font-weight: bold;
    display: block;
    transition: color 0.22s;
    letter-spacing: 0.02em;
}

.dashboard-container a:hover {
    color: #1351a5;
    text-decoration: underline;
}


.meldung {
  padding: 11px 22px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.09em;
  font-weight: 500;
  text-align: center;
}
.meldung.success { background: #e0ffe0; border: 1px solid #008000; color: #2b7a2b; }
.meldung.error   { background: #ffe0e0; border: 1px solid #d20000; color: #a10000; }
.meldung.info    { background: #e7f2fd; border: 1px solid #3498db; color: #176aa0; }
.meldung.warn    { background: #fffad0; border: 1px solid #e6bd00; color: #887500; }

select.service-dropdown {
    min-width: 220px !important;
    width: 100% !important;      /* oder auf 100%, falls du es so willst */
    max-width: 320px !important; /* optional */
    font-size: 1.15em !important;
    padding: 8px 14px !important;
}

h2, h3 {
    background-color: rgba(255, 255, 255, 0.7); /* Transparenter Weiß-Hintergrund */
    color: #000; /* Schwarzer Text, damit er gut sichtbar bleibt */
    padding: 10px; /* Etwas Abstand rund um den Text */
    border-radius: 5px; /* Abgerundete Ecken */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15); /* Leichter Schatten für bessere Sichtbarkeit */
}

/* ===== Abschnitt 9: kompaktes Inline-Layout ===== */
#service9 { margin-top: 6px; }

#service9 .row-inline {
  display: grid;
  /* Service-Art | Konkretes Objekt | Von | Bis | Summe */
  grid-template-columns: 220px 1fr 110px 110px 120px;
  gap: 12px;
  align-items: end;
}

#service9 .field label {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Globale 100%-Breite übersteuern – nur hier kleiner */
#service9 .row-inline select,
#service9 .row-inline input {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
}

/* schmale Felder: Von/Bis/Summe */
#service9 .field.narrow input,
#service9 .field.sum input {
  width: 110px !important;         /* bricht die globale 100%-Regel */
}

#service9 .field.sum input {
  text-align: right;
}

/* Objekt-Auswahl darf breiter sein, Art fix 220px */
#service9 .row-inline .field:first-child select { width: 220px !important; }
#service9 .row-inline .field:nth-child(2) select { width: 100% !important; }

/* Details-Textarea kompakt */
#service9 .details textarea {
  width: 100% !important;
  min-height: 72px;
  font-size: 1rem;
  padding: 6px 8px;
}

/* Responsive Fallbacks */
@media (max-width: 900px) {
  #service9 .row-inline {
    grid-template-columns: 200px 1fr 100px 100px 110px;
  }
}
@media (max-width: 700px) {
  #service9 .row-inline {
    grid-template-columns: 1fr;
  }
  #service9 .field.narrow input,
  #service9 .field.sum input {
    width: 100% !important;
  }
}



