body {
	margin: 0;
	box-sizing: border-box;
	background-color: #121212;
	font-family: Arial, sans-serif;
	height: 100vh;
	color: #e0e0e0;
	display: flex;
	padding: 0
}

.sidebar {
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
	display: flex;
	z-index: 1000;
	width: 250px;
	padding: 15px;
	overflow-y: auto;
	left: 0;
	background-color: #1e1e1e;
	height: 100%;
	top: 0;
	position: fixed;
	align-items: center;
	flex-direction: column
}

.sidebar h1 {
	font-size: 24px;
	width: 100%;
	margin: 0;
	color: #76c7c0;
	padding: 10px 0;
	border-bottom: 2px solid #333;
	text-align: center
}

.sidebar hr {
	width: 100%;
	height: 1px;
	margin: 10px 0;
	border: 0;
	background-color: #333
}

.sidebar nav ul {
	width: 100%;
	margin: 0;
	list-style: none;
	padding: 0
}

.sidebar nav ul li {
	margin-bottom: 15px
}

.sidebar nav ul li a {
	font-size: 16px;
	padding: 10px;
	text-decoration: none;
	color: #e0e0e0;
	transition: background-color 0.3s;
	display: block;
	border-radius: 4px;
	text-align: center
}

.sidebar nav ul li a:hover {
	background-color: #333
}

.main-content {
	padding: 20px;
	margin-left: 250px;
	margin-left: 300px;
	flex: 1;
	overflow-y: auto
}

.table-container {
	margin-top: 20px
}

table {
	border-collapse: collapse;
	width: 100%;
	background-color: #1e1e1e
}

th,
td {
	padding: 10px;
	text-align: left;
	border: 1px solid #333
}

th {
	background-color: #333;
	color: #e0e0e0
}

td {
	color: #e0e0e0
}

.button {
	cursor: pointer;
	padding: 5px 10px;
	transition: background-color 0.3s;
	border: none;
	color: #e0e0e0;
	border-radius: 5px;
	color: #000
}

#editModal,
#goldModal,
#itemModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #1e1e1e;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	display: none;
	width: 600px;
	color: #e0e0e0;
	border-radius: 8px;
}

#editModal,
#goldModal,
#itemModal h2 {
	margin-top: 0;
	color: #76c7c0;
}

.modal-form {
	gap: 20px;
	display: flex;
	flex-direction: column
}

.form-section {
	border-radius: 8px;
	border: 1px solid #333;
	background-color: #262626;
	padding: 15px
}

.form-section h3 {
	margin-bottom: 10px;
	color: #76c7c0;
	margin-top: 0
}

.form-grid {
	display: grid;
	gap: 15px;
	grid-template-columns: 1fr 1fr
}

.form-grid label {
	align-self: center;
	grid-column: span 1
}

textarea {
	resize: vertical;
	grid-column: span 2
}

button[type="submit"] {
	color: #121212;
	cursor: pointer;
	padding: 10px 20px;
	transition: background-color 0.3s;
	border: none;
	background-color: #76c7c0;
	border-radius: 5px
}

button[type="submit"]:hover {
	background-color: #5ea89e
}

#editModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #1e1e1e;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	display: none;
	width: 600px;
	color: #e0e0e0;
	border-radius: 8px;
}

#editModal h2 {
	margin-top: 0;
	color: #76c7c0;
}

/* Main Profile Card Styling */
.profile-card {
	background-color: #1e1e1e;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	color: #e0e0e0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.card-header {
	display: block;
	/* Ensure the header occupies full width */
	margin-bottom: 20px;
}

.card-body {
	display: grid;
	/* 3 equal columns */
	gap: 20px;
	grid-template-columns: 1fr;
	/* Space between columns */
	flex-direction: row;
	/* 1 column on smaller screens */
	;
	grid-template-columns: 1fr 1fr 1fr
}

.profile-header h2 {
	font-size: 32px;
	margin: 0;
}

.profile-header p {
	font-size: 18px;
	margin: 5px 0;
}

/* Profile Section Styling */
.profile-section {
	background-color: #262626;
	padding: 15px;
	border-radius: 8px;
	box-sizing: border-box;
}

.profile-section h3 {
	margin-top: 0;
	color: #76c7c0;
}

.profile-info p {
	margin: 5px 0;
}

.profile-info strong {
	color: #76c7c0;
}

.profile-section .profile-info {
	margin-top: 10px;
}

/* Responsive Design for smaller screens */
@media (max-width: 1024px) {
	.card-body {
		grid-template-columns: 1fr 1fr;
		/* 2 columns on medium screens */
	}
}

@media (max-width: 768px) {
	.profile-card {
		padding: 15px;
		/* Reduce padding for smaller screens */
	}

	.profile-section {
		flex: 1 1 100%;
		/* Each section takes full width on small screens */
	}
}

button.edit,
button.delete,
button.heal,
button.giveGold,
button.giveItem {
	padding: 8px 15px;
	border-radius: 5px;
	color: #fff;
}

button.edit {
	background-color: #FE9900;
}

button.edit:hover {
	background-color: #CF7E02;
}

button.heal {
	background-color: #28a745;
}

button.delete {
	background-color: #dc3545;
}

button.delete:hover {
	background-color: #c82333;
}

button.giveGold {
	background-color: #DFC57B;
}

button.giveItem {
	background-color: #8D6F64;
}

button:hover {
	background-color: #5ea89e;
}