/* Full-screen overlay to block game input */
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Buy menu container */
.buymenu {
	position: relative;
	background-color: #1e1e1e;
	padding: 30px;
	border-radius: 10px;
	color: #ffffff;
	width: 500px;
	max-width: 90%;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	pointer-events: all;
}

/* Close button */
.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #e74c3c;
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.2em;
	width: 30px;
	height: 30px;
	pointer-events: all;
}

/* Slots container */
.slots {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Individual slot */
.slot {
	background-color: #2a2a2a;
	padding: 15px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Weapon options container */
.weapon-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Weapon option */
.weapon-option {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* Weapon button */
.weapon-button {
	background-color: #3e8e41;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px;
	cursor: pointer;
	width: 100%;
	text-align: left;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	gap: 12px;
}

.weapon-button:hover {
	background-color: #45a049;
}

.menu-note {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.78);
}

.zombie-form-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.zombie-form-button {
	background-color: #303030;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 5px;
	padding: 14px;
	cursor: pointer;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	text-align: left;
}

.zombie-form-button:hover {
	background-color: #3a3a3a;
}

.zombie-form-button.selected {
	border-color: #45a049;
	background-color: #27382a;
}

.zombie-form-button.current {
	border-left: 4px solid #e74c3c;
}

.zombie-form-name {
	font-size: 22px;
	font-weight: 700;
}

.zombie-form-status {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.72);
	white-space: normal;
}

.weapon-copy,
.zombie-form-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.weapon-name,
.zombie-form-name {
	white-space: normal;
	overflow-wrap: break-word;
}

.weapon-cost {
	position: static;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.72);
}

ModelPreview {
	flex: 0 0 96px;
	width: 96px;
	height: 76px;
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: 5px;
	overflow: hidden;
}

/* Buy ammo button */
.buy-ammo-button {
	background-color: #3498db;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	transition: background-color 0.3s ease;
}

.buy-ammo-button:hover {
	background-color: #2980b9;
}

/* Purchased info */
.purchased-info {
	font-size: 4.9em;
	color: #3498db;
}