/* Kegelübersicht – Barrierefreundliches Design */
.kegel-kartenlayout {
  display: flex;
  gap: 1rem;
}

.kegel-karten {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 20px;
  min-width: 340px;
}

.kegel-karte {
  position: relative;
  border-radius: 12px;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 6px solid #f44336; /* Default: unentschuldigt */
	min-width: 290px;
}

.kegler_des_monats {
    width: 80px;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
}

.streifen-kdm {
  /*writing-mode: vertical-lr;
  transform: rotate(180deg);*/
  letter-spacing: 0.1em;
}

.kegel-inhalt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

/* Anwesenheitsstatus-Farben */
.kegel-karte.status-anwesend {
  border-left-color: #4CAF50;
  background-color: #e6f9e6;
}
.kegel-karte.status-entschuldigt {
  border-left-color: #FF9800;
  background-color: #fff4e0;
}
.kegel-karte.status-unentschuldigt {
  border-left-color: #f44336;
  background-color: #ffe6e6;
}

.kegel-karte h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.kegel-karte p {
  margin: 0.5rem 0;
  font-weight: 500;
  color: #444;
}

.kegel-karte dl {
  margin: 0.5rem 0 0;
}
.kegel-karte dt {
  font-weight: bold;
  color: #222;
}
.kegel-karte dd {
  margin: 0 0 0.5rem 0;
  color: #555;
}
.kegel-karte.kegler-krone {
  position: relative;
}

.krone-wasserzeichen {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3rem;
  opacity: 0.2;
  pointer-events: none;
}
.kegel-jahr-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0px 0px 0px 50px;
}


.kegel-header h1 {
  font-size: 1.4rem;
  margin: 0;
  color: #333;
}
.kegel-jahr-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #005fa3;
}

.kegel-jahr-header form {
  margin: 0;
}
.kegel-header time {
  font-size: 1rem;
  color: #666;
}
.kegel-status {
  font-weight: 500;
  color: #444;
}

.kegel-zahlung {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.betrag {
  flex: 1 1 22%;
  background-color: #f9f9f9;
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  min-width: 90px;
}
.betrag span {
  display: block;
  font-size: 0.9rem;
  color: #777;
}
.betrag strong {
  font-size: 1.2rem;
  color: #222;
}
.betrag.offen strong {
  color: #d32f2f;
}
.kegel_pin {
  width: 27px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
#kegeljahr-select {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid #0077cc;
  border-radius: 8px;
  background-color: #f0f8ff;
  color: #003366;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#kegeljahr-select:focus {
  outline: none;
  border-color: #005fa3;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.3);
}

#kegeljahr-select option {
  font-size: 1rem;
  background-color: #ffffff;
  color: #003366;
}
.kegel-header-zeile {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.kegel-header-zeile h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #003366;
}

.kegel-header-zeile form {
  margin: 0;
}
