header {
    position: relative;
}

.menu-scroll {
    max-height: calc(10 * 40px);
    overflow-y: auto;
}

body {
	font-family: Arial, sans-serif;
	background-color: #f4f4f9;
	margin: 0;
	padding: 20px;
	color: #333;
}

.container {
	margin: 0 auto;
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	color: #000000;
}

h2 {
	color: #4CAF50;
	text-align: center;
}

.table-scroll {
    max-height: calc(10 * 48px); 
    overflow-y: auto;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}


table {
    width: 100%;
    border-collapse: collapse;
}


table thead th {
    position: sticky;
    top: 0;
    background-color: #4CAF50;
    color: white;
    z-index: 10;
}


table th, table td {
    padding: 12px;
    text-align: left;
	border: none !important;
}

table tbody tr {
	background-color: #FFFFFF;
	transition: 0.2s ease;
	color: #000000;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

.tri-btn {
	text-decoration: none;
	padding: 1px 15px;
	display: inline-block;
	margin-right: 5px;
	text-align: left;
	background-color: #d7d7d7;
    border: none;
    color: #000000;
	border-radius: 20px;
	cursor: pointer;
}

.button {
	color: #fff;
	text-decoration: none;
	padding: 1px 15px;
	border-radius: 4px;
	background-color: #003C69;
	border: none;
	display: inline-block;
	margin-right: 5px;
	text-align: center;
	cursor: pointer;
	transition: 0.2s ease;
}

.button-table {
	color: #fff;
	text-decoration: none;
	padding: 10px 13px;
	border-radius: 4px;
	background-color: #7AB800;
	border: none;
	display: inline-block;
	margin-right: 5px;
	text-align: center;
	cursor: pointer;
	transition: 0.2s ease;
}

.button-table:hover {
	background-color: #22d900;
	box-shadow: 0 0 10px #22d900
}

.button-table.delete {
	color: #fff;
	text-decoration: none;
	padding: 10px 13px;
	border-radius: 4px;
	border: none;
	display: inline-block;
	margin-right: 5px;
	text-align: center;
	cursor: pointer;
	background-color: #C90062;
	transition: 0.2s ease;
}

.button-table.delete:hover {
	background-color: #ff0d0d;
	box-shadow: 0 0 10px #ff0d0d
}

.button:hover {
	background-color: #1118fa;
	box-shadow: 0 0 10px #1118fa;
}

.button.delete:hover {
	background-color: #e53935;
}

.action-buttons {
	display: flex;
	gap: 10px;
}

.success-message {
	margin-top: 10px;
	padding: 10px;
	background-color: #dff0d8;
	border: 1px solid #d6e9c6;
	color: #3c763d;
	border-radius: 4px;
	text-align: center;
}

.fixed-buttons {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	padding: 10px;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 1000;
}


.sort-icon {
	display: inline-block;
	margin-left: 5px;
}

.sort-icon.asc::after {
	content: '▲';
}

.sort-icon.desc::after {
	content: '▼';
}

.sorted {
	font-weight: bold;
}
.switch-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
	position: absolute;
	right: 20px;
	top :30px
}

.custom-switch-input {
    display: none;
}

.custom-switch-btn {
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 50px;
    position: relative;
    transition: 0.3s;
	cursor: pointer !important;
}

.custom-switch-btn::after {
    content: "";
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: 0.3s;
}


.custom-switch-input:checked + .custom-switch-btn {
    background: #4CAF50;
}

.custom-switch-input:checked + .custom-switch-btn::after {
    transform: translateX(24px);
}

.nav.nav-pills {
    background: #fff;
    padding: 10px 300px;
    border-radius: 8px;
	display: flex;
    gap: 40px;
}

.nav-item {
	background: #eaeaea;
    padding: 2px;
    border-radius: 8px;
	transition: 0.2s ease;
}

.nav-item:hover {
	background: #cccccc;
}

.nav-pills .nav-link {
    color: #000;
}