.dashboard-container {
	display: flex;
	width: 100%;
}
.sidebar {
	width: calc(290px - 40px);
	background:#C00;
	color: white;
	padding: 20px;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	transition: transform 0.3s ease;
	z-index: 1000;
}
.sidebar h2 {
	text-align: center;
}
.sidebar .admin-info {
	text-align: left;
	margin-bottom: 20px;
}
.sidebar ul {
	list-style: none;
	padding: 0;
}
.sidebar ul li {
	border-bottom: 1px solid rgba(255,255,255,0.25);
}
.sidebar ul li a {
	color: white;
	padding: 10px;
	text-decoration: none;
	display: block;
}
.sidebar ul li a:hover {
	color: black;
}
.menu-toggle {
	display: block;
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 24px;
	color: white;
	cursor: pointer;
}
.header-menu-toggle {
	display:none;
	font-size: 28px;
	cursor: pointer;
	color: #C00;
	position:absolute;
	right:0px;
}
.dashboard-content {
	margin-left: 250px;
	padding: 20px;
	width: calc(100% - 250px);
	transition: margin-left 0.3s ease;
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 10px;
	border-bottom: 2px solid #ddd;
	position: relative;
	margin-bottom:20px;
}
header h1 {
	color:#F00;
}
.stats {
	display: flex;
	gap: 20px;
	margin: 20px 0;
	flex-wrap: wrap;
}
.stat-box {
	background: #F00;
	color: white;
	padding: 20px;
	flex: 1;
	text-align: center;
	border-radius: 5px;
	min-width: 150px;
}
.events table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}
.events th, .events td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: left;
}
.events th {
	background: rgba(255,0,0,0.5);
	color: black;
}
.events button {
	background: #C00;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 50px;
}
.events button:hover {
	background: #F00;
}
.form {
	display:block;
}
.form form {
	box-shadow:none;
	padding:0px;
}


.action button {
	margin:2px 0px;
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}
.modal-content {
	background: white;
	padding: 20px;
	border-radius: 8px;
	width: 400px;
	font-size:13px;
	
  max-height: 80vh;   /* limits modal height */
  overflow-y: auto;   /* enables vertical scroll */
}
.modal-content h3 {
	font-size:1.5em;
	text-align:center;
	color:#F00;
}
.modal-content ul, .modal-content ul li {
	list-style-type:none;
}
.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.modal-footer {
	text-align: right;
	margin-top: 10px;
}

.modal-content input, .modal-content textarea, .modal-content select {
    padding: 0.65rem;
    margin-bottom: 0.35rem;
    font-size: 14px;
}




.message-list {
	list-style: none;
	padding: 0;
}

.message-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}

.message-item:hover {
	background-color: #f0f0f0;
}

.status, .new-message-btn {
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 12px;
	color: #fff;
}

.status.new {
	background: red;
}

.status.replied {
	background: green;
}

.new-message-btn {
	background:#0C3;
	padding:12px 25px;
	border-radius:0px;
	font-size:1em;
	cursor:pointer;
	margin-bottom:20px;
}


@media screen and (max-width: 768px) {
.sidebar {
	transform: translateX(-100%);
}
.sidebar.active {
	transform: translateX(0);
}
.menu-toggle {
	display: block;
}
header {
	padding:12px 0px;
	margin-bottom:20px;
}
header h1 {
	font-size:1.65em;
	line-height:27px;
	margin-top:10px;
}
.header-menu-toggle {
	display: block;
}
.events th, .events td {
	padding: 7px;
	font-size:12px;
}

.dashboard-content {
	position:!important;
	margin:0px;
	padding: 20px;
	padding-top:0px;
	width:100%;
}
}
