
/* ==========================================================================
   Foley Pre-Start Portal — fl-form.css
   Mobile-first. No framework dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom properties
   -------------------------------------------------------------------------- */
:root {
	--fl-pass: #15803d;
	--fl-pass-light: #dcfce7;
	--fl-fail: #b91c1c;
	--fl-fail-light: #fee2e2;
	--fl-warn: #92400e;
	--fl-warn-light: #fef3c7;
	--fl-primary: #1d4ed8;
	--fl-primary-dark: #1e3a8a;
	--fl-border: #d1d5db;
	--fl-surface: #f9fafb;
	--fl-text: #111827;
	--fl-text-muted: #6b7280;
	--fl-radius: 8px;
	--fl-radius-sm: 4px;
	--fl-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
	--fl-shadow-md: 0 4px 6px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .06);
}

/* --------------------------------------------------------------------------
   Portal shell
   -------------------------------------------------------------------------- */
.fl-portal {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 0 48px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--fl-text);
	font-size: 15px;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Header — branded dark bar
   -------------------------------------------------------------------------- */
.fl-portal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: #111827;
	margin-bottom: 0;
	flex-wrap: wrap;
	gap: 8px;
}

.fl-portal__logo {
	display: block;
	width: 110px;
	height: auto;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.fl-portal__brand-name {
	display: block;
	font-weight: 700;
	font-size: 17px;
	color: #fff;
}

.fl-portal__brand-sub {
	display: block;
	font-size: 11px;
	color: rgba(255, 255, 255, .6);
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-top: 2px;
}

.fl-portal__driver {
	font-size: 13px;
	color: rgba(255, 255, 255, .75);
	text-align: right;
}

.fl-portal__driver strong {
	color: #fff;
}

.fl-portal__on-behalf-badge {
	display: inline-block;
	background: rgba(255, 255, 255, .15);
	color: rgba(255, 255, 255, .9);
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 100px;
	margin-left: 4px;
}

/* Body content wrapper — add horizontal padding here */
.fl-portal__body {
	padding: 0 16px;
}

/* --------------------------------------------------------------------------
   Progress indicator
   -------------------------------------------------------------------------- */
.fl-progress {
	display: flex;
	gap: 0;
	margin-bottom: 28px;
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--fl-border);
	padding: 16px 16px 12px;
}

.fl-progress::before {
	content: "";
	position: absolute;
	top: 33px;
	left: calc(100% / 8);
	right: calc(100% / 8);
	height: 2px;
	background: var(--fl-border);
	z-index: 0;
}

.fl-progress__step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	position: relative;
	z-index: 1;
	cursor: default;
}

.fl-progress__num {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--fl-border);
	color: var(--fl-text-muted);
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--fl-border);
	transition: background .2s, color .2s, border-color .2s;
}

.fl-progress__label {
	font-size: 11px;
	color: var(--fl-text-muted);
	text-align: center;
	transition: color .2s;
}

.fl-progress__step.is-active .fl-progress__num {
	background: var(--fl-primary);
	border-color: var(--fl-primary);
	color: #fff;
}

.fl-progress__step.is-active .fl-progress__label {
	color: var(--fl-primary);
	font-weight: 600;
}

.fl-progress__step.is-completed .fl-progress__num {
	background: var(--fl-pass);
	border-color: var(--fl-pass);
	color: #fff;
}

.fl-progress__step.is-completed .fl-progress__num::after {
	content: "✓";
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.fl-step {
	display: none;
}

.fl-step--active {
	display: block;
	animation: fl-fadein .18s ease;
}

@keyframes fl-fadein {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fl-step__inner {
	background: #fff;
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius);
	padding: 28px 24px;
	box-shadow: var(--fl-shadow);
}

.fl-step__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--fl-text);
}

.fl-step__desc {
	color: var(--fl-text-muted);
	margin: 0 0 24px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Fields
   -------------------------------------------------------------------------- */
.fl-field {
	margin-bottom: 22px;
}

.fl-label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--fl-text);
}

.fl-label--warning {
	color: var(--fl-warn);
}

.fl-required {
	color: var(--fl-fail);
	margin-left: 2px;
}

.fl-optional {
	font-weight: 400;
	color: var(--fl-text-muted);
	font-size: 13px;
}

.fl-field__hint {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--fl-text-muted);
}

.fl-select, .fl-input, .fl-textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	background: #fff;
	color: var(--fl-text);
	appearance: none;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}

.fl-select:focus, .fl-input:focus, .fl-textarea:focus {
	outline: none;
	border-color: var(--fl-primary);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, .15);
}

.fl-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'8\' viewBox=\'0 0 12 8\'%3E%3Cpath d=\'M1 1l5 5 5-5\' stroke=\'%236b7280\' stroke-width=\'1.5\' fill=\'none\' stroke-linecap=\'round\'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.fl-select.nitro-lazy {
	background-image: none !important;
}

.fl-textarea {
	resize: vertical;
	min-height: 100px;
}

.fl-textarea--warning {
	border-color: #f59e0b;
}

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */
.fl-notice {
	border-radius: var(--fl-radius-sm);
	padding: 12px 16px;
	font-size: 14px;
	margin-bottom: 20px;
}

.fl-notice--warning {
	background: var(--fl-warn-light);
	border: 1px solid #fbbf24;
	color: var(--fl-warn);
}

.fl-notice--error {
	background: var(--fl-fail-light);
	border: 1px solid #fca5a5;
	color: var(--fl-fail);
}

.fl-notice--inline {
	margin-bottom: 8px;
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */
.fl-checklist-progress {
	font-size: 13px;
	color: var(--fl-text-muted);
	margin-bottom: 16px;
}

.fl-progress-bar {
	height: 6px;
	background: var(--fl-border);
	border-radius: 3px;
	margin-top: 6px;
	overflow: hidden;
}

.fl-progress-bar__fill {
	height: 100%;
	background: var(--fl-primary);
	border-radius: 3px;
	transition: width .3s ease;
}

.fl-checklist {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius);
	overflow: hidden;
}

/* Section heading — bold divider between groups */
.fl-checklist__section-heading {
	background: #1e293b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 9px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.fl-checklist__section-heading::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 14px;
	background: var(--fl-primary);
	border-radius: 2px;
	flex-shrink: 0;
}

.fl-checklist__row {
	padding: 14px 16px;
	border-bottom: 1px solid var(--fl-border);
	background: #fff;
	transition: background .15s;
}

.fl-checklist__row:last-child {
	border-bottom: none;
}

.fl-checklist__row--fail {
	background: var(--fl-fail-light);
}

.fl-checklist__item-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.fl-checklist__item-desc {
	font-size: 12px;
	color: var(--fl-text-muted);
	margin-bottom: 10px;
	line-height: 1.4;
}

.fl-critical {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--fl-fail);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	cursor: help;
	margin-top: 1px;
}

.fl-checklist__buttons {
	display: flex;
	gap: 10px;
}

.fl-check-btn {
	flex: 1;
	padding: 11px 10px;
	font-size: 14px;
	font-weight: 700;
	border: 2px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	background: #fff;
	cursor: pointer;
	transition: all .15s;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--fl-text-muted);
}

.fl-check-btn--pass:hover, .fl-check-btn--pass.is-active, .fl-portal .fl-check-btn--pass:hover, .fl-portal .fl-check-btn--pass.is-active {
	background: var(--fl-pass) !important;
	border-color: var(--fl-pass) !important;
	color: #fff !important;
}

.fl-check-btn--fail:hover, .fl-check-btn--fail.is-active, .fl-portal .fl-check-btn--fail:hover, .fl-portal .fl-check-btn--fail.is-active {
	background: var(--fl-fail) !important;
	border-color: var(--fl-fail) !important;
	color: #fff !important;
}

.fl-checklist__note-wrap {
	margin-top: 10px;
}

.fl-checklist__note {
	width: 100%;
	padding: 8px 10px;
	font-size: 13px;
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	background: #fff;
	box-sizing: border-box;
}

.fl-checklist__fail-photo-wrap {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #fca5a5;
}

/* Row: button + status side by side */
.fl-checklist__fail-photo-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.fl-checklist__fail-photo-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.fl-checklist__fail-photo-grid:empty {
	display: none;
	margin: 0;
}

/* Compact dedicated fail-photo button — NOT inheriting .fl-btn */
.fl-portal .fl-checklist__fail-photo-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 7px 14px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--fl-fail) !important;
	background: #fff !important;
	border: 1.5px solid #fca5a5 !important;
	border-radius: var(--fl-radius-sm) !important;
	cursor: pointer !important;
	min-height: unset !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: all .15s !important;
	white-space: nowrap !important;
}

.fl-portal .fl-checklist__fail-photo-btn:hover {
	background: var(--fl-fail-light) !important;
	border-color: var(--fl-fail) !important;
}

.fl-checklist__fail-photo-status {
	font-size: 12px;
	font-weight: 600;
	color: var(--fl-pass);
	display: flex;
	align-items: center;
	gap: 4px;
}

/* --------------------------------------------------------------------------
   Photo upload
   -------------------------------------------------------------------------- */
.fl-upload-zone {
	border: 2px dashed var(--fl-border);
	border-radius: var(--fl-radius);
	padding: 20px 16px;
	background: var(--fl-surface);
	text-align: center;
	transition: border-color .15s, background .15s;
}

.fl-upload-zone:has(.fl-photo-grid:not(:empty)) {
	text-align: left;
}

.fl-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.fl-photo-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.fl-thumb {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: var(--fl-radius-sm);
	overflow: hidden;
	border: 2px solid var(--fl-border);
	background: var(--fl-surface);
	flex-shrink: 0;
}

/* Fail item thumbnails slightly larger for better visibility */
.fl-checklist__row--fail .fl-thumb {
	border-color: #fca5a5;
}

.fl-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fl-portal .fl-thumb__remove {
	position: absolute !important;
	top: 4px !important;
	right: 4px !important;
	width: 20px !important;
	height: 20px !important;
	min-height: unset !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, .7) !important;
	border: none !important;
	color: #fff !important;
	font-size: 13px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background .15s !important;
	z-index: 2 !important;
}

.fl-portal .fl-thumb__remove:hover {
	background: rgba(185, 28, 28, .9) !important;
}

.fl-thumb__status {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4px;
}

/* --------------------------------------------------------------------------
   Signature
   -------------------------------------------------------------------------- */
.fl-field--signature {
	margin-bottom: 24px;
}

.fl-signature-wrapper {
	position: relative;
	border: 2px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	background: #fff;
	overflow: hidden;
	touch-action: none;
}

.fl-signature-canvas {
	display: block;
	width: 100%;
	height: 180px;
	cursor: crosshair;
}

.fl-signature-hint {
	font-size: 12px;
	color: var(--fl-text-muted);
	text-align: center;
	margin: 6px 0 0;
}

.fl-signature-actions {
	margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Location status
   -------------------------------------------------------------------------- */
.fl-location-status {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-surface);
	border: 1px solid var(--fl-border);
	font-size: 13px;
	color: var(--fl-text-muted);
}

.fl-location-status--ok {
	background: var(--fl-pass-light);
	border-color: var(--fl-pass);
	color: var(--fl-pass);
}

.fl-location-status--error {
	background: var(--fl-fail-light);
	border-color: var(--fl-fail);
	color: var(--fl-fail);
}

.fl-location-status__icon {
	font-size: 18px;
}

/* --------------------------------------------------------------------------
   Review summary
   -------------------------------------------------------------------------- */
.fl-review {
	background: var(--fl-surface);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	margin-bottom: 24px;
	overflow: hidden;
}

.fl-review__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.fl-review__table tr:not(:last-child) {
	border-bottom: 1px solid var(--fl-border);
}

.fl-review__key {
	padding: 10px 14px;
	font-weight: 600;
	color: var(--fl-text-muted);
	width: 35%;
	vertical-align: top;
}

.fl-review__val {
	padding: 10px 14px;
	vertical-align: top;
}

.fl-review__val--warn {
	color: var(--fl-fail);
}

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.fl-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-right: 4px;
}

.fl-badge--pass {
	background: var(--fl-pass-light);
	color: var(--fl-pass);
}

.fl-badge--fail {
	background: var(--fl-fail-light);
	color: var(--fl-fail);
}

/* --------------------------------------------------------------------------
   Buttons — use .fl-portal prefix to beat theme specificity
   -------------------------------------------------------------------------- */
.fl-portal .fl-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 13px 20px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	border-radius: var(--fl-radius-sm) !important;
	border: 2px solid transparent !important;
	cursor: pointer !important;
	text-decoration: none !important;
	transition: all .15s !important;
	touch-action: manipulation !important;
	-webkit-tap-highlight-color: transparent !important;
	white-space: normal !important;
	text-align: center !important;
	word-break: break-word !important;
	user-select: none !important;
	min-height: 44px !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

/* Keep bare .fl-btn for non-portal use */
.fl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	border-radius: var(--fl-radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: all .15s;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	white-space: normal;
	text-align: center;
	word-break: break-word;
	user-select: none;
	min-height: 44px;
	box-sizing: border-box;
}

.fl-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.fl-btn--primary {
	background: var(--fl-primary);
	border-color: var(--fl-primary);
	color: #fff;
}

.fl-btn--primary:not(:disabled):hover {
	background: var(--fl-primary-dark);
	border-color: var(--fl-primary-dark);
}

.fl-btn--ghost {
	background: transparent;
	border-color: var(--fl-border);
	color: var(--fl-text);
}

.fl-btn--ghost:not(:disabled):hover {
	background: var(--fl-surface);
}

.fl-btn--upload {
	background: #fff;
	border: 2px dashed var(--fl-border);
	color: var(--fl-primary);
	padding: 10px 18px;
	font-size: 14px;
}

.fl-btn--upload:hover {
	border-color: var(--fl-primary);
	background: var(--fl-surface);
}

.fl-btn--upload-warn {
	color: var(--fl-fail);
}

.fl-btn--upload-warn:hover {
	border-color: var(--fl-fail);
}

.fl-btn--submit {
	width: 100%;
	padding: 15px;
	font-size: 16px;
	border-radius: var(--fl-radius);
	position: relative;
}

.fl-btn--sm {
	padding: 8px 14px;
	font-size: 13px;
	min-height: 36px;
}

/* Spinner inside submit button */
.fl-btn__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fl-spin .65s linear infinite;
}

@keyframes fl-spin {
	to {
		transform: rotate(360deg);
	}
}

/* --------------------------------------------------------------------------
   Step action rows
   -------------------------------------------------------------------------- */
.fl-step__actions {
	margin-top: 28px;
}

/* Step 1 single-button row — full width on all screen sizes */
#fl-step1-next {
	width: 100%;
}

.fl-step__actions--split {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

/* Back button: fixed width, never grows */
.fl-step__actions--split .fl-btn--ghost {
	flex: 0 0 auto;
	min-width: 88px;
}

/* Primary/Next button: fills remaining space */
.fl-step__actions--split .fl-btn--primary {
	flex: 1 1 0;
	min-width: 0;
}

/* --------------------------------------------------------------------------
   Success panel
   -------------------------------------------------------------------------- */
.fl-success {
	text-align: center;
	padding: 48px 24px;
	background: #fff;
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius);
	box-shadow: var(--fl-shadow);
	animation: fl-fadein .25s ease;
}

.fl-success__icon {
	font-size: 56px;
	line-height: 1;
	margin-bottom: 16px;
	color: var(--fl-pass);
}

.fl-success__heading {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px;
}

.fl-success__message {
	color: var(--fl-text-muted);
	margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
   Loading state
   -------------------------------------------------------------------------- */
.fl-loading {
	color: var(--fl-text-muted);
	font-size: 14px;
	padding: 20px 0;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive — tighten on small phones
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
	.fl-portal__body {
		padding: 0 12px;
	}
	
	.fl-step__inner {
		padding: 20px 14px;
	}
	
	.fl-step__title {
		font-size: 18px;
	}
	
	.fl-signature-canvas {
		height: 150px;
	}
	
	/* Stack: primary action on top, Back below — more natural on mobile */
	.fl-step__actions--split {
		flex-direction: column-reverse;
		gap: 8px;
	}
	
	.fl-step__actions--split .fl-btn {
		width: 100%;
		min-width: 0;
	}
	
	/* Back button less prominent on mobile — smaller, secondary style */
	.fl-step__actions--split .fl-btn--ghost {
		padding: 10px 16px;
		font-size: 14px;
		min-height: 40px;
		opacity: .85;
	}
	
	.fl-check-btn {
		padding: 13px 8px;
		font-size: 13px;
	}
	
	.fl-progress__label {
		display: none;
	}
	
	.fl-btn--upload {
		width: 100%;
	}
	
	.fl-portal__header {
		padding: 14px 16px;
	}
	
	.fl-portal__logo {
		width: 90px;
	}
	
	.fl-progress {
		padding: 14px 12px 10px;
	}
}

/* ==========================================================================
   Driver Login Form — [fl_driver_login_form]
   Matches the Client Services login UI (client-login-box pattern).
   ========================================================================== */
.fl-driver-login {
	background: #fff;
	text-align: center;
}

.fl-driver-login__box {
	background: #f9fcff;
	border: 2px solid #cfe8f8;
	padding: 40px 30px;
	max-width: 550px;
	margin: 0 auto;
	border-radius: 10px;
	box-shadow: 0 0 15px rgba(0, 0, 0, .05);
}

.fl-driver-login__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px;
	color: #222;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.fl-driver-login__error {
	color: #b91c1c;
	background: #fee2e2;
	border: 1px solid #fecaca;
	border-radius: 6px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 14px;
	text-align: left;
}

.fl-driver-login__form {
	text-align: left;
}

.fl-driver-login__field {
	margin-bottom: 15px;
}

.fl-driver-login__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 5px;
}

.fl-driver-login__input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color .15s;
}

.fl-driver-login__input:focus {
	outline: none;
	border-color: #0095f6;
	box-shadow: 0 0 0 3px rgba(0, 149, 246, .15);
}

.fl-driver-login__remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #374151;
	margin-bottom: 10px;
}

.fl-driver-login__remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.fl-driver-login__forgot {
	text-align: right;
	margin-bottom: 20px;
	font-size: 14px;
}

.fl-driver-login__forgot a {
	color: #0095f6;
	text-decoration: none;
}

.fl-driver-login__forgot a:hover {
	color: #007acc;
	text-decoration: underline;
}

.fl-driver-login__actions {
	text-align: center;
}

.fl-driver-login__submit {
	background-color: #0095f6;
	color: #fff;
	padding: 12px 40px;
	border: none;
	border-radius: 25px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	width: 100%;
	transition: background-color .15s;
}

.fl-driver-login__submit:hover {
	background-color: #007acc;
}

.fl-driver-login__submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.fl-driver-login__notice {
	background: #f9fcff;
	border: 2px solid #cfe8f8;
	border-radius: 10px;
	padding: 28px 30px;
	max-width: 550px;
	margin: 0 auto;
	text-align: center;
	font-size: 15px;
	color: #374151;
}

.fl-driver-login__notice a {
	color: #0095f6;
	font-weight: 600;
	text-decoration: none;
}

.fl-driver-login__notice a:hover {
	color: #007acc;
	text-decoration: underline;
}

.fl-driver-login__success {
	color: #15803d;
	background: #dcfce7;
	border: 1px solid #86efac;
	border-radius: 6px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 14px;
	text-align: left;
}

.fl-driver-login__success a {
	color: #15803d;
	font-weight: 600;
}

.fl-driver-login__hint {
	font-size: 14px;
	color: #6b7280;
	margin: 0 0 18px;
	text-align: left;
}

.fl-driver-login__footer-link {
	text-align: center;
	margin-top: 16px;
	font-size: 14px;
	color: #374151;
}

.fl-driver-login__footer-link a {
	color: #0095f6;
	font-weight: 600;
	text-decoration: none;
}

.fl-driver-login__footer-link a:hover {
	color: #007acc;
	text-decoration: underline;
}
