/*
 * Minimal functional styling for WLD Driver Marketplace front-end forms.
 * Design system decision (PLAN.md section 11, item 5) is still open —
 * this is intentionally plain until that's confirmed and a real theme
 * integration is built.
 */

.wld-form {
	max-width: 480px;
}

.wld-field {
	margin-bottom: 1em;
}

.wld-field label,
.wld-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.wld-field input[type="text"],
.wld-field input[type="email"],
.wld-field input[type="password"],
.wld-field input[type="number"],
.wld-field input[type="date"],
.wld-field select,
.wld-field textarea {
	width: 100%;
	padding: 0.5em;
	box-sizing: border-box;
}

.wld-checkbox-inline {
	display: inline-block;
	font-weight: normal;
	margin-right: 1em;
}

.wld-honeypot {
	position: absolute;
	left: -9999px;
}

.wld-form-message {
	margin-top: 0.5em;
}

.wld-form-message.wld-success {
	color: #1a7f37;
}

.wld-form-message.wld-error,
.wld-form-error {
	color: #c00;
}

.wld-form-links {
	margin-top: 0.75em;
	font-size: 0.9em;
	text-align: center;
}

.wld-form-links a {
	color: #1abc9c;
	text-decoration: none;
}

.wld-form-links a:hover {
	text-decoration: underline;
}

.wld-dashboard-notice {
	padding: 1em;
	background: #f6f7f7;
	border-left: 4px solid #dba617;
}

.wld-dashboard {
	max-width: 100%;
	overflow-x: hidden;
}

.wld-dashboard .wld-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.25em;
	margin-bottom: 1em;
	border-bottom: 1px solid #ddd;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wld-dashboard .wld-tab {
	background: none;
	border: none;
	padding: 0.75em 1em;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	flex: 0 0 auto;
}

.wld-dashboard .wld-tab.active {
	border-bottom-color: #2271b1;
	font-weight: 600;
}

.wld-dashboard .wld-tab-panel {
	display: none;
}

.wld-dashboard .wld-tab-panel.active {
	display: block;
}

.wld-image-preview img {
	max-width: 150px;
	height: auto;
	display: block;
	margin-bottom: 0.5em;
}

.wld-gallery-items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.wld-gallery-item {
	position: relative;
}

.wld-gallery-item img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	display: block;
}

.wld-gallery-item .wld-remove-gallery-item {
	position: absolute;
	top: 0;
	right: 0;
	background: #c00;
	color: #fff;
	border: none;
	cursor: pointer;
	line-height: 1;
	padding: 0.15em 0.4em;
}

/* Vehicles tab */

.wld-vehicle-list {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

.wld-vehicle-item {
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 0.75em;
	border: 1px solid #ddd;
}

.wld-vehicle-thumb img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	display: block;
}

.wld-vehicle-summary {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.wld-vehicle-actions button {
	margin-left: 0.5em;
}

.wld-pricing-summary-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.5em;
}

.wld-pricing-summary-table th,
.wld-pricing-summary-table td {
	text-align: left;
	padding: 0.5em;
	border-bottom: 1px solid #ddd;
}

.wld-empty {
	color: #666;
	font-style: italic;
}

/* Archive grids (drivers/vehicles list shortcodes) */

.wld-filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	align-items: flex-end;
	margin-bottom: 1.5em;
}

.wld-filter-form .wld-field {
	margin-bottom: 0;
}

.wld-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.75em;
}

.wld-card {
	border: 1px solid #eee;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.wld-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.wld-card-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f0f0f0;
}

.wld-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wld-card-body {
	padding: 1.1em 1.2em 1.3em;
}

.wld-card-body h3 {
	margin: 0 0 0.4em;
	font-size: 1.15em;
}

.wld-card-body h3 a {
	color: inherit;
	text-decoration: none;
}

.wld-card-price {
	font-weight: 600;
}

.wld-card-meta,
.wld-card-rating,
.wld-card-tags,
.wld-card-driver-link {
	color: #555;
	font-size: 0.9em;
	margin: 0.3em 0;
}

.wld-card-rating .wld-review-stars {
	margin-right: 0.3em;
}

.wld-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1.5em;
}

/* Single driver/vehicle templates */

.wld-single-profile-image img {
	max-width: 200px;
	height: auto;
}

.wld-single-facts {
	list-style: none;
	padding: 0;
	margin: 1em 0;
}

.wld-single-facts li {
	margin-bottom: 0.4em;
}

.wld-single-gallery {
	margin: 1.5em 0;
}

.wld-single-gallery img {
	width: 150px;
	height: 150px;
	object-fit: cover;
}

/* Driver profile hero */

.wld-hero {
	position: relative;
	height: 360px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
}

.wld-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2em;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.75) 100%);
	color: #fff;
}

/* Scoped under .wld-hero-overlay (rather than the bare .wld-breadcrumb
   class) so this reliably beats the active theme's own generic `a { }`
   link-color rules — those were bleeding through and making "Home"/"Driver"
   render in the theme's link color instead of white, while the current-page
   span stayed white, giving the breadcrumb two unrelated-looking colors. */
.wld-hero-overlay .wld-breadcrumb,
.wld-hero-overlay .wld-breadcrumb a,
.wld-hero-overlay .wld-breadcrumb span {
	font-size: 0.95em;
	color: #ffffff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.wld-hero-overlay .wld-breadcrumb {
	margin-bottom: 0.75em;
}

.wld-hero-overlay .wld-breadcrumb a {
	text-decoration: none;
}

.wld-hero-overlay .wld-breadcrumb a:hover {
	color: #5eead4;
	text-decoration: underline;
}

.wld-hero-overlay .wld-breadcrumb-sep {
	color: #5eead4;
	margin: 0 0.15em;
}

.wld-hero-overlay h1 {
	color: #fff;
	margin: 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.wld-single-body {
	max-width: 900px;
	margin: 0 auto;
	padding: 2em 1em;
}

.wld-meta-row {
	margin-bottom: 1.5em;
}

.wld-meta-row .wld-card-rating {
	color: #f5b301;
	font-weight: 600;
	margin: 0 0 0.25em;
}

.wld-quick-facts {
	color: #555;
	margin: 0;
}

.wld-about-grid {
	display: grid;
	grid-template-columns: 1fr 220px;
	gap: 2em;
	align-items: start;
	margin-bottom: 2em;
}

.wld-about-photo img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.wld-tags-section,
.wld-package-section,
.wld-reviews-section,
.wld-gallery-section,
.wld-booking-section {
	margin-bottom: 2.5em;
}

.wld-tag-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.wld-tag-pill {
	background: #f0f0f0;
	border-radius: 20px;
	padding: 0.4em 1em;
	font-size: 0.9em;
}

.wld-checklist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.6em 2em;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wld-checklist-grid li {
	position: relative;
	padding-left: 1.4em;
}

.wld-checklist-grid li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #1a7f37;
}

.wld-reviews-summary-bar {
	display: flex;
	align-items: center;
	gap: 0.75em;
	background: #f6f7f7;
	border: 1px solid #ddd;
	padding: 0.75em 1em;
	margin-bottom: 1em;
	font-weight: 600;
}

.wld-reviews-cards .wld-reviews-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1em;
}

.wld-reviews-cards .wld-review-item {
	border: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 1em;
	border-radius: 4px;
}

/* The pagination nav is a sibling of the review cards inside the same grid
   — without this it'd land as a single narrow grid cell instead of a full-
   width bar below the cards. */
.wld-reviews-cards .wld-pagination {
	grid-column: 1 / -1;
}

.wld-booking-card {
	background: #faf1e4;
	border-radius: 8px;
	padding: 2em;
}

.wld-booking-card .wld-form {
	max-width: none;
}

.wld-whatsapp-float {
	position: fixed;
	right: 1.5em;
	bottom: 1.5em;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	z-index: 100;
	text-decoration: none;
}

/* Booking form */

.wld-field-inline {
	display: flex;
	gap: 1em;
}

.wld-field-inline > span {
	flex: 1;
}

.wld-field-help {
	display: block;
	font-size: 0.85em;
	color: #666;
	margin-top: 0.25em;
}

.wld-total-price {
	font-weight: 600;
	background: #f0f9f4;
	border: 1px solid #cdeedb;
	padding: 0.6em 1em;
	border-radius: 4px;
}

/* Bookings tab / booking list */

.wld-booking-list {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.wld-booking-item {
	border: 1px solid #ddd;
	padding: 1em;
}

.wld-booking-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5em;
}

.wld-booking-facts {
	list-style: none;
	margin: 0 0 0.75em;
	padding: 0;
	color: #444;
}

.wld-booking-facts li {
	margin-bottom: 0.25em;
}

.wld-booking-facts li.wld-booking-total {
	font-weight: 600;
	color: #1a1a1a;
}

.wld-booking-status {
	font-weight: 600;
	padding: 0.15em 0.6em;
	border-radius: 3px;
	background: #eee;
}

.wld-status-new {
	background: #fff3cd;
}

.wld-status-confirmed {
	background: #d1e7dd;
}

.wld-status-declined,
.wld-status-cancelled {
	background: #f8d7da;
}

.wld-status-completed {
	background: #cfe2ff;
}

.wld-booking-actions button {
	margin-right: 0.5em;
}

/* Admin dashboard stat cards */

.wld-admin-stats .card {
	background: #fff;
	border: 1px solid #ccd0d4;
	padding: 1em 1.5em;
	min-width: 140px;
}

.wld-admin-stats .card h2 {
	margin: 0 0 0.25em;
	font-size: 1.8em;
}

.wld-admin-stats .card p {
	margin: 0;
	color: #666;
}

/* Review form */

.wld-review-driver {
	display: flex;
	align-items: center;
	gap: 1em;
	margin-bottom: 1em;
}

.wld-review-driver img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 50%;
}

.wld-star-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	font-size: 1.8em;
}

.wld-star-rating input {
	display: none;
}

.wld-star-rating label {
	display: inline;
	color: #ccc;
	cursor: pointer;
}

.wld-star-rating input:checked ~ label,
.wld-star-rating label:hover,
.wld-star-rating label:hover ~ label {
	color: #f5b301;
}

/* Reviews list */

.wld-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
}

.wld-review-item {
	border-bottom: 1px solid #ddd;
	padding-bottom: 1em;
}

.wld-review-header {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.wld-review-stars {
	/* Approximating the site's brand green from the screenshot — swap for
	   the exact brand hex if you have it (e.g. from the "Get a Quote" button). */
	color: #1abc9c;
}

.wld-drive-by {
	color: #555;
	margin: 0 0 1em;
}

.wld-drive-by a {
	color: #1abc9c;
}

.wld-review-location {
	color: #777;
	font-size: 0.9em;
}

.wld-review-driver {
	font-size: 0.9em;
	color: #555;
	margin: 0.25em 0;
}

.wld-review-text {
	margin: 0.5em 0;
}

.wld-review-date {
	color: #999;
	font-size: 0.85em;
	margin: 0;
}

/* Archive filter bar (drivers/vehicles list) */

.wld-filter-form {
	max-width: none;
}

.wld-archive-results.wld-loading {
	opacity: 0.5;
	pointer-events: none;
}

.wld-price-range {
	min-width: 220px;
}

.wld-price-range-values {
	font-size: 0.9em;
	color: #444;
	margin-bottom: 0.35em;
}

.wld-price-range-slider {
	position: relative;
	height: 24px;
}

.wld-price-range-slider input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.wld-price-range-slider input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	background: #ddd;
}

.wld-price-range-slider input[type="range"]::-moz-range-track {
	height: 4px;
	background: #ddd;
}

.wld-price-range-slider input[type="range"]::-webkit-slider-thumb {
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2271b1;
	cursor: pointer;
	margin-top: -6px;
}

.wld-price-range-slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2271b1;
	border: none;
	cursor: pointer;
}

/* Chat */

.wld-chat-start {
	margin: 1.5em 0;
}

.wld-chat-toggle {
	background: #fff;
	border: 1px solid #1abc9c;
	color: #1abc9c;
	padding: 0.6em 1.2em;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}

.wld-chat-thread-page {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
	padding: 1.5em;
	box-sizing: border-box;
}

.wld-chat-driver {
	display: flex;
	align-items: center;
	gap: 0.9em;
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid #eee;
}

.wld-chat-driver h3 {
	margin: 0;
	font-size: 1.25em;
}

/* Avatars — a real photo when one exists, otherwise a colored circle with
   the sender's first initial, so every message has *something* to anchor
   the eye to instead of a bare name label. */

.wld-chat-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.wld-chat-avatar-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1abc9c;
	color: #fff;
	font-weight: 700;
	font-size: 0.95em;
}

.wld-chat-avatar-lg {
	width: 56px;
	height: 56px;
	font-size: 1.4em;
}

.wld-chat-messages {
	max-height: 480px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 0.85em;
	padding: 1em;
	background: #f9fafb;
	border: 1px solid #ececec;
	border-radius: 8px;
	margin-bottom: 1em;
}

/* Each message is a row: [avatar, bubble] for received messages, and the
   mirror image — flex-direction reversed so the avatar ends up on the
   right — for the current viewer's own ("self") messages. Which sender
   counts as "self" depends on who's looking: see
   WLD_Shortcode_Chat_Thread::is_self_message(). */

.wld-chat-row {
	display: flex;
	align-items: flex-end;
	gap: 0.5em;
	width: 100%;
}

.wld-chat-row-self {
	flex-direction: row-reverse;
}

.wld-chat-row-system {
	justify-content: center;
}

.wld-chat-bubble {
	max-width: 75%;
	padding: 0.6em 1em;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e0e0e0;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: break-word;
}

.wld-chat-bubble strong {
	display: block;
	font-size: 0.8em;
	color: #666;
	margin-bottom: 0.2em;
}

.wld-chat-bubble p {
	margin: 0;
}

.wld-chat-bubble .wld-chat-time {
	display: block;
	font-size: 0.75em;
	color: #999;
	margin-top: 0.3em;
}

.wld-chat-row-self .wld-chat-bubble {
	border-bottom-right-radius: 4px;
}

.wld-chat-row-other .wld-chat-bubble {
	border-bottom-left-radius: 4px;
}

.wld-chat-bubble-driver {
	background: #eafaf3;
	border-color: #cdeedb;
}

/* Dashboard Messages tab */

.wld-messages-tab {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	align-items: flex-start;
}

.wld-conversation-list {
	flex: 1 1 260px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	max-height: 500px;
	overflow-y: auto;
}

.wld-conversation-item {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0.6em 0.8em;
	cursor: pointer;
}

.wld-conversation-item:hover {
	background: #f6f7f7;
}

.wld-conversation-item.wld-conversation-active {
	border-color: #2271b1;
	background: #f0f6fc;
}

.wld-conversation-item.wld-conversation-unread strong {
	font-weight: 700;
}

.wld-conversation-preview {
	margin: 0.3em 0 0;
	font-size: 0.85em;
	color: #666;
}

.wld-conversation-time {
	font-size: 0.75em;
	color: #999;
}

.wld-unread-badge {
	display: inline-block;
	background: #d63638;
	color: #fff;
	border-radius: 10px;
	padding: 0.05em 0.5em;
	font-size: 0.75em;
	margin-left: 0.3em;
}

.wld-chat-thread-panel {
	flex: 2 1 320px;
	min-width: 0;
}

/* Quote Requests tab */

.wld-quote-request-item {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1em;
	margin-bottom: 1em;
}

.wld-quote-request-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5em;
}

.wld-quote-badge {
	font-weight: 600;
	padding: 0.15em 0.6em;
	border-radius: 3px;
	font-size: 0.85em;
}

.wld-quote-badge-quoted {
	background: #d1e7dd;
}

.wld-quote-request-facts {
	list-style: none;
	margin: 0 0 0.75em;
	padding: 0;
	color: #444;
}

.wld-quote-request-facts li {
	margin-bottom: 0.25em;
}

.wld-send-quote-btn,
.wld-withdraw-quote-btn,
.wld-send-quote-from-chat-btn {
	cursor: pointer;
}

.wld-withdraw-quote-btn {
	background: #f8d7da;
	border-color: #f1aeb5;
}

/* Invoices tab */

.wld-invoice-item {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1em;
	margin-bottom: 1em;
}

.wld-invoice-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5em;
}

.wld-invoice-summary strong {
	font-size: 1.1em;
}

.wld-invoice-facts {
	list-style: none;
	margin: 0 0 0.75em;
	padding: 0;
	color: #444;
}

.wld-invoice-facts li {
	margin-bottom: 0.25em;
}

.wld-invoice-amount-due {
	font-weight: 600;
	color: #1a1a1a;
}

.wld-invoice-status {
	font-weight: 600;
	padding: 0.15em 0.6em;
	border-radius: 3px;
	font-size: 0.85em;
}

.wld-invoice-status-pending {
	background: #fff3cd;
}

.wld-invoice-status-submitted {
	background: #cfe2ff;
}

.wld-invoice-status-paid {
	background: #d1e7dd;
}

.wld-invoice-bank-details {
	background: #f6f7f7;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0.75em 1em;
	margin-bottom: 1em;
}

.wld-invoice-bank-details h4 {
	margin: 0 0 0.5em;
}

.wld-invoice-bank-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wld-invoice-bank-details li {
	margin-bottom: 0.2em;
}

.wld-upload-slip-form .wld-slip-filename {
	margin-left: 0.5em;
	font-size: 0.9em;
	color: #444;
}

.wld-invoice-note {
	color: #444;
}

.wld-invoice-note-paid {
	color: #1a7f4b;
	font-weight: 600;
}

/* Quotation card (rendered inside a chat bubble on the guest /chat/ page,
   the dashboard's Messages tab, and the admin Messages screen). */

.wld-quotation-card-wrap {
	max-width: 85%;
}

.wld-quotation-card {
	position: relative;
	border: 2px solid #1abc9c;
	border-radius: 8px;
	background: linear-gradient(180deg, #f2fbf8 0%, #fbfdff 60%);
	padding: 0.9em 0.75em 0.75em;
	margin-top: 0.6em;
	box-shadow: 0 3px 12px rgba(26, 188, 156, 0.15);
}

.wld-quotation-card-badge {
	position: absolute;
	top: -11px;
	left: 12px;
	background: #1a7f4b;
	color: #fff;
	font-size: 0.7em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.2em 0.7em;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.wld-quotation-card-header {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 0.5em;
}

.wld-quotation-card-header img {
	border-radius: 4px;
	width: 48px;
	height: 48px;
	object-fit: cover;
}

.wld-quotation-vehicle {
	font-weight: 600;
}

.wld-quotation-facts {
	list-style: none;
	margin: 0 0 0.6em;
	padding: 0;
	font-size: 0.9em;
	color: #333;
}

.wld-quotation-facts li {
	margin-bottom: 0.2em;
}

.wld-quotation-card-actions {
	margin-top: 0.5em;
}

.wld-book-now-btn {
	background: #1a7f4b;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0.5em 1.2em;
	font-weight: 600;
	cursor: pointer;
}

.wld-book-now-btn:hover {
	background: #156339;
}

.wld-quotation-status {
	display: inline-block;
	font-weight: 600;
	padding: 0.15em 0.6em;
	border-radius: 3px;
	font-size: 0.85em;
	background: #eee;
}

.wld-quotation-status-sent {
	background: #fff3cd;
}

.wld-quotation-status-accepted {
	background: #d1e7dd;
}

.wld-quotation-status-declined,
.wld-quotation-status-withdrawn {
	background: #f8d7da;
}

.wld-quotation-status-expired {
	background: #e2e3e5;
}

.wld-chat-bubble-system {
	background: #f3f3f3;
	border-color: #e5e5e5;
	text-align: center;
	font-size: 0.85em;
	color: #666;
	max-width: 90%;
}

/* Contact card — posted once a driver confirms a booking. Deliberately
   styled as a distinct, trustworthy "confirmation" moment (green accent,
   checkmark badge) rather than a plain gray system notice, since it's
   unlocking something the guest has been waiting for. */

.wld-chat-bubble-system.wld-contact-card-wrap {
	background: linear-gradient(180deg, #f0faf5 0%, #ffffff 100%);
	border-color: #bfe8d3;
	text-align: left;
	max-width: 420px;
}

.wld-contact-card {
	padding: 0.25em 0;
}

.wld-contact-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1a7f4b;
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	margin-right: 0.4em;
	vertical-align: middle;
}

.wld-contact-card strong {
	font-size: 1.05em;
	color: #156339;
	vertical-align: middle;
}

.wld-contact-card p {
	margin: 0.5em 0 0.6em;
	color: #333;
	font-size: 0.95em;
}

.wld-contact-card-list {
	list-style: none;
	margin: 0 0 0.6em;
	padding: 0;
}

.wld-contact-card-list li {
	margin-bottom: 0.35em;
}

.wld-contact-card-list a {
	color: #156339;
	font-weight: 600;
	text-decoration: none;
}

.wld-contact-card-list a:hover {
	text-decoration: underline;
}

.wld-contact-card-note {
	display: block;
	font-size: 0.78em;
	color: #888;
}

/* Send Quote modal */

.wld-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wld-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.wld-modal-content {
	position: relative;
	background: #fff;
	border-radius: 6px;
	padding: 1.5em;
	max-width: 480px;
	width: 92%;
	max-height: 85vh;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wld-modal-close {
	position: absolute;
	top: 0.6em;
	right: 0.8em;
	background: none;
	border: none;
	font-size: 1.4em;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

/* Mobile responsiveness */

@media (max-width: 782px) {
	.wld-field-inline {
		flex-direction: column;
		gap: 0;
	}

	.wld-messages-tab {
		flex-direction: column;
	}

	.wld-conversation-list {
		flex-basis: auto;
		max-height: 220px;
		width: 100%;
	}

	.wld-chat-thread-panel {
		flex-basis: auto;
		width: 100%;
	}

	.wld-chat-bubble {
		max-width: 90%;
	}

	.wld-quotation-card-wrap {
		max-width: 95%;
	}

	.wld-chat-bubble-system.wld-contact-card-wrap {
		max-width: 95%;
	}

	.wld-chat-thread-page {
		padding: 1em;
		border-radius: 0;
	}

	.wld-chat-avatar {
		width: 30px;
		height: 30px;
	}

	.wld-chat-avatar-lg {
		width: 44px;
		height: 44px;
	}

	.wld-modal-content {
		width: 96%;
		padding: 1.2em;
	}

	.wld-about-grid {
		grid-template-columns: 1fr;
	}

	.wld-about-photo {
		order: -1;
		max-width: 220px;
	}

	.wld-hero {
		height: 220px;
	}

	.wld-hero-overlay h1 {
		font-size: 1.5em;
	}

	.wld-single-body {
		padding: 1.5em 1em;
	}

	.wld-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 1em;
	}

	.wld-reviews-cards .wld-reviews-list {
		grid-template-columns: 1fr;
	}

	/* The gallery was flex-wrap with fixed 150px×150px image boxes, which
	   tile unevenly on narrow screens and leave a gap on the right of each
	   row instead of reaching the container's edge — switching to a 2-column
	   grid with fluid image widths makes every row fill the full width. */
	.wld-gallery-items.wld-single-gallery {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5em;
	}

	.wld-gallery-items.wld-single-gallery .wld-gallery-item {
		width: 100%;
	}

	.wld-single-gallery img {
		width: 100%;
		height: 140px;
	}

	.wld-whatsapp-float {
		right: 1em;
		bottom: 1em;
		width: 48px;
		height: 48px;
	}
}

/* Motion — subtle fade/slide-in on load, disabled for anyone who has asked
   the OS to reduce motion. */

@keyframes wldFadeInUp {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes wldFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wld-hero {
		animation: wldFadeIn 0.6s ease both;
	}

	.wld-single-body > * {
		animation: wldFadeInUp 0.5s ease both;
	}

	.wld-single-body > *:nth-child(2) {
		animation-delay: 0.05s;
	}

	.wld-single-body > *:nth-child(3) {
		animation-delay: 0.1s;
	}

	.wld-single-body > *:nth-child(4) {
		animation-delay: 0.15s;
	}

	.wld-single-body > *:nth-child(5) {
		animation-delay: 0.2s;
	}

	.wld-single-body > *:nth-child(n+6) {
		animation-delay: 0.25s;
	}

	.wld-grid .wld-card {
		animation: wldFadeInUp 0.45s ease both;
	}

	.wld-grid .wld-card:nth-child(2) {
		animation-delay: 0.06s;
	}

	.wld-grid .wld-card:nth-child(3) {
		animation-delay: 0.12s;
	}

	.wld-grid .wld-card:nth-child(4) {
		animation-delay: 0.18s;
	}

	.wld-grid .wld-card:nth-child(n+5) {
		animation-delay: 0.24s;
	}

	.wld-dashboard .wld-tab-panel.active {
		animation: wldFadeInUp 0.35s ease both;
	}

	.wld-chat-row {
		animation: wldFadeInUp 0.3s ease both;
	}

	.wld-conversation-item {
		animation: wldFadeIn 0.3s ease both;
	}

	.wld-quote-request-item {
		animation: wldFadeInUp 0.3s ease both;
	}

	.wld-invoice-item {
		animation: wldFadeInUp 0.3s ease both;
	}

	.wld-modal-content {
		animation: wldFadeInUp 0.25s ease both;
	}

	.wld-form-message:not(:empty) {
		animation: wldFadeIn 0.25s ease both;
	}
}
