body{
	font-family:arial;
	font-size:12px;
	margin:0px;
}
td{
	font-size:12px;
}
th{
	background-color:#18417B;
	color:#FFFFFF;
}
a{
	font-weight:bold;
}
.required{	
	font-weight:bold;
}
.buttonsmall{
	width:60px;
}
.buttonlarge{
	width:120px;
}
.error{
	font-weight:bold;
	color:#CC0000;
}
.tableedit{
	background-color:#EEEEEE;
	border:2px outset #AAAAAA;
}
.tablenormal{
	background-color:#EEEEEE;
	border:1px solid #000000;
}
input,button{
	font-size:12px;
}
select{
	font-size:12px;
}
.blueheading{
	padding:5px;
	background-color:#18417B;
	color:#FFFFFF;
	font-weight:bold;
	font-size:14px;
	margin-bottom:5px;
}
.readonly{
	background-color:#DDDDDD;
}
.custom-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1em;
}

	.custom-table th, .custom-table td {
		border: 1px solid #ccc;
		padding: 8px;
		text-align: left;
	}

	.custom-table th {
		background-color: #f2f2f2;
	}

.custom-button {
	background-color: #007bff;
	color: white;
	padding: 8px 16px;
	border: none;
	cursor: pointer;
}

	.custom-button:hover {
		background-color: #0056b3;
	}

.custom-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none; 
	justify-content: center; 
	align-items: center; 
	z-index: 999;
	animation: fadeIn 0.3s ease-in-out;
}

.custom-modal-content {
	background-color: #fff;
	border-radius: 16px;
	width: 400px;
	max-width: 90%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: scaleIn 0.3s ease-in-out;
}

/* Modal header */
.custom-modal-header {
	background-color: #f5f5f5;
	padding: 1rem 1.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ddd;
}

	/* Modal title */
	.custom-modal-header h5 {
		margin: 0;
		font-size: 1.1rem;
		font-weight: 600;
		color: #333;
	}

/* Close button */
.custom-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #999;
	cursor: pointer;
	transition: color 0.2s;
}

	.custom-modal-close:hover {
		color: #333;
	}

/* Modal body */
.custom-modal-body {
	padding: 1.25rem;
	font-size: 1rem;
	color: #555;
}

/* Modal footer */
.custom-modal-footer {
	display: flex;
	justify-content: flex-end;
	padding: 1rem 1.25rem;
	background-color: #f9f9f9;
	border-top: 1px solid #eee;
	gap: 0.5rem;
}

/* Buttons */
.custom-button {
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.2s;
}

	.custom-button:active {
		transform: scale(0.97);
	}

.cancel-btn {
	background-color: #e0e0e0;
	color: #333;
}

	.cancel-btn:hover {
		background-color: #d5d5d5;
	}

.confirm-btn {
	background-color: #28a745;
	color: white;
}

	.confirm-btn:hover {
		background-color: #218838;
	}

.adjustmentmodal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	justify-content: center;
	align-items: center;
}

.adjustmentmodal-content {
	background: #fff;
	padding: 20px;
	border-radius: 5px;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes scaleIn {
	from {
		transform: scale(0.95);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}
