@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body
{
	margin: 0;
	background: #eef3f4;
	color: #08121a;
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	font-size: 13px;
	line-height: 1.45;
}

#pageLabel, .pageLabelTD
{
	color: #08121a;
}

body, p, td, th, input, select, textarea, button
{
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	font-size: 13px;
	color: #08121a;
}

body > center,
body > form,
body > table,
body > div
{
	width: 100%;
	box-sizing: border-box;
}

body > center > table[align="center"],
body > form > table[align="center"],
body > table[align="center"]
{
	width: 100% !important;
	margin: 0;
}

table
{
	border-collapse: separate;
	border-spacing: 0;
}

table[bgcolor="#ffffff"],
table[bgcolor="white"],
table[bgcolor="#FFF"],
table[bgcolor="#fff"]
{
	background: #ffffff;
	border: 1px solid #d7e2e5;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(8, 18, 26, .08);
	overflow: hidden;
}

fieldset
{
	border: 1px solid #d7e2e5;
	border-radius: 10px;
	background: #ffffff;
	padding: 10px 12px 12px;
	box-shadow: 0 6px 18px rgba(8, 18, 26, .06);
	color: #08121a;
	margin-bottom: 10px;
}

legend
{
	display: none;
}

strong
{
	font-size: inherit;
	font-weight: 700;
}

.Header
{
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	color: #08121a;
}

.Header2, A.Header2, A:Link.Header2, A:Visited.Header2, A:Active.Header2, A:Hover.Header2
{
	font-size: 12px;
	color: #50646b;
	font-weight: 700;
	text-decoration: none;
}

span.Header2, SPAN.Header2
{
	display: none;
}

.Header3
{
	font-size: 11px;
	font-weight: 700;
	color: #607278;
	text-transform: uppercase;
	letter-spacing: .05em;
}

A.Header3, A:Link.Header3, A:Visited.Header3, A:Active.Header3
{
	font-size: 20px;
	font-weight: 800;
	color: #08121a;
	text-decoration: none;
}

.ButtonLink, A.ButtonLink, A:Hover.ButtonLink, A:Link.ButtonLink, A:Visited.ButtonLink, A:Active.ButtonLink
{
	font-size: 11px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
}

.Link2, A.Link2, A:Hover.Link2, A:Link.Link2, A:Visited.Link2, A:Active.Link2
{
	color: #0d6f78;
	text-decoration: none;
}

A, A:Link, A:Visited, A:Active
{
	color: #0b6670;
	font-weight: 700;
	text-decoration: none;
}

A:hover, A:Hover
{
	color: #084d55;
	text-decoration: underline;
}

.Error
{
	margin: 0 0 18px;
	padding: 12px 14px;
	text-align: left;
	color: #8f1d1d;
	font-weight: 700;
	background: #fff1f1;
	border: 1px solid #f3c4c4;
	border-radius: 10px;
}

.Req
{
	font-size: 14px;
	color: #cc3a32;
	font-weight: 800;
}

input, select, textarea
{
	border: 1px solid #b9ccd1;
	border-radius: 6px;
	background: #ffffff;
	padding: 4px 8px;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
	font-size: 12px;
}

input
{
	min-height: 28px;
}

select
{
	min-height: 30px;
	padding-right: 24px;
}

textarea
{
	width: 280px;
	min-height: 92px;
	resize: vertical;
}

input:focus, select:focus, textarea:focus
{
	outline: none;
	border-color: #00a7ad;
	box-shadow: 0 0 0 4px rgba(0, 167, 173, .12);
}

input[readonly]
{
	background: #f7fbfc;
	color: #405359;
}

input[type="button"], input[type="submit"], input[type="reset"], button
{
	min-height: 26px;
	padding: 4px 10px;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(180deg, #0db2b8 0%, #0a8b92 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .01em;
	box-shadow: 0 4px 12px rgba(0, 128, 136, .18);
	cursor: pointer;
	line-height: 1.2;
}

input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover
{
	background: linear-gradient(180deg, #10c3ca 0%, #0b99a0 100%);
}

input[type="button"] + input[type="button"],
input[type="button"] + input[type="submit"],
input[type="submit"] + input[type="button"],
input[type="submit"] + input[type="submit"]
{
	margin-left: 4px;
}

/* View page headers */
.Header4
{
	font-family: 'Inter', Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #08121a;
	letter-spacing: -.01em;
}

/* Navbar action button bars on View pages */
.tl-navbar
{
	background: linear-gradient(180deg, #f6fafb 0%, #eef3f4 100%);
	border-bottom: 1px solid #d7e2e5;
}

.tl-navbar td
{
	padding: 10px 12px;
}

img
{
	max-width: 100%;
}

td
{
	vertical-align: top;
}

td[align="right"]
{
	text-align: right;
}

.FormTopTD, .FormBtmTD
{
	padding: 12px 0 16px;
}

.TDAReq,
td[style*="font-weight:bold"],
td b
{
	color: #18353d;
	font-weight: 700;
}

.ListHeaderRow
{
	padding: 6px 10px;
	font-weight: 800;
	border-bottom: 1px solid #d7e2e5;
	background: linear-gradient(180deg, #f6fafb 0%, #eaf2f4 100%);
	color: #18353d;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .03em;
	position: sticky;
	top: 0;
}

tr td.ListHeaderRow:first-child
{
	border-top-left-radius: 12px;
}

tr td.ListHeaderRow:last-child
{
	border-top-right-radius: 12px;
}

.ListRow td
{
	padding: 5px 10px;
	font-size: 12px;
	background: #ffffff;
	border-bottom: 1px solid #e3ecee;
	vertical-align: middle;
}

.ListRow:nth-child(even) td
{
	background: #f8fbfc;
}

.ListRow:hover td
{
	background: #e7f7f8;
}

table tr td
{
	padding: 4px 8px;
}

table tr + tr td
{
	border-top: 1px solid rgba(215, 226, 229, .5);
}

table tr td[colspan]
{
	padding-top: 8px;
	padding-bottom: 8px;
}

hr
{
	border: 0;
	height: 1px;
	background: #d7e2e5;
}

li
{
	margin-bottom: 6px;
}

iframe
{
	border: 0;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(8, 18, 26, .06);
}

/* ===== Compact filter fieldset with expand/collapse ===== */
fieldset.tl-filter
{
	padding: 0;
	overflow: hidden;
	transition: box-shadow .2s ease;
}
fieldset.tl-filter.collapsed
{
	box-shadow: 0 2px 8px rgba(8, 18, 26, .04);
}
fieldset.tl-filter .tl-filter__bar
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	background: linear-gradient(180deg, #f6fafb 0%, #eaf2f4 100%);
	border-bottom: 1px solid #d7e2e5;
	cursor: pointer;
	user-select: none;
}
fieldset.tl-filter.collapsed .tl-filter__bar
{
	border-bottom: 0;
}
fieldset.tl-filter .tl-filter__title
{
	font-size: 11px;
	font-weight: 800;
	color: #18353d;
	text-transform: uppercase;
	letter-spacing: .04em;
}
fieldset.tl-filter .tl-filter__toggle
{
	font-size: 11px;
	color: #0b6670;
	font-weight: 700;
	margin-left: auto;
}
fieldset.tl-filter .tl-filter__body
{
	padding: 10px 12px;
	transition: max-height .25s ease, opacity .2s ease, padding .2s ease;
	max-height: 800px;
	opacity: 1;
	overflow: hidden;
}
fieldset.tl-filter.collapsed .tl-filter__body
{
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}
fieldset.tl-filter table
{
	width: 100%;
}
fieldset.tl-filter table tr td
{
	padding: 3px 6px;
	vertical-align: middle;
	white-space: nowrap;
}
fieldset.tl-filter input,
fieldset.tl-filter select
{
	min-height: 26px;
	padding: 3px 6px;
	font-size: 12px;
	width: auto;
}
fieldset.tl-filter td[colspan]
{
	padding-top: 6px;
	padding-bottom: 4px;
}

/* ===== Swoosh decorations ===== */
.tl-swoosh-top
{
	position: relative;
}
.tl-swoosh-top::before
{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #00a7ad, #0db2b8, #00a7ad);
	border-radius: 0 0 2px 2px;
}
.tl-swoosh-bar
{
	position: relative;
	overflow: hidden;
}
.tl-swoosh-bar::after
{
	content: '';
	position: absolute;
	bottom: 0;
	left: -10%;
	width: 120%;
	height: 60px;
	background: radial-gradient(ellipse at center, rgba(0, 167, 173, .08) 0%, transparent 70%);
	pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px)
{
	fieldset.tl-filter table tr td
	{
		white-space: normal;
	}
}

@media (max-width: 768px)
{
	body > center > table[align="center"],
	body > form > table[align="center"],
	body > table[align="center"]
	{
		width: 100% !important;
	}

	fieldset.tl-filter table tr,
	fieldset.tl-filter table td
	{
		display: block;
		width: 100% !important;
	}
	fieldset.tl-filter input,
	fieldset.tl-filter select
	{
		width: 100% !important;
	}
	.ListHeaderRow
	{
		font-size: 10px;
		padding: 4px 6px;
	}
	table tr td
	{
		padding: 3px 5px;
		font-size: 12px;
	}
	input[type="button"], input[type="submit"], button
	{
		padding: 3px 8px;
		font-size: 10px;
	}
}

/* Grid action buttons (used in IFrame.asp list pages) */
.grid-btn
{
	display: inline-block;
	padding: 3px 10px;
	border: 1px solid #00a7ad;
	border-radius: 5px;
	background: linear-gradient(180deg, #00c8c8 0%, #00a7ad 100%);
	color: #fff;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: transform .05s, box-shadow .1s;
	box-shadow: 0 2px 6px rgba(0, 167, 173, .25);
	margin: 0 2px;
}

.grid-btn:hover
{
	background: linear-gradient(180deg, #00d8d8 0%, #00b8be 100%);
	box-shadow: 0 3px 10px rgba(0, 167, 173, .35);
}

.grid-btn:active
{
	transform: translateY(1px);
}

.grid-btn--danger
{
	background: linear-gradient(180deg, #e8625a 0%, #c94a42 100%);
	border-color: #c94a42;
	box-shadow: 0 2px 6px rgba(201, 74, 66, .25);
}

.grid-btn--danger:hover
{
	background: linear-gradient(180deg, #f0726a 0%, #d95a52 100%);
	box-shadow: 0 3px 10px rgba(201, 74, 66, .35);
}

.grid-btn--neutral
{
	background: linear-gradient(180deg, #f6fafb 0%, #e3ecee 100%);
	border-color: #c8d7db;
	color: #18353d;
	box-shadow: 0 1px 4px rgba(8, 18, 26, .08);
}

.grid-btn--neutral:hover
{
	background: linear-gradient(180deg, #ffffff 0%, #eef3f4 100%);
	box-shadow: 0 2px 6px rgba(8, 18, 26, .12);
}

/* IFrame grid table improvements */
iframe[name="MyIFrame"] table,
iframe[name="MyIFrame"] table td,
iframe[name="MyIFrame"] table th
{
	border-collapse: collapse;
}

iframe[name="MyIFrame"] .header
{
	background: linear-gradient(180deg, #eef3f4 0%, #e3ecee 100%);
	color: #18353d;
	font-weight: 700;
	font-size: 11px;
	padding: 6px 10px;
	border-bottom: 2px solid #c8d7db;
	text-align: left;
}

iframe[name="MyIFrame"] table td
{
	padding: 5px 10px;
	font-size: 12px;
	border-bottom: 1px solid #e3ecee;
	background: #ffffff;
	vertical-align: middle;
}

iframe[name="MyIFrame"] table tr:nth-child(even) td
{
	background: #f8fbfc;
}

iframe[name="MyIFrame"] table tr:hover td
{
	background: #e7f7f8;
}

input[type="radio"],
input[type="checkbox"]
{
	min-height: auto;
	width: 16px;
	height: 16px;
	margin: 2px 4px 2px 0;
	padding: 0;
	cursor: pointer;
	accent-color: #0c5560;
	vertical-align: middle;
}

label
{
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	font-size: 13px;
	color: #08121a;
}

.form-group
{
	margin-bottom: 12px;
}

.form-options
{
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}

@media (max-width: 480px)
{
	.Header2
	{
		font-size: 11px;
	}
	table tr td
	{
		padding: 2px 4px;
		font-size: 11px;
	}
	input[type="button"], input[type="submit"], button
	{
		padding: 2px 6px;
		font-size: 10px;
	}
	.grid-btn
	{
		padding: 2px 6px;
		font-size: 10px;
	}
}
