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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	color: #f8fafc;
	min-height: 100vh;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

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

h1 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 2.5em;
	text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.panel {
	background: #334155;
	padding: 25px;
	border-radius: 12px;
	margin-bottom: 20px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.panel h2 {
	margin-bottom: 15px;
	font-size: 1.2em;
	color: #94a3b8;
	border-bottom: 1px solid #475569;
	padding-bottom: 10px;
}

.input-group {
	margin-bottom: 15px;
}

.input-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
}

.input-group input {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #475569;
	background: #1e293b;
	color: white;
	font-size: 1em;
}

button {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	border: none;
	font-size: 1em;
	font-weight: bold;
	cursor: pointer;
	transition: 0.2s;
}

.btn-primary {
	background: #3b82f6;
	color: white;
}

.btn-primary:hover {
	background: #2563eb;
}

.room-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.room-card {
	background: #1e293b;
	padding: 15px;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #475569;
}

.room-info {
	font-weight: bold;
}

.btn-join {
	background: #10b981;
	color: white;
	padding: 8px 15px;
	width: auto;
}

.btn-join:hover {
	background: #059669;
}

.admin-link {
	text-align: center;
	margin-top: 30px;
}

.btn-secondary {
	color: #94a3b8;
	text-decoration: none;
	font-size: 0.9em;
}

.btn-secondary:hover {
	color: white;
}
