.f80-portal {
	max-width: 1200px;
	margin: 40px auto;
	padding: 20px;
}

.f80-portal-header {
	display: flex;
	border-bottom: 1px solid var(--wpex-table-cell-border-color);
    padding: 25px 30px 20px 30px;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.f80-welcome {
	display: flex;
	align-items: center;
	gap: 8px;
}

.f80-portal-header a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.f80-portal-header a:hover {
  color: #888;
  text-decoration: none;
}

.f80-search-card h2 {
	margin: 0 0 20px;
}

.f80-search-form input[type="text"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.f80-search-form button {
	width: 100%;
	margin-top: 15px;
}

.f80-search-card {
  background: #ffffff;
  border-radius: var(--wpex-input-border-radius);
  border: 1px solid var(--wpex-table-cell-border-color);
  padding: 0px 0px 30px 0px;
  margin-top: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 10px rgba(0,0,0,0.02);
}

.f80-result-card {
  background: #ffffff;
  border-radius: var(--wpex-input-border-radius);
  border: 1px solid var(--wpex-table-cell-border-color);
  padding: 30px;
  margin-top: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 10px rgba(0,0,0,0.02);
}

.f80-history-wrap {
  margin-top: 10px;
  margin-bottom: 20px;
}

.f80-status {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border-radius: 50px;
  color: #fff;
  margin-bottom: 20px;
  justify-content: center;
  display: flex;
}

.f80-status.f80-expired #f80-status-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.f80-search-card form.f80-search-form {
  padding: 0 30px 0 30px;
}

.f80-search-card h1 {
  margin-top: 25px;
  padding: 0 30px 0 30px;
}

.f80-search-form label {
  padding-top: 30px;
  margin-bottom: 8px;
  display: block;
}

.f80-result-card p.f80-no-match {
  padding: 12px;
  background: #f2f2f2;
  border-radius: 8px;
  text-align: center;
  text-transform: none;
  font-weight: 400;
}

.f80-result-card p.f80-action {
  margin-top: 10px;
}

.f80-result-card h1 {
  margin: 21px 0px 0px 0px;
}

.f80-active {
	background: #51a155;
}

.f80-grace {
	background: #ff9800;
}

.f80-expired {
	background: #b91c1c;
}

.f80-result-table {
	width: 100%;
	border-collapse: collapse;
}

.f80-result-table th,
.f80-result-table td {
	padding: 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.f80-not-found {
	background: #6c757d;
	color: #fff;
}

.f80-result-card p {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.f80-suggestions p.f80-action-alert {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
}

.f80-search-card p.f80-search-plate-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0px 0px 0px;
  padding: 0 30px 0 30px;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
}

.f80-suggestions {
	margin: 15px 0px 0px 0;
}

.f80-suggestions li {
	font-weight: 600;
	margin-bottom: 5px;
}

.f80-suggestions-table {
	width: 100%;
	margin: 15px 0;
	border-collapse: collapse;
}

.f80-suggestions-table th,
.f80-suggestions-table td {
	padding: 10px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.f80-suggestion {
	font-weight: 600;
	text-decoration: none;
}

.f80-login-wrap {
	max-width: 500px;
	margin: 50px auto;
	padding: 30px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.f80-login-wrap h2 {
	margin-top: 0;
	text-align: center;
}

.f80-login-wrap input {
	width: 100%;
}

#f80-login-message {
	margin-top: 15px;
	color: red;
}

.f80-tow-portal #footer-builder {
	display: none !important;
}

/*SIGN BUTTON LOADER*/
#f80-login-button {
	min-width: 120px;
}

.f80-button-loader {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(000,000,000,.3);
	border-top-color: #000;
	border-radius: 50%;
	animation: f80-spin .6s linear infinite;
	vertical-align: middle;
}

#f80-login-button.f80-login-button-loading .f80-button-text {
	display: none;
}

#f80-login-button.f80-login-button-loading .f80-button-loader {
	display: inline-block;
}

@keyframes f80-spin {
	to {
		transform: rotate(360deg);
	}
}

/*SEARCH BUTTON LOADER*/
#f80-search-button.f80-search-button-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

#f80-search-button.f80-search-button-loading:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(000,000,000,.4);
	border-top-color: #000;
	border-radius: 50%;
	animation: f80-spin .7s linear infinite;
}

@keyframes f80-spin {

	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}

}

#f80-toast {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 99999;

	background: #dc3232;
	color: #fff;

	padding: 14px 18px;
	border-radius: 6px;

	font-size: 14px;
	font-weight: 600;

	opacity: 0;
	visibility: hidden;

	transform: translateX(120%);

	transition: all .25s ease;
	z-index: 11000;
}

#f80-toast.f80-show {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

#f80-toast.f80-success {
	background: #46b450;
}

#f80-toast.f80-error {
	background: #dc3232;
}

.f80-result-details {
	width: 100%;
}

.f80-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
}

.f80-detail-row.last {
	border: 0;
	padding: 14px 0 0px 0px;
}

.f80-detail-label {
	font-weight: 600;
}

.f80-detail-value {
	font-weight: 400;
	text-align: right;
}

.f80-detail-highlight {
	background: #f7f9fc;
	padding: 16px;
	margin: 10px 0;
	border-radius: 8px;
	border: 1px solid #dbe4f0;
}

.f80-detail-highlight .f80-detail-label,
.f80-detail-highlight .f80-detail-value {
	font-size: 18px;
	font-weight: 600;
	color: #0d5cab;
	display: flex;
    align-items: center;
    gap: 8px;
}

.f80-suggestions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.f80-suggestion-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #fff;
}

.f80-suggestion-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.f80-suggestion-plate a {
  background: #f2f2f2;
  color: #000;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 2px;
}

.f80-suggestion-plate a.f80-suggestion i {
  color: #00539e;
  padding-right: 2px;
}

.f80-suggestion-lot {
	font-size: 16px;
}

.f80-suggestion-action {
	flex-shrink: 0;
}

.f80-alert {
	margin: 20px 0;
	padding: 20px;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
}

.f80-alert strong {
	display: block;
	font-size: 18px;
	margin-bottom: 5px;
}

.f80-alert-success {
	background: #eaf8ee;
	color: #2f7d32;
	border-left: 5px solid #51a155;
}

.f80-alert-warning {
	background: #fff8e5;
	color: #8a6d00;
	border-left: 5px solid #ff9800;
}

.f80-alert-danger {
	background: #fdeaea;
	color: #b42318;
	border-left: 5px solid #b91c1c;
}

.f80-portal-page .f80-portal .f80-footer-notice {
	text-align: center;
}

/*TOW LOG*/
.f80-tow-actions {
  margin-top: 25px;
}

.f80-tow-actions .f80-log-tow-btn {
  /*background: #b91c1c;*/
  background: #fff;
  border: 1px solid #b91c1c;
  color: #b91c1c;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.f80-tow-actions .f80-log-tow-btn:hover {
  background: #fff;
  border-color: #b91c1c;
}

.f80-log-tow-btn i {
}

.f80-modal-content {
	position: relative;
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	width: 100%;
	max-width: 500px;
	z-index: 2;
}

.f80-modal-row {
	margin-bottom: 15px;
}

.f80-modal-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
}

.f80-modal-row input,
.f80-modal-row textarea {
	width: 100%;
}

.f80-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.f80-log-tow-btn span {
}

.f80-modal-content h1 {
  padding: 0;
  margin: 0px 0px 5px 0px;
  font-size: 18px;
}

.f80-modal-content p {
  padding: 0;
  margin: 0px 0px 20px 0px;
  font-size: 16px;
}

.f80-tow-summary {
	margin: 20px 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}

.f80-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}

.f80-summary-row:last-child {
	border-bottom: 0;
}

.f80-summary-row .label {
	font-weight: 600;
	color: #666;
}

.f80-summary-row .value {
	font-weight: 500;
}

.f80-tow-complete {
  background: #fff !important;
  border-color: #fff !important;
  cursor: default !important;
  color: #2e7d32 !important;
  padding: 0 !important;
  text-transform: capitalize !important;
  height: 26px !important;
}

.f80-tow-complete.alert {
	background: #fff !important;
    border: 0;
	color: #2e7d32;
	text-align: center;
	font-weight: 600;
	padding: 0;
	margin-top: 15px;
}

.f80-tow-complete i {
	margin-right: 5px;
}

#f80-close-modal.f80-cancel-log-tow {
  background: #fff;
  color: #00539e;
  border-color: #00539e; 
}

#f80-close-modal.f80-cancel-log-tow:hover {
  opacity: .8;
  text-decoration: none;
  color: #888;
}

/*pop up window animate*/
.f80-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0;
	visibility: hidden;

	transition:
		opacity .25s ease,
		visibility .25s ease;

	z-index: 10000;
}

.f80-modal.active {
	opacity: 1;
	visibility: visible;
}

.f80-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.6);

	opacity: 0;
	transition: opacity .2s ease;
}

.f80-modal.active .f80-modal-overlay {
	opacity: 1;
}

.f80-modal-content {
	position: relative;
	z-index: 2;

	transform: translateY(30px);
	opacity: 0;

	transition:
		transform .25s ease-out,
		opacity .25s ease-out;
}

.f80-modal.active .f80-modal-content {
	transform: translateY(0);
	opacity: 1;
}


#f80-save-tow.f80-log-tow {
  /*background: #b91c1c;*/
  border: 1px solid #b91c1c;
  color: #b91c1c;
}

#f80-save-tow.f80-log-tow:hover {
	color: #878787;
}

.f80-field-error,
#f80-login-form p input.f80-field-error,
.f80-search-card form.f80-search-form input.f80-field-error,
.f80-modal-row textarea#f80-tow-notes.f80-field-error {
	border: 1px solid #dc2626 !important;
	box-shadow: 0 0 0 3px rgba(220,38,38,.15) !important;
}

.tablenav-pages,
.page-numbers {
	margin-top: 20px;
}

.f80-search-plate-alert a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.f80-search-plate-alert a:hover {
	opacity: 0.8;
	text-decoration: none;
}

.f80-search-plate-alert a.text-button i {
  margin-top: 1px;
}


/* DEMO CONTENT */

.f80-demo-table {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	margin: 20px;
	background: #fff;
}

.f80-demo-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	align-items: center;
}

.f80-demo-row:last-child {
	border-bottom: 0;
}

.f80-demo-head {
	font-weight: 600;
	background: #f7f7f7;
}

.f80-demo-row a {
	color: #0a58ca;
	text-decoration: none;
	font-weight: 600;
	font-family: monospace;
}

.f80-demo-row a:hover {
	text-decoration: underline;
}

.f80-demo-note {
	padding: 0 20px 20px;
	font-size: 14px;
	color: #666;
}

#f80-demo-tab {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background: #0d5aa7;
	color: #fff;
	padding: 15px 10px;
	border-radius: 0 8px 8px 0;
	cursor: pointer;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-weight: 600;
	text-transform: uppercase;
    letter-spacing: 1px;
	z-index: 10000;
	transition: left .3s ease;
}

#f80-demo-drawer {
	position: fixed;
	left: -320px;
	top: 0;
	width: 320px;
	height: 100vh;
	background: #fff;
	box-shadow: 0 0 20px rgba(0,0,0,.15);
	overflow-y: auto;
	transition: left .3s ease;
	z-index: 99999;
}

#f80-demo-drawer.active {
	left: 0;
}

.f80-demo-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #eee;
	font-weight: 600;
	background: #f8f8f8;
}

#f80-demo-close {
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

/*mobile*/
@media (max-width: 768px) {

	.f80-portal {
		padding: 0;
	}
	.f80-search-card p.f80-search-plate-alert {
	    display: block;
    }
	.f80-search-plate-alert a {
	    display: block;
	    margin-top: 10px;
    }
	.f80-portal-header {
	    padding: 20px 20px 15px 20px;
    }
	.f80-search-card form.f80-search-form {
	    padding: 0 20px 0 20px;
    }
	.f80-search-card p.f80-search-plate-alert {
	    padding: 0 20px 0 20px;
    }
	
    .f80-result-card {
	    padding: 20px;
    }
}
