﻿html, body {
	font-family: 'Manrope', sans-serif !important;
	font-weight: 500 !important;
}

a, .btn-link {
	color: #006bb7;
}

.btn-primary {
	color: #fff;
	background-color: #1b6ec2;
	border-color: #1861ac;
}

:root {
	--skyblue-color: #0ea5e9;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
	padding-top: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Plus Jakarta Sans, sans-serif !important;
}

h1:focus {
	outline: none;
}

label {
	font-weight: 500;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid #e50000;
}

.validation-message {
	color: #e50000;
}

.blazor-error-boundary {
	background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5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em 3.7rem;
	color: white;
}

	.blazor-error-boundary::after {
		content: "An error has occurred."
	}

.darker-border-checkbox.form-check-input {
	border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
	color: var(--bs-secondary-color);
	text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
	text-align: start;
}




.SlideOutContainer {
	z-index: 300;
	position: absolute;
	top: 52px;
	background-color: #121315 !important;
	color: white !important;
	animation: slideOut 0.6s ease forwards;
	transform-origin: top;
}

@keyframes slideOut {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}



label {
	font-family: "Noto Sans Myanmar", sans-serif;
}

.PaymasterTextBox:-webkit-autofill,
.PaymasterTextBox:-webkit-autofill:focus {
	border: 0.5px solid #DFDFE6;
}

.PaymasterTextBox[data-autocompleted] {
	border: 0.5px solid #DFDFE6;
}

/* Basic input */
.PaymasterTextBoxContainer {
	display: inline-grid;
}

.PaymasterTextBox {
	width: 100%;
	border: 1px solid #DFDFE6;
	border-radius: 16px;
	height: 48px;
	background: #fff;
	padding: 14px 18px;
	font-family: "Noto Sans Myanmar", sans-serif;
	font-size: 14px;
	color: #222;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.2s;
}

	.PaymasterTextBox:focus {
		box-shadow: 3px 6px 20px -14px #021A2D;
		transition: box-shadow ease 0.5s;
	}

.PaymasterTextBoxErrorColor {
	background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #6C0202 0%, #B70707 51.5%, #530101 100%) border-box !important;
}

.PaymasterTextBoxContainer {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 800px; /* Optional: adjust as needed */
	margin: 0 auto;
}

.PaymasterTextBoxLabel {
	color: #757885;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 12px;
	padding-left: 0;
	font-family: "Noto Sans Myanmar", sans-serif;
}

.PaymasterTextBoxErrorMessage {
	color: #cc0033;
	font-size: 13px;
	margin-top: 6px;
	margin-left: 4px;
	font-family: "Noto Sans Myanmar", sans-serif;
	font-weight: 400;
	line-height: 1.3;
}

/* Highlight invalid inputs in red using the built-in aria-invalid flag */
.PaymasterTextBox[aria-invalid="true"] {
	border-color: #ef4444 !important; /* Red-500 */ 
}

	.PaymasterTextBox[aria-invalid="true"]:focus {
		outline: none !important; 
	}

/* Show error when input is invalid and touched */
.PaymasterTextBox:invalid:focus + .PaymasterTextBoxErrorMessage {
	display: block;
}

.PaymasterLayout_NavBarDesktop {
	background-color: #fff;
	border-bottom: 2px solid #ebe6e7 ;
	--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
	box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

@media only screen and (max-width: 1040px) {
	.PaymasterLayout_NavBarDesktop {
		display: none !important;
	}
}

@media only screen and (min-width: 1040px) {
	.PaymasterLayout_NavBarMobile {
		display: none !important;
	}
}


:root .mud-dialog-title {
	font-weight: 600 !important;
	font-size: 1.05rem !important;
	background-color: #dadadaa3 !important;
}

.mud-dialog-title {
	font-weight: 600 !important;
	font-size: 1.05rem !important;
	background-color: #dadadaa3 !important;
}

/******************************************************
 * Batch Adjustment Table — Compact Styling
 ******************************************************/
/* Global height variable — adjust as needed */
:root {
	--employee-table-row-height: 32px;
}

/* Remove MudBlazor’s internal scroll handling */
.batch-adjustment-table.mud-table-root {
	--mud-table-maxheight: none !important; /* disable built-in scroll behavior */
	overflow: visible !important;
}

/* Table container: let it expand to fit rows */
.batch-adjustment-table .mud-table-container,
.batch-adjustment-table .mud-table-fixed-header {
	max-height: none !important;
	height: auto !important;
	overflow-x: hidden !important; /* no horizontal scroll */
	/* FIX: Removed overflow-y: visible !important; to prevent accidental scrollbars */
}

/* Compact table layout */
.batch-adjustment-table .mud-table {
	width: 100% !important;
	table-layout: fixed; /* consistent column widths */
}

/* Base table cell styling */
.batch-adjustment-table .mud-table-cell {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	/* IMPORTANT: We remove general truncation here, and manage it per cell type */
	overflow: visible;
	text-overflow: clip;
	white-space: nowrap;
}

	.batch-adjustment-table .mud-table-cell > * {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

/******************************************************
 * Compact Input Styling
 ******************************************************/

.batch-adjustment-input .mud-input-slot {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	display: flex;
	align-items: center !important;
	min-height: var(--employee-table-row-height) !important;
}

.batch-adjustment-input input.mud-input-input,
.batch-adjustment-input input.mud-autocomplete-input {
	height: var(--employee-table-row-height) !important;
	line-height: var(--employee-table-row-height) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-size: 0.875rem;
	box-sizing: border-box;
}

/* MudSelect visible text alignment */
.batch-adjustment-input .mud-select-input {
	display: inline-flex !important;
	align-items: center !important;
	height: var(--employee-table-row-height) !important;
	line-height: var(--employee-table-row-height) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-size: 0.875rem;
}

/* Adornments/icons match same height */
.batch-adjustment-input .mud-input-adornment,
.batch-adjustment-input .mud-input-adornment .mud-icon-root {
	height: var(--employee-table-row-height) !important;
	display: inline-flex;
	align-items: center;
}


.batch-adjustment-table .batch-name-cell {
	overflow: visible !important;
	text-overflow: clip !important;
	white-space: nowrap;
}

	.batch-adjustment-table .batch-name-cell .mud-input-control {
		overflow: visible !important;
		min-width: 0 !important;
	}

	.batch-adjustment-table .batch-name-cell .mud-input-control-input-container {
		display: flex !important;
		flex: 1 1 auto;
		min-width: 0;
		overflow: visible !important;
	}

	.batch-adjustment-table .batch-name-cell input.mud-autocomplete-input {
		overflow: visible !important;
		text-overflow: clip !important;
		white-space: nowrap !important;
		flex: 1 1 auto;
		min-width: 0;
		max-width: none !important;
	}

	.batch-adjustment-table .batch-name-cell .mud-input-slot {
		overflow: visible !important;
		min-width: 0;
	}

/******************************************************/


/******************************************************
 * Compact batchtime-narrow-table
 ******************************************************/


.batchtime-narrow-table th,
.batchtime-narrow-table td {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	height: 55px;
}

.batchtime-narrow-table .mud-input-control {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	background-color: white !important;
}

	.batchtime-narrow-table .mud-input-control > .mud-input-label {
		top: 4px !important;
	}

/******************************************************/



/******************************************************
 * make all MudTab text not uppercase
 ******************************************************/

.mud-tabs .mud-tab {
	text-transform: none !important;
}
/******************************************************/