* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body,
html {
	font-size: 14px;
}

body {
	font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: url(../../bg.jpg);
	background-size: cover;
	min-height: 100vh;
	/*display: flex;*/
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.container-full,
.container {
	background: #efefef;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	padding: 40px;
}

.container {
	max-width: 600px;
	width: 100%;
}

h1 {
	font-size: 32px;
	margin-bottom: 8px;
	color: #1a1a1a;
}

.subtitle {
	color: #666;
	margin-bottom: 32px;
	font-size: 14px;
}

.drop-zone {
	border: 2px dashed #ccc;
	border-radius: 12px;
	padding: 60px 20px;
	text-align: center;
	cursor: pointer;
	transition: .3s;
	background: #fafafa;
}

.drop-zone.dragover {
	border-color: #667eea;
	background: #f0f4ff;
}

.drop-zone-icon {
	font-size: 48px;
	margin-bottom: 16px;
	color: #667eea;
}

.drop-zone-text {
	font-size: 18px;
	color: #333;
	margin-bottom: 8px;
}

.drop-zone-hint {
	font-size: 14px;
	color: #999;
}

input[type="file"] {
	display: none;
}

.file-list {
	margin-top: 20px;
}

.file-item {
	display: flex;
	align-items: center;
	padding: 12px;
	background: #f5f5f5;
	border-radius: 8px;
	margin-bottom: 8px;
}

.file-item-name {
	flex: 1;
	font-size: 14px;
}

.file-item-size {
	color: #999;
	font-size: 12px;
	margin-right: 12px;
}

.file-item-remove {
	background: none;
	border: none;
	color: #f44336;
	cursor: pointer;
	font-size: 18px;
}

.form-group {
	margin-top: 24px;
}

label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	// color: #fff;
}

input[type="email"],
textarea {
	/* width: 200px; */
	display: block;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
}

textarea {
	resize: vertical;
	min-height: 80px;
}

.btn {
	/* width: 100%; */
	padding: 6px 16px;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: .8rem;
	font-weight: 300;
	cursor: pointer;
	/* margin-top: 24px; */
	transition: .3s;
}

.btn-info {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary {
	background: transparent;
	border: solid 1px #666;
	color: #666;
	padding: 4px 12px;
}

.btn-danger {
	background: linear-gradient(135deg, #d37e37 0%, #f90505 100%);
	background: #8e0000;
}

.btn-success {
	background: linear-gradient(135deg, #0da41b 0%, #1e7d35 100%);
	background: #999;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, .4);
}

.btn:disabled {
	opacity: .5;
	cursor: not-allowed;
	transform: none;
}

.progress {
	display: none;
	margin-top: 20px;
}

.progress-bar {
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.progress-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #667eea, #764ba2);
	width: 0%;
	transition: width .3s;
}

.progress-text {
	text-align: center;
	margin-top: 8px;
	font-size: 14px;
	color: #666;
}

.success {
	display: none;
	text-align: center;
	padding: 40px 20px;
}

.success-icon {
	font-size: 64px;
	color: #4caf50;
	margin-bottom: 16px;
}

.success h2 {
	margin-bottom: 12px;
	color: #1a1a1a;
}

.download-link {
	background: #f5f5f5;
	padding: 12px;
	border-radius: 8px;
	margin: 20px 0;
	word-break: break-all;
	font-family: monospace;
	font-size: 12px;
}

.copy-btn {
	background: #4caf50;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	margin-top: 12px;
}

/* Video selbst */
.bg-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	z-index: -1;
}

.video-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .15);
	z-index: 0;
}

.top-right {
	position: absolute;
	top: 20px;
	right: 30px;
}

a {
	text-decoration: none;
	color: #007BFF;
}

a:hover {
	text-decoration: underline;
}

.form {
	width: 300px;
	/* optional */
	margin: 0 auto;
}

.form h2 {
	text-align: center;
	/* color: #fff; */
	margin-bottom: 10px;
}

/* Stats table layout (stats_user.php) */
.text-center {
	text-align: center;
}

.stats-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}

.stats-row {
	border-top: 1px solid #eee;
}

/* Global spacing helpers */
.mb-2 {
	margin-bottom: 20px;
}

/* Stats overview (stats.php) */
.stats-filters {
	margin-top: 16px;
	margin-bottom: 24px;
	padding: 16px 20px;
	background: #f5f5f5;
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: flex-end;
}

.stats-filters-group {
	display: flex;
	flex-direction: column;
	min-width: 160px;
}

.stats-input {
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid #ddd;
	font-size: 13px;
	background: #fff;
}

.stats-filters-actions {
	margin-left: auto;
	display: flex;
	gap: 8px;
}

.stats-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 8px 0 4px;
}

.stats-summary-item {
	background: #f5f5f5;
	border-radius: 12px;
	padding: 10px 14px;
	min-width: 160px;
}

.stats-summary-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #777;
	margin-bottom: 4px;
}

.stats-summary-value {
	font-size: 18px;
	font-weight: 500;
	color: #111;
}

.chart-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 16px;
	margin-top: 20px;
}

.chart-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #666;
}

.chart-select {
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid #ddd;
	background: #fff;
	font-size: 13px;
}

.stats-chart {
	max-width: 900px;
	margin: 24px auto 16px;
	display: block;
}

.stats-table--users th:first-child,
.stats-table--users td:first-child {
	text-align: left;
}

table {
	border-collapse: collapse;
	width: 100%;
	margin: 20px 0;
	/* add top and bottom space */
}

#uploadBtn {
	width: 100% !important;
	padding: 16px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 24px;
	transition: .3s;
}


@media (max-width:768px) {
	.bg-video {
		display: none;
	}

	.video-hero {
		background: url(bg1.jpg) center/cover no-repeat;
	}
}

/* Inhalt über dem Video */
.content {
	position: relative;
	z-index: 1;
}

/* Zebra-Streifen nur für Tabellenkörper */
table tbody tr:nth-child(odd) {
	background: #ddd;
}

/* 1., 3., 5., … */
table tbody tr:nth-child(even) {
	background: #ffffff;
}

/* 2., 4., 6., … */
table tbody tr:hover {
	background: #eafaff;
}

thead {
	padding: 16px;
}

td,
th {
	padding: 8px;
	vertical-align: middle;
}

th {
	background: #fff
}

/* table { border-radius: 12px; background: #000; } */



#login-container {
	max-width:400px;
	margin:50px auto;
	border:1px solid #ddd;
	border-radius:10px;
	background: #efefef;
}
.form-control {
	width:100%;
	padding:10px;
	margin:8px 0;	
}
.btn {
	margin-top:15px;
	padding:10px 20px 6px;
	color:#fff;
	border:none;
	border-radius: 6px;
	text-transform: uppercase;
	display: block;
}
.btn:hover {
	text-decoration: none !important;
}
.hide {
	display: none;
}
.btn-info, 
.btn-primary {
	background:#28a745;
}
.dashboard .btn {
	display: inline-block !important;
}

.admin-settings {
	margin: 16px 0 24px;
	padding: 16px 20px;
	background: #f5f5f5;
	border-radius: 12px;
}

.admin-settings h3 {
	margin-bottom: 10px;
}