:root {
	--bg1: #052e16;
	--bg2: #14532d;
	--bg3: #1f7a4f;

	--glass: rgba(255, 255, 255, 0.08);

	--border: rgba(255, 255, 255, 0.15);

	--text: #ecfdf5;

	--muted: #d1fae5;

	--accent: #4ade80;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Poppins", sans-serif;
	background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
	color: var(--text);
	min-height: 100vh;
}

.glass {
	background: var(--glass);
	backdrop-filter: blur(18px);
	border: 1px solid var(--border);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 40px;
	position: sticky;
	top: 0;
	z-index: 100;
}

.logo {
	font-family: "Manrope", sans-serif;
	font-size: 26px;
	font-weight: 800;
}

.navbar nav {
	display: flex;
	gap: 22px;
}

.navbar nav a {
	color: white;
	text-decoration: none;
	font-weight: 500;
}

.navbar nav a.active {
	border-bottom: 2px solid var(--accent);
}

.hero {
	max-width: 1200px;
	margin: 40px auto;
	padding: 70px;
	border-radius: 30px;
}

badge {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(74, 222, 128, 0.15);
	color: #bbf7d0;
	margin-bottom: 22px;
}

.hero h1 {
	font-family: "Manrope", sans-serif;
	font-size: 58px;
	line-height: 1.1;
	margin-bottom: 20px;
}

.hero p {
	max-width: 720px;
	font-size: 19px;
	color: var(--muted);
	line-height: 1.8;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	margin-top: 35px;
	flex-wrap: wrap;
}

.button,
.secondary-button {
	padding: 14px 28px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	border: none;
	transition: 0.25s;
}

.button {
	background: linear-gradient(135deg, #4ade80, #16a34a);
	color: white;
}

.button:hover {
	transform: translateY(-3px);
}

.secondary-button {
	background: rgba(255, 255, 255, 0.1);
	color: white;
}

.stats {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 22px;
	padding: 20px;
}

.card {
	padding: 30px;
	border-radius: 22px;
	text-align: center;
}

.card h3 {
	font-family: "Manrope";
	font-size: 38px;
	color: #86efac;
	margin-bottom: 8px;
}

.features {
	max-width: 1200px;
	margin: 60px auto;
	padding: 20px;
}

.features h2 {
	font-family: "Manrope";
	font-size: 40px;
	text-align: center;
	margin-bottom: 35px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 22px;
}

.feature-card {
	padding: 28px;
	border-radius: 18px;
}

.feature-card:hover {
	transform: translateY(-6px);
	transition: 0.3s;
}

.welcome {
	max-width: 1200px;
	margin: 50px auto;
	padding: 35px;
	border-radius: 20px;
	text-align: center;
}

.container {
	max-width: 1450px;
	margin: 35px auto;
	padding: 30px;
	border-radius: 22px;
}

.form-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	margin-bottom: 30px;
}

.form-grid input,
.form-grid select,
.search-box input {
	padding: 14px;
	border-radius: 10px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-family: "Poppins";
}

.form-grid input::placeholder,
.search-box input::placeholder {
	color: #d1fae5;
}

.form-grid input:focus,
.form-grid select:focus,
.search-box input:focus {
	outline: 2px solid var(--accent);
}

.search-box {
	margin-bottom: 25px;
}

.search-box input {
	width: 100%;
}

.table-container {
	overflow: auto;
	border-radius: 18px;
}

table {
	width: 100%;
	border-collapse: collapse;
	min-width: 1200px;
}

th {
	background: rgba(74, 222, 128, 0.2);
	padding: 15px;
	font-family: "Manrope";
}

td {
	padding: 14px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tr:hover {
	background: rgba(255, 255, 255, 0.05);
}

.badge-paid,
.badge-pending {
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 14px;
}

.badge-paid {
	background: #16a34a;
}

.badge-pending {
	background: #d97706;
}

.action-btn {
	padding: 8px 12px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	margin: 2px;
}

.edit {
	background: #16a34a;
	color: white;
}

.delete {
	background: #dc2626;
	color: white;
}

.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 14px 20px;
	border-radius: 10px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(-20px);
	transition: 0.3s;
	z-index: 999;
}

.toast.show {
	opacity: 1;
	transform: translateY(0);
}

.toast.success {
	background: #16a34a;
}
.toast.error {
	background: #dc2626;
}
.toast.info {
	background: #2563eb;
}

.empty {
	padding: 35px;
}

@media (max-width: 768px) {
	.navbar {
		flex-direction: column;
		gap: 12px;
		padding: 20px;
	}

	.hero {
		padding: 40px 25px;
	}

	.hero h1 {
		font-size: 38px;
	}

	.hero-buttons {
		flex-direction: column;
	}

	.form-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	table {
		min-width: 1000px;
	}
}
