.admin-body {
	background: #f8f9fa;
	font-family: "Source Sans 3", "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #1f2b1f;
}

.admin-content h1,
.admin-content h2,
.admin-content h3,
.admin-content h4,
.admin-content h5,
.admin-content h6,
.login-card h1,
.login-card h2,
.login-card h3 {
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.admin-shell {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	min-height: 100vh;
}

.admin-sidebar {
	background: #0b2e1a;
	padding: 1.75rem;
	color: #fff;
	min-width: 0;
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
}

.admin-brand {
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.admin-link {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	padding: 0.75rem 0.9rem;
	border-radius: 0.9rem;
	line-height: 1.25;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.admin-link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.admin-content {
	padding: 2rem;
	min-width: 0;
	overflow-x: hidden;
}

.admin-logo {
	display: block;
	height: 58px;
	width: auto;
}

.dashboard-card {
	background: #ffffff;
	border: 0;
	border-radius: 0.95rem;
	box-shadow: 0 10px 24px rgba(18, 44, 76, 0.06);
}

.table-card {
	background: #ffffff;
	border-radius: 0.95rem;
	padding: 1rem;
	box-shadow: 0 10px 24px rgba(12, 42, 77, 0.06);
}

.admin-form-card {
	padding: 1.4rem;
}

.admin-info-panel {
	background: linear-gradient(180deg, #f8fbf7 0%, #eef7ef 100%);
	border: 1px solid rgba(20, 60, 31, 0.08);
	border-radius: 1rem;
	padding: 1.25rem;
	height: 100%;
}

@media (max-width: 991px) {
	.admin-shell {
		grid-template-columns: 1fr;
	}

	.admin-sidebar {
		padding: 1.25rem;
	}

	.admin-content {
		padding: 1.25rem;
	}

	.admin-nav {
		flex-direction: row !important;
		flex-wrap: wrap;
		gap: 0.6rem !important;
	}

	.admin-link {
		padding: 0.7rem 0.95rem;
		background: rgba(255, 255, 255, 0.06);
	}
}

@media (max-width: 767px) {
	.table-card {
		border-radius: 1rem;
	}

	.admin-logo {
		height: 78px;
	}

	.admin-content .d-flex.justify-content-between {
		align-items: flex-start !important;
	}
}

@media (max-width: 575px) {
	.admin-sidebar {
		padding: 1rem;
	}

	.admin-nav {
		gap: 0.45rem !important;
	}

	.admin-link {
		width: 100%;
		text-align: left;
	}

	.admin-content {
		padding: 1rem;
	}
}

/* Custom admin styles */
.admin-link.active,
.admin-link:hover {
	border-left: 3px solid #d4af37;
	padding-left: calc(0.9rem - 3px);
	background: rgba(255, 255, 255, 0.08);
}

.table th, .table td {
	padding: 1rem;
	border: none;
	border-bottom: 1px solid #eaeaea;
	vertical-align: middle;
}

.table th {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.table td {
	font-size: 0.99rem;
}

.table tbody tr:nth-of-type(odd) {
	background-color: #fafbfc;
}

.table tbody tr:hover {
	background-color: #f1f3f5;
}

.form-floating > .form-control-plaintext:focus,
.form-floating > .form-control:focus {
	box-shadow: 0 0 0 2px #085032;
}

.form-control, .form-select {
	background-color: #f4f5f7;
	border: none;
	border-radius: 0.5rem;
	transition: all 0.2s ease;
	font-size: 1rem;
}

.form-control:focus, .form-select:focus {
	box-shadow: 0 0 0 2px #085032;
	outline: none;
	background: #ffffff;
}

.btn-primary {
	background-color: #085032;
	border-color: #085032;
	box-shadow: 0 4px 6px rgba(8, 80, 50, 0.2);
	transition: all 0.2s ease;
	border-radius: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.btn-primary:hover, .btn-primary:focus {
	background-color: #063d26;
	border-color: #063d26;
	transform: translateY(-1px);
	box-shadow: 0 5px 10px rgba(8, 80, 50, 0.18);
}

.admin-content .d-flex.justify-content-between {
	align-items: center;
}

.admin-message-body {
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.8;
	color: #1f2b1f;
}
