/* Graybox Procedure Code Search — Frontend */

.gbp-search-wrap {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	font-family: inherit;
}

/* Mode radios */
.gbp-search-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 10px;
	margin-bottom: 0;
	align-items: center;
	justify-content: left;
}

.gbp-search-mode__label {
	font-size: 18px;
	font-weight: 600;
	white-space: nowrap;
	color: #005b7b;
}

.gbp-mode-label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 18px;
	margin: 0;
}

.gbp-search-mode input[type="radio"] {
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	margin: 0;
	font: inherit;
	color: #005b7b;
	width: 22px;
	height: 22px;
	border: 0.15em solid #005b7b;
	border-radius: 50%;
	transform: translateY(-1.35px);
	display: grid;
	place-content: center;
	cursor: pointer;
	margin-top: 2px;
}

.gbp-search-mode input[type="radio"]::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 18px 18px #005b7b;
	background-color: CanvasText;
}

.gbp-search-mode input[type="radio"]:checked::before {
	transform: scale(1);
}

.gbp-search-mode input[type="radio"]:focus-visible {
	outline: 2px solid #005b7b;
	outline-offset: 2px;
}

/* Input row */
.gbp-search-input-wrap {
	position: relative;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.gbp-search-input {
	flex: 1;
	padding: 10px 20px !important;
	height: 52px !important;
	font-size: 18px !important;
	border: 1px solid #ccc;
	border-radius: 0 !important;
	outline: none;
	box-sizing: border-box;
}

.gbp-search-input:focus-visible {
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.gbp-clear-btn {
	position: absolute;
	right: 120px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gbp-clear-btn:hover {
	color: #333;
}

.gbp-search-btn {
	padding: 10px 20px;
	font-size: 1rem;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	height: 52px;
	text-transform: uppercase;
	font-family: Figtree, Arial, Helvetica;
	font-weight: 600;
	line-height: 20px;
}

.gbp-search-btn:hover {
	background: #005e8b;
}

.gbp-search-btn:focus-visible {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

/* Dropdown */
.gbp-dropdown {
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	list-style: none;
	margin: 0;
	padding: 4px 0;
	z-index: 9999;
	max-height: 300px;
	overflow-y: auto;
}

.gbp-dropdown-item {
	display: flex;
	gap: 10px;
	padding: 8px 14px;
	cursor: pointer;
	line-height: 1.3;
}

.gbp-dropdown-item:hover,
.gbp-dropdown-item--active {
	background: #f0f7fc;
}

.gbp-dd-code {
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 70px;
}

.gbp-dd-desc {
	color: #555;
	font-size: 0.875rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Results */
.gbp-results-wrap {
	margin-top: 24px;
}

.gbp-results-header {
	font-size: 0.9rem;
	color: #555;
	margin-bottom: 10px;
}

.gbp-loading {
	padding: 12px 0;
	color: #555;
	font-style: italic;
}

.gbp-error {
	padding: 12px;
	background: #fef0f0;
	border: 1px solid #f5c2c2;
	border-radius: 4px;
	color: #c0392b;
}

.gbp-no-results {
	padding: 12px 0;
	color: #888;
	font-style: italic;
}

/* Results grid */
.gbp-table-wrap {
	overflow-x: auto;
}

.gbp-results-list {
	font-size: 16px;
	font-family: Figtree, Arial, Helvetica;
	min-width: fit-content;
	width: 100%;
}

.pa-result {
	display: grid;
	border-bottom: 1px solid #e5e5e5;
}

.pa-result--header {
	background: #f5f5f5;
	border-bottom: 2px solid #ddd;
	border-top: 1px solid rgba(0, 0, 0, .1);
	position: sticky;
	top: 0;
	z-index: 1;
}

.pa-result--header .pa-result__cell {
	font-weight: 600;
	white-space: nowrap;
}

.pa-result:not(.pa-result--header):hover {
	background: #fafafa;
}

.pa-result:last-child {
//border-bottom: none;
}

.pa-result__cell {
	padding: 9px 10px;
}

.pa-result__cell--cpt_description {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-left: 1px solid rgba(0, 0, 0, .1);
	border-right: 1px solid rgba(0, 0, 0, .1);
}

.gbp-desc-label {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #005b7b;
	margin-top: 6px;
}

.gbp-desc-label:first-child {
	margin-top: 0;
}

.gbp-desc-label--pa {
	color: #005b7b;
}

.gbp-desc-text {
	font-size: 16px;
	line-height: 22px;
}

.pa-result__cell--pa_status,
.pa-result__cell--cpt_code,
.pa-result__cell--effective_start_date,
.pa-result__cell--effective_end_date {
	white-space: nowrap;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pa-result__cell--effective_start_date,
.pa-result__cell--effective_end_date {
	border-right: 1px solid rgba(0, 0, 0, .1);
}

.pa-result__cell--cpt_code {
	font-weight: 700;
	font-size: 22px;
	color: #005b7b;
	border-left: 1px solid rgba(0, 0, 0, .1);
}

.pa-result--header .pa-result__cell--cpt_code {
	font-size: 16px;
	color: black;
}

.pa-result__cell--pa_status {
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
	border-right: 1px solid rgba(0, 0, 0, .1);
}

.gbp-pa-status-item {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 600;
	background: #e8f4f8;
	color: #005b7b;
	white-space: nowrap;
}

.pa-result mark {
	background: #fff176;
	color: inherit;
	padding: 0 1px;
}

/* Login shortcode */
.gbp-login-form-wrap {
	max-width: 412px;
}

.gbp-login-form-wrap #loginform {
	padding: 0;
	border: none;
	box-shadow: none;
	margin: 0;
}

.gbp-login-form-wrap .login-username {
	justify-content: left;
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	margin-bottom:21px;
}


.gbp-login-form-wrap .login-password {
	justify-content: left;
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	margin-bottom:16px;
}

.gbp-login-form-wrap .login-remember {
	text-align:left;
	font-family: Tasman;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	margin-bottom:21px;
}

.gbp-login-form-wrap label {
	display: block;
	margin-bottom: 4px;
	font-family: Figtree;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 26px;
	color:#005B7B;
}

.gbp-login-form-wrap .login-remember label {
	text-align:left;
	font-family: Tasman;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
}

.gbp-login-form-wrap .login-remember label input {
	border-radius: 2px;
	height: 14px;
	width: 14px;
	background-color: transparent;
	appearance: none;
	border: 1px solid #005B7B;
	color:#005B7B;
	margin-right: 6px;
	margin-top:-3px;
}

.gbp-login-form-wrap input[type="text"],
.gbp-login-form-wrap input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 24px 32px;
	border-radius: 70px;
	border: 1px solid #005B7B;
	background: #FBFAF6;
	color: #005B7B;
	font-family: Figtree;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
}

.gbp-login-form-wrap input[type="text"]:focus-visible,
.gbp-login-form-wrap input[type="password"]:focus-visible {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.gbp-login-form-wrap .login-remember {
	display: flex;
	align-items: center;
	gap: 6px;
}

.gbp-login-form-wrap .login-remember label {
	font-weight: normal;
	margin-bottom: 0;
}

.gbp-login-form-wrap input[type="submit"] {
	border: none;
	cursor: pointer;
	display: flex;
	width: 100%;
	height: 52px;
	padding: 12px 33px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: #FFF;
	font-family: Figtree;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.56px;
	text-transform: uppercase;
	border-radius:0px;
	background: #005B7B;
}

.gbp-login-form-wrap .login-submit input {
	display: flex;
	width: 100%;
	height: 52px;
	padding: 12px 33px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: #FFF;
	font-family: Figtree;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.56px;
	text-transform: uppercase;
	border-radius:0px;
	background: #005B7B;
}

.gbp-login-form-wrap input[type="submit"]:hover {
	background: #005e8b;
}

.gbp-login-status {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 0.9rem;
	color: #444;
}

.gbp-login-status__text {
	color: #005B7B;
	font-family: Tasman;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
}

.gbp-login-status__logout {
	text-decoration: none;
}

.gbp-login-status__logout {
	display: flex;
	align-items: center;
	color: #30822C !important;
	font-family: Figtree;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.56px;
	text-transform: uppercase;
}

.gbp-login-status__logout:before {
	display:flex;
	content:"";
	height:20px;
	width:20px;
	margin-right:6px;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDMuNjI1MDJDMTAgMy45NzAyIDkuNzE5MTcgNC4yNDY0NiA5LjM3NTk5IDQuMjgzNUM2LjQ5MzkxIDQuNTk0NTQgNC4yNTAwNyA3LjAzNTMgNC4yNSAxMEM0LjI1IDEyLjk2NDggNi40OTM4NiAxNS40MDU1IDkuMzc1OTkgMTUuNzE2NkM5LjcxOTE3IDE1Ljc1MzYgMTAgMTYuMDI5OCAxMCAxNi4zNzVDMTAgMTYuNzIwMiA5LjcxOTI0IDE3LjAwMjkgOS4zNzU0IDE2Ljk3MjVDNS44MDIwMSAxNi42NTY2IDMgMTMuNjU1NSAzIDEwQzMuMDAwMDggNi4zNDQ2IDUuODAyMDYgMy4zNDM0OSA5LjM3NTQgMy4wMjc1MUM5LjcxOTI0IDIuOTk3MTEgMTAgMy4yNzk4NSAxMCAzLjYyNTAyWiIgZmlsbD0iIzMwODIyQyIvPgo8cGF0aCBkPSJNMTIuNTgxMSA2LjU4MTAxQzEyLjgyNTEgNi4zMzY5MyAxMy4yMjA4IDYuMzM2OTMgMTMuNDY0OCA2LjU4MTAxTDE2LjQ0MjQgOS41NTc1N0MxNi42ODY1IDkuODAxNjUgMTYuNjg2NSAxMC4xOTgzIDE2LjQ0MjQgMTAuNDQyM0wxMy40NjQ4IDEzLjQxODlDMTMuMjIwOCAxMy42NjMgMTIuODI1MSAxMy42NjMgMTIuNTgxMSAxMy40MTg5QzEyLjMzNyAxMy4xNzQ4IDEyLjMzNyAxMi43NzkyIDEyLjU4MTEgMTIuNTM1MUwxNC40OTEyIDEwLjYyNUg3LjYyNUM3LjI3OTgyIDEwLjYyNSA3IDEwLjM0NTEgNyA5Ljk5OTk1QzcgOS42NTQ3NyA3LjI3OTgyIDkuMzc0OTUgNy42MjUgOS4zNzQ5NUgxNC40OTEyTDEyLjU4MTEgNy40NjQ4QzEyLjMzNyA3LjIyMDcyIDEyLjMzNyA2LjgyNTA5IDEyLjU4MTEgNi41ODEwMVoiIGZpbGw9IiMzMDgyMkMiLz4KPC9zdmc+Cg==");
}

.gbp-login-status__logout:hover {
	text-decoration: underline;
}



/* Pagination */
.gbp-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
	margin-top: 36px;
}

.gbp-page-btn {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: 14px;
	font-family: Figtree, Arial, Helvetica;
	background: #fff;
	color: #005b7b;
	border: 1px solid #005b7b;
	border-radius: 4px;
	cursor: pointer;
	line-height: 1;
}

.gbp-page-btn:hover:not(:disabled) {
	background: #005b7b;
	color: #fff;
}

.gbp-page-btn--active {
	background: #005b7b;
	color: #fff;
	font-weight: 600;
	cursor: default;
}

.gbp-page-btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.gbp-page-ellipsis {
	padding: 0 6px;
	color: #888;
	font-size: 14px;
	line-height: 36px;
}

.gbp-login-form-wrap input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: 2px solid #0073aa;
	border-radius: 3px;
	background: transparent;
	cursor: pointer;
}

.login-remember input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: 2px solid #0073aa;
	border-radius: 3px;
	background: transparent;
	cursor: pointer;
	vertical-align: middle;
}

.login-remember label {
	position: relative;
}

.login-remember input[type="checkbox"]:checked + * {
	/* fallback — not needed if using the label approach below */
}

.login-remember label::after {
	content: none;
}

.login-remember input[type="checkbox"]:checked {
	background-color: transparent;
	border-color: #0073aa;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNi42MDkwNCAwLjMyNDkwNkM2LjgxNjIgLTAuMDAxNDc5MDkgNy4yNDg0NSAtMC4wOTgwNTUzIDcuNTc0ODYgMC4xMDkwODZDNy45MDEyNCAwLjMxNjI0NSA3Ljk5NzgyIDAuNzQ4NTAyIDcuNzkwNjggMS4wNzQ5MUwzLjk4MzA2IDcuMDc0OTFDMy44NzE2OCA3LjI1MDQxIDMuNjg4MjIgNy4zNjc1NSAzLjQ4MjA4IDcuMzk0MjRDMy4yNzU4NiA3LjQyMDg4IDMuMDY4MDUgNy4zNTQwOSAyLjkxNTY4IDcuMjEyNkwwLjIyMzI5NCA0LjcxMjZDLTAuMDU5NzUxNCA0LjQ0OTUxIC0wLjA3NTgxOTcgNC4wMDY1NSAwLjE4NzE2MSAzLjcyMzM0QzAuNDUwMjUzIDMuNDQwMyAwLjg5MzIwOSAzLjQyNDIzIDEuMTc2NDIgMy42ODcyMUwzLjI1MTYxIDUuNjEzOTdMNi42MDkwNCAwLjMyNDkwNloiIGZpbGw9IiMwMDVCN0IiLz4KPC9zdmc+Cg==");
	background-size: 8px;
	background-repeat: no-repeat;
	background-position: center;
}

.login-corner {
	align-self: flex-end;
	justify-content: flex-end;
}

.login-corner svg path {
	stroke: #005B7B;
	fill:none !important;
}


div.gspbcssvisibilitycontent:has(.login-corner) {
	display:flex;
	justify-content: flex-end;
}

.login-corner {
	top:-90px;
}

.login-corner:has(.pa-login-button) .pa-login-button {
	color: #30822C;
	font-family: Figtree;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 22px; /* 157.143% */
	letter-spacing: 0.56px;
	text-transform: uppercase;
}

.login-corner:has(.pa-login-button) svg path {
	stroke: #30822C;
	fill:none !important;
}

.logged-in .login-corner:has(.pa-login-button) {
	display:none !important;
}

.pa-tool-hero {
	margin-bottom:40px !important;
}

body:has(.login-corner) .ct-header [data-row*="middle"] {
	background-color: #D7E9D4 !important;
	border-bottom: 1px solid #55A352 !important;
}