@charset "UTF-8";

body {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 90%;
  margin: 0;
  padding: 0;
  background-color: #FFFFDD;
}

#container, #names {
  max-width: 800px;
  width: 90%;
  margin: 20px auto;
  padding: 16px;
  border: 2px solid #333;
  background: #f8f8f8;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

h1, h3, h5 {
  margin-top: 0;
  margin-bottom: 1em;
}

h5 {
  font-weight: bold;
}

#auswahl select {
  padding: 8px 10px;
  font-size: 1rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  width: 65%;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  cursor: pointer;
}

#auswahl select:disabled {
  color: #aaa;
  background-color: #f0f0f0;
  cursor: not-allowed;
}

#gesamtsumme {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 90%;
  font-weight: bold;
}

#summe {
  font-weight: bold;
  margin-top: 10px;
}

#author {
    display: flex;
    justify-content: space-between;
    font-size: 80%;
    margin-top: 1em;
}

#tabAnmeld {
    margin-left: 10%;
}

#tabAnmeld, #tnames {
  width: 100%;
  border-collapse: collapse;
}

#tabAnmeld th, #tabAnmeld td,
#tnames th, #tnames td {
  border: 1px solid #ddd;
  padding: 8px 10px;
}

#tnames {
  margin-bottom: 20px;
}

#names {
  display: none;
}

.controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

#absagen {
  flex: 1;
  padding: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#absagen {
  background-color: #2f77fa;
}

#absagen:hover {
  background-color: #2765d4;
}


.det {
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  margin-bottom: 6px;
}

.findit {
  height: 24px;
  width: 24px;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.findit:hover {
  background-color: #2980b9;
}

#anmeldung {
  font-weight: bold;
}

#nixda {
  color: red;
  padding-bottom: 15px;
}

dialog {
  border: none;
  border-radius: 6px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  background: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.3);
}

dialog button {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 0.9rem;
  background-color:  #2f77fa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

dialog button:hover {
  background-color: #2765d4;
}

/* Nachbildung der Bootstrap-Grid-Spaltenbreite */
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-6 { width: 50%; }

.d-flex {
  display: flex;
}

th, td {
  box-sizing: border-box;
}

#absagetext {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#bittegrund {
    text-align: left;
}

#absagegrund {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  margin-left: 20%;
}

#absagegrund input[type="radio"]:checked + span {
  font-weight: bold;
}

.absageline {
  display: flex;
  justify-content: flex-start;
  text-align: left;
}

#absagebuttons {
    width: 90%;
    margin: auto;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.absdat {
  font-size: 60%;
}
