/* 🎨 Admin-Liveboard – Stylesheet
   Optimiert für mobile Adminoberfläche
   Autor: Eugen (2025)
*/

:root {
    --primary: #2563eb;
    --bg: #1f2937;
    --card: #111827;
    --muted: #6b7280;
}

* {
    box-sizing: border-box;
}

/* Grundlayout */
html, body {
    background: var(--bg);
	color: #f9fafb;
    font-family: Inter, system-ui, Roboto, Arial, sans-serif;
	height: 100%;
    margin: 0;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
}

.tab { 
	cursor: pointer; 
	padding: 0.5rem 1rem; 
	border-bottom: 2px solid transparent; 
	transition: all 0.2s; 
}

.tab-active { 
	border-color: var(--primary); 
	color: #60a5fa; 
}

.hidden { 
	display: none; 
}

input, select, textarea {
  background-color: var(--bg);
  color: #f9fafb;
  border: 1px solid #374151;
  padding: 0.5rem;
  border-radius: 0.5rem;
  width: 100%;
  margin-top: 0.25rem;
}

/* Kartenlayout */
.card {
    background: var(--card);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
	animation: fadeIn 0.4s ease;
}

.toggle-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.switch {
	position: relative;
	width: 50px;
	height: 24px;
	background: #555;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.3s;
}

.switch input {
	display: none;
}

.slider {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.3s;
}

/* Hintergrund wird blau, wenn aktiviert */
.switch input:checked + .slider {
	transform: translateX(26px);
}

.switch input:checked ~ .switch {
	background: var(--primary);
}

/* Footer */
.footer {
	text-align: center;
	font-size: 0.8rem;
	opacity: 0.75;
	margin-top: 1.5rem;
}
.footer a { 
	color: #60a5fa; 
	text-decoration: none; 
}

.footer a:hover {
  text-decoration: underline;
}

.small {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Buttons */
button {
	background-color: var(--primary);
	color:white;
	padding:0.6rem 1rem;
	border-radius:0.5rem;
	font-weight:600;
	width:100%;
	margin-top:0.5rem;
}

button:hover {
   background-color: #1d4ed8;
}

.team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

img {
	max-height: 50px;
	width: auto;
}

/* Animationen */
@keyframes fadeIn {
	from { 
		opacity: 0; 
		transform: translateY(8px); 
	}
	to { 
		opacity: 1; 
		transform: translateY(0); 
	}
}

@keyframes slideDown {
	from { 
		opacity: 0; 
		transform: translateY(-5px); 
	}
	to { 
		opacity: 1; 
		transform: translateY(0); 
	}
}
