/* SHUTTLETREFF 2026 — additive responsive UI, original IDs and show/hide logic preserved */
:root {
  --navy: #071c31;
  --deep: #0c2944;
  --cyan: #0aafb2;
  --cyan-light: #59e0dc;
  --ink: #19344d;
  --border: #d9e5ec;
  --panel: #fffffff0;
  --shadow: 0 20px 56px rgba(0, 15, 32, 0.2);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(115deg, rgba(5, 22, 41, 0.63), rgba(4, 44, 61, 0.32)),
    url("images/court-modern.svg") center center/cover fixed;
  color: #eefaff;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 20, 37, 0.42));
  z-index: -1;
}
a {
  color: #0e9a9e;
}
a:hover {
  color: #06767a;
}
h4 {
  font-weight: 750;
  font-size: 21px;
  color: #133b55;
  margin-top: 0;
  margin-bottom: 20px;
}
h4:first-letter {
  text-transform: uppercase;
}
body > .container-fluid,
body > nav.navbar {
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto;
  padding: 23px 28px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
body > .container-fluid:first-of-type {
  background: linear-gradient(
    110deg,
    rgba(5, 34, 57, 0.94),
    rgba(4, 104, 112, 0.83)
  );
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 25px 32px;
}
body > .container-fluid:first-of-type > h4 {
  color: white;
  font-size: clamp(21px, 2.4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 8px 0;
}
body > .container-fluid:first-of-type > hr {
  border-color: rgba(255, 255, 255, 0.24);
  margin: 9px 0;
}
body > .container-fluid:first-of-type a {
  color: #92ffed;
}
#datenschutz {
  max-width: 100% !important;
  overflow-wrap: anywhere;
  background: #fff;
  color: #1e3e53;
  padding: 20px;
  border-radius: 12px;
  max-height: 60vh;
  overflow: auto;
}
#datenschutz a {
  color: #087e8a !important;
}
#login {
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
  padding: 34px;
}
#login:before {
  content: "Willkommen beim Shuttletreff";
  display: block;
  color: #123b55;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 8px;
}
body.shuttle-admin #login:before {
  content: "Administrationsbereich";
}
#login:after {
  content: "Gemeinsam spielen · Termine organisieren · In Kontakt bleiben";
  display: block;
  color: #607a8d;
  font-size: 12px;
  margin-top: 24px;
}
#login .input-group {
  margin: 12px 0;
}
.input-group {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  margin-bottom: 12px;
  max-width: 100%;
}
.input-group-addon,
.leftsize {
  width: 155px !important;
  min-width: 155px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #eaf5f7;
  border-color: var(--border);
  font-weight: 650;
  color: #31566c;
  border-radius: 9px 0 0 9px;
}
.input-group .form-control {
  flex: 1;
  min-width: 0;
  width: 1%;
  height: 42px;
  border-color: var(--border);
  border-radius: 0 9px 9px 0;
  box-shadow: none;
  color: #183b54;
}
.form-control {
  border-color: var(--border);
  border-radius: 9px;
  min-height: 42px;
  box-shadow: none;
}
.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(10, 175, 178, 0.15);
}
textarea.form-control {
  min-height: 175px;
  resize: vertical;
}
.btn {
  border-radius: 10px;
  padding: 10px 17px;
  font-weight: 700;
  margin: 3px 5px 3px 0;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  width: auto;
  min-width: 134px;
  background: linear-gradient(100deg, #078b9a, #08aaa5);
  border: 1px solid #078f99;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #056a7e;
  border-color: #056a7e;
  box-shadow: 0 8px 16px #06475d2e;
}
.btn-danger {
  background: #cb4053;
}
.list-group {
  padding: 0;
}
.list-group-item {
  background: #f4fbfd;
  border: 2px solid #0090ce;
  margin: 5px 0;
  border-radius: 9px !important;
  color: #22475f;
  padding: 14px 17px;
  transition: background 0.2s;
}
.list-group-item:hover {
  background: #7bffff;
}
.gruen {
  background: #008d4e !important;
}
.orange {
  background: #ffaa00 !important;
}
body > nav.navbar {
  padding: 0;
  background: #09273f;
  border: 1px solid #23506a;
  min-height: 56px;
}
body > nav.navbar .container-fluid {
  padding: 0 12px;
}
#navigation a {
  color: #f0fcff;
  padding: 19px 16px;
  font-weight: 600;
}
#navigation li > a:hover,
#navigation li > a:focus {
  background: #086f80;
  color: white;
}
#navigation .navbar-toggle {
  border-color: #427187;
}
#navigation .navbar-toggle .icon-bar {
  background: #fff;
}
#navigation .navbar-toggle:hover {
  background: #15506c;
}
.navbar-brand {
  visibility: hidden;
}
#messages:empty {
  display: none;
}
#messages:not(:empty) {
  padding: 13px 17px;
  border-radius: 10px;
  background: #e8f9fa;
  border-left: 4px solid #0aafb2;
  color: #164d67 !important;
  margin: 0;
}
#alleTermine,
#eingetrageneSpielerListe,
#oneSpielerForm,
#neuerTermin,
#editTermin,
#adminForm,
#spielerForm,
#spielerMessages,
#adminMessages,
#anmeldung,
#passwort {
  max-width: 1120px;
}
.ui-datepicker {
  z-index: 999 !important;
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: inherit;
}
.ui-datepicker .ui-datepicker-header {
  background: #0b435b;
  color: white;
  border: none;
}
.ui-datepicker .ui-state-active {
  background: #09aaa8;
  color: white;
}
input[readonly] {
  background: #eef3f5;
}
@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }
  body > .container-fluid,
  body > nav.navbar {
    width: calc(100% - 20px);
    padding: 18px 15px;
    margin: 10px auto;
    border-radius: 13px;
  }
  #login {
    padding: 22px 17px;
  }
  .input-group {
    display: block;
  }
  .input-group-addon,
  .leftsize {
    width: 100% !important;
    min-width: 0;
    border-radius: 8px 8px 0 0;
    padding: 9px 12px;
  }
  .input-group .form-control {
    width: 100%;
    border-radius: 0 0 8px 8px;
  }
  .btn {
    max-width: 100%;
    white-space: normal;
  }
  .navbar-brand {
    visibility: visible;
  }
  #navigation a {
    padding: 12px 15px;
  }
  #navigation .navbar-collapse {
    border-color: #23506a;
  }
  h4 {
    font-size: 19px;
  }
}
/* Original view visibility defaults: keep unchanged */
#anmeldung,
#passwort,
#eingetrageneSpielerListe,
#navigation,
#oneSpielerForm,
#alleTermine,
#neuerTermin,
#editTermin,
#terminAusgabe,
#adminForm,
#spielerForm,
#spielerMessages,
#adminMessages {
  display: none;
}
#login {
  display: block;
}

/* Passwort-Anzeige und Teilnehmerverwaltung */
.toggle-password {
  min-width: 43px;
  height: 34px;
  background: #ebf6fa;
  color: #0b6283;
  border-color: #c2d9e2;
}
.toggle-password:hover,
.toggle-password:focus {
  background: #d2eef1;
  color: #05364b;
}
.participant-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.waitlist-heading {
  background: #eaf1f5;
  color: #a64b24;
  font-weight: 700;
}

/* Pastell-Federball im Terminbereich */

#alleTermine {
  background-image: url("images/shuttle-pastell.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size:
    cover,
    65% auto;
}

/* Nachrichten-Dropdown */

#navigation .dropdown-menu {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

#navigation .dropdown-menu > li > a {
  color: #173b52;
  background: transparent;
  padding: 10px 16px;
}

#navigation .dropdown-menu > li > a:hover,
#navigation .dropdown-menu > li > a:focus {
  color: #ffffff;
  background: #087f91;
  border-radius: 6px;
}
