/* Sportleiterverwaltung */

.sportleiter-tabelle { width: 100%; border-collapse: collapse; }
.sportleiter-tabelle tr.slv-abgesagt td { opacity: .6; }

.slv-btn { color: #fff; border: none; padding: 6px 12px; margin: 2px; border-radius: 4px; cursor: pointer; }
.slv-btn--eintragen { background: #43a047; font-weight: bold; }
.slv-btn--selbst { background: #ff9800; }
.slv-btn--andere { background: #d32f2f; }
.slv-btn:disabled { opacity: .6; cursor: default; }

.slv-admin-box { margin: 1.5em 0 2em; padding: 12px 16px; background: #f6fafd; border: 1px solid #b3e5fc; border-radius: 8px; }
.slv-admin-box h4 { margin-top: 0; }
#slv-admin-eintragen-form { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
#slv-admin-eintragen-form select { min-width: 190px; max-width: 100%; }
#slv-admin-eintragen-info { font-weight: bold; color: #2d5; }
#slv-admin-eintragen-info.slv-fehler { color: #b71c1c; }

#slv-loading { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .5); font-size: 1.4em; }
#slv-loading > div { background: #fff; padding: 30px 40px 30px 30px; border-radius: 12px; box-shadow: 0 6px 36px #0001; }
.slv-spinner { display: inline-block; width: 1.5em; height: 1.5em; border: 5px solid #43a047; border-top-color: #fff; border-radius: 50%; animation: slvspin 1s linear infinite; vertical-align: middle; margin-right: 14px; }
@keyframes slvspin { to { transform: rotate(360deg); } }

.slv-historie-tabs { display: flex; gap: 0; margin-bottom: 0; }
.slv-historie-tabs button { padding: 10px 24px; border: 1px solid #ccc; border-bottom: none; background: #f0f0f0; cursor: pointer; font-weight: bold; font-size: 1em; border-radius: 6px 6px 0 0; margin-right: 2px; color: #555; }
.slv-historie-tabs button.slv-tab-active { background: #fff; color: #222; border-bottom: 1px solid #fff; position: relative; z-index: 1; }
.slv-historie-tab-content { display: none; border: 1px solid #ccc; padding: 16px; border-radius: 0 6px 6px 6px; margin-top: -1px; }
.slv-historie-tab-content.slv-tab-active { display: block; }

.slv-farberklaerung { font-size: 1.1em; margin: 10px 0 15px; color: #222; background: #f6f6f6; border-left: 6px solid #ccc; padding: 7px 12px; border-radius: 4px; }

.csmgr-cal__ev.slv-status { transition: background .4s; }
