/* Root area for Games app */
.app.app-games {
	color: #e5e7eb;
	box-sizing: border-box;
}

/* Main dashboard container */
.app.app-games #vtt-dashboard {
	display: flex;
	flex-direction: column;
	max-width: 1040px;
	margin: 0 auto;
	padding: 1.8rem 1.6rem 2.4rem;
	box-sizing: border-box;
}

/* Top header */
.app.app-games .vtt-dashboard-header {
	margin-bottom: 1.6rem;
}

.app.app-games .vtt-dashboard-header h1 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #f9fafb;
}

.app.app-games .vtt-dashboard-header p {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: #9ca3af;
}

/* Shared card style for sections */
.app.app-games #vtt-game-create,
.app.app-games #vtt-game-list {
	margin-bottom: 1.4rem;
	border-radius: 5px;
	padding: 1.15rem 1.2rem 1.2rem;
	background: #111520;
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.85),
		0 1px 0 rgba(255, 255, 255, 0.03) inset;
	backdrop-filter: blur(18px);
}

/* Section titles */
.app.app-games #vtt-game-create h2,
.app.app-games #vtt-game-list h2 {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #9ca3af;
}

/* Form fields */
.app.app-games #vtt-game-create .vtt-field {
	margin-bottom: 0.75rem;
}

.app.app-games #vtt-game-create label {
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	color: #d1d5db;
	margin-bottom: 0.25rem;
}

.app.app-games #vtt-game-create input[type="text"],
.app.app-games #vtt-game-create select {
	width: 100%;
	margin-top: 0.15rem;
	border-radius: 2px;
	border: 1px solid rgba(55, 65, 81, 0.95);
	background: rgba(3, 7, 18, 0.9);
	color: #e5e7eb;
	font-size: 0.85rem;
	padding: 0.48rem 0.7rem;
	outline: none;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7) inset;
	transition:
		border-color 120ms ease,
		box-shadow 120ms ease,
		background 120ms ease;
}

.app.app-games #vtt-game-create input::placeholder {
	color: #6b7280;
}

.app.app-games #vtt-game-create input:focus,
.app.app-games #vtt-game-create select:focus {
	border-color: rgba(59, 130, 246, 0.9);
	box-shadow:
		0 0 0 1px rgba(37, 99, 235, 0.95),
		0 0 0 1px rgba(0, 0, 0, 0.9) inset;
	background: rgba(15, 23, 42, 0.98);
}

/* Actions row */
.app.app-games #vtt-game-create .vtt-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.8rem;
}

/* Primary button */
.app.app-games #vtt-game-create button[type="submit"] {
	border: none;
	border-radius: 999px;
	padding: 0.52rem 1.15rem;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	background: radial-gradient(circle at 0 0, #1d4ed8, #2563eb);
	color: #f9fafb;
	box-shadow:
		0 14px 32px rgba(37, 99, 235, 0.5),
		0 0 0 1px rgba(15, 23, 42, 1) inset;
	transition:
		transform 120ms ease,
		box-shadow 120ms ease,
		background 120ms ease;
}

.app.app-games #vtt-game-create button[type="submit"]:hover {
	transform: translateY(-1px);
	background: radial-gradient(circle at 0 0, #1d4ed8, #1d4ed8);
	box-shadow:
		0 18px 38px rgba(37, 99, 235, 0.65),
		0 0 0 1px rgba(15, 23, 42, 1) inset;
}

.app.app-games #vtt-game-create button[type="submit"]:active {
	transform: translateY(0);
	box-shadow:
		0 9px 24px rgba(15, 23, 42, 0.95),
		0 0 0 1px rgba(15, 23, 42, 1) inset;
}

/* Game list wrapper */
.app.app-games #vtt-game-list > div[data-game-list] {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}

/* Game cards inside the list - you can use this structure in JS:
   <div class="game-card">...</div>
*/
.app.app-games #vtt-game-list .game-card {
	border-radius: 5px;
	margin: 10px 0;
	padding: 0.7rem 0.8rem 0.7rem;
	background: radial-gradient(circle at 0 0, rgba(31, 41, 55, 0.9), rgba(15, 23, 42, 0.95));
	border: 1px solid rgba(75, 85, 99, 0.95);
	box-shadow:
		0 16px 30px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgba(0, 0, 0, 0.8) inset;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	cursor: pointer;
	text-decoration: none;
	color: white;
	transition:
		transform 120ms ease,
		box-shadow 120ms ease,
		border-color 120ms ease,
		background 120ms ease;
}

.app.app-games #vtt-game-list .game-card:hover {
	border-color: rgba(96, 165, 250, 0.95);
	background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.32), rgba(15, 23, 42, 0.98));
	box-shadow:
		0 22px 40px rgba(15, 23, 42, 0.98),
		0 0 0 1px rgba(0, 0, 0, 0.92) inset;
}

/* Card header line */
.app.app-games #vtt-game-list .game-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
}

.app.app-games #vtt-game-list .game-title {
	font-size: 0.95rem;
	font-weight: 500;
	color: #f9fafb;
	margin: 0;
}

/* System and world tags */
.app.app-games #vtt-game-list .game-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.72rem;
}

.app.app-games #vtt-game-list .game-tag {
	padding: 0.16rem 0.55rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.9);
	background: rgba(15, 23, 42, 0.98);
	color: #e5e7eb;
	white-space: nowrap;
}

/* Meta row under title */
.app.app-games #vtt-game-list .game-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	font-size: 0.76rem;
	color: #9ca3af;
}

/* Small text for "last played" etc */
.app.app-games #vtt-game-list .game-meta span {
	white-space: nowrap;
}

/* Empty state if there are no games */
.app.app-games #vtt-game-list .game-empty {
	border-radius: 0.8rem;
	border: 1px dashed rgba(75, 85, 99, 0.9);
	padding: 0.85rem 0.9rem;
	font-size: 0.85rem;
	color: #9ca3af;
	background: rgba(15, 23, 42, 0.7);
}

/* Small screen tweaks */
@media (max-width: 879px) {
	.app.app-games #vtt-dashboard {
		display: block;
	}

	.app.app-games #vtt-game-create,
	.app.app-games #vtt-game-list {
		margin-bottom: 1.1rem;
	}

	.app.app-games #vtt-game-list > div[data-game-list] {
		grid-template-columns: minmax(0, 1fr);
	}
}


/*******************************************************************************
	*	BUTTONS
*******************************************************************************/
button.button{
	
}
