/* Dealer portal shell */
body.mseom-dealer-screen {
	margin: 0;
	background: #f3f6f4;
	font-family: Tahoma, "Segoe UI", Arial, sans-serif;
	color: #1f2937;
}

.mseom-dealer-app {
	display: block;
	min-height: 100vh;
	direction: rtl;
}

.mseom-dealer-sidebar {
	width: 280px;
	background: #ffffff;
	border-left: 1px solid #e5ebe7;
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	box-shadow: -2px 0 16px rgba(16, 24, 20, 0.05);
	z-index: 100;
}

.mseom-dealer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 18px;
	border-bottom: 1px solid #edf2ef;
}

.mseom-dealer-brand-icon {
	font-size: 28px;
	line-height: 1;
}

.mseom-dealer-brand strong {
	display: block;
	color: #14532d;
	font-size: 17px;
}

.mseom-dealer-brand small {
	color: #6b7280;
	font-size: 12px;
}

.mseom-dealer-nav {
	list-style: none;
	margin: 0;
	padding: 14px 10px;
	flex: 1;
}

.mseom-dealer-nav-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	color: #374151;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease;
}

.mseom-dealer-nav-item a:hover,
.mseom-dealer-nav-item.is-active a {
	background: #166534;
	color: #fff;
}

.mseom-dealer-chevron {
	margin-right: auto;
	width: 8px;
	height: 8px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.7;
}

.mseom-dealer-sidebar-footer {
	padding: 14px;
	border-top: 1px solid #edf2ef;
}

.mseom-dealer-logout {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	color: #b91c1c;
	text-decoration: none;
}

.mseom-dealer-logout:hover {
	background: #fef2f2;
}

.mseom-dealer-main {
	margin-right: 280px;
	min-height: 100vh;
}

.mseom-dealer-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 28px;
	background: #fff;
	border-bottom: 1px solid #e5ebe7;
}

.mseom-dealer-topbar h1 {
	margin: 0;
	font-size: 24px;
	color: #14532d;
}

.mseom-dealer-topbar-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.mseom-dealer-acting-banner {
	margin: 0 28px;
	padding: 10px 14px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 10px;
	color: #92400e;
	font-size: 13px;
}

.mseom-dealer-user-badge {
	background: #ecfdf5;
	color: #166534;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
}

.mseom-dealer-content {
	padding: 24px 28px 40px;
}

.mseom-dealer-content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0.62rem 1.1rem;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #374151;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.4;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.mseom-dealer-content .button:hover {
	border-color: #9ca3af;
	color: #111827;
}

.mseom-dealer-content .button-primary {
	background: #166534;
	border-color: #166534;
	color: #fff;
	box-shadow: 0 8px 18px rgba(22, 101, 52, 0.2);
}

.mseom-dealer-content .button-primary:hover {
	background: #14532d;
	border-color: #14532d;
	color: #fff;
	transform: translateY(-1px);
}

.mseom-dealer-content .button-hero {
	padding: 0.8rem 1.35rem;
	font-size: 1rem;
}

.mseom-dealer-panel,
.mseom-dealer-stat-card {
	background: #fff;
	border: 1px solid #e5ebe7;
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.mseom-dealer-panel + .mseom-dealer-panel,
.mseom-dealer-page .mseom-dealer-panel {
	margin-top: 20px;
}

.mseom-dealer-panel h2 {
	margin: 0 0 8px;
	font-size: 18px;
}

.mseom-dealer-panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.mseom-dealer-stat-grid,
.mseom-dealer-panel-grid {
	display: grid;
	gap: 16px;
}

.mseom-dealer-stat-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin-bottom: 20px;
}

.mseom-dealer-panel-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mseom-dealer-stat-label {
	display: block;
	color: #6b7280;
	font-size: 13px;
	margin-bottom: 8px;
}

.mseom-dealer-stat-value {
	font-size: 28px;
	color: #14532d;
}

.mseom-dealer-stat-card--accent .mseom-dealer-stat-value {
	color: #b91c1c;
}

.mseom-dealer-quick-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.mseom-dealer-table th {
	font-weight: 700;
}

.mseom-dealer-empty-cell,
.mseom-dealer-empty {
	text-align: center;
	color: #6b7280;
	padding: 24px 12px;
}

.mseom-dealer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mseom-dealer-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f3;
}

.mseom-dealer-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.mseom-dealer-form-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mseom-dealer-form-grid input,
.mseom-dealer-form-grid select {
	width: 100%;
	box-sizing: border-box;
}

.mseom-dealer-form-actions {
	grid-column: 1 / -1;
}

.mseom-dealer-status-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.mseom-dealer-status-tab {
	padding: 6px 12px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	text-decoration: none;
}

.mseom-dealer-status-tab.is-active,
.mseom-dealer-status-tab:hover {
	background: #166534;
	color: #fff;
}

.mseom-dealer-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.mseom-dealer-badge--scheduled { background: #dbeafe; color: #1e40af; }
.mseom-dealer-badge--live { background: #fee2e2; color: #b91c1c; }
.mseom-dealer-badge--ended { background: #e5e7eb; color: #374151; }
.mseom-dealer-badge--cancelled { background: #fef3c7; color: #92400e; }

.mseom-dealer-badge--order-pending { background: #dbeafe; color: #1e40af; }
.mseom-dealer-badge--order-confirmed { background: #dcfce7; color: #166534; }
.mseom-dealer-badge--order-completed { background: #e5e7eb; color: #374151; }
.mseom-dealer-badge--order-overdue { background: #fee2e2; color: #b91c1c; }

.mseom-dealer-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin: 0 0 16px;
}

.mseom-dealer-notice--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.mseom-dealer-notice--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.mseom-dealer-order-detail__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.mseom-dealer-order-detail__title-wrap {
	flex: 1 1 240px;
}

.mseom-dealer-order-detail__title-wrap h2 {
	margin: 0 0 6px;
}

.mseom-dealer-order-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	color: #6b7280;
	font-size: 13px;
}

.mseom-dealer-order-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.mseom-dealer-order-detail__grid {
	margin-top: 8px;
}

.mseom-dealer-order-detail__pricing .is-overdue {
	color: #b91c1c;
	font-weight: 700;
}

.mseom-dealer-order-action-form,
.mseom-dealer-order-note-form {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.mseom-dealer-order-note-form textarea {
	width: 100%;
	margin-top: 8px;
}

.mseom-dealer-order-complete-msg {
	color: #166534;
	font-weight: 600;
}

.mseom-dealer-winner-profile strong {
	word-break: break-word;
}

.mseom-dealer-contact-link {
	color: #166534;
	text-decoration: none;
	font-weight: 700;
}

.mseom-dealer-contact-link:hover {
	text-decoration: underline;
}

.mseom-dealer-checkbox-label,
.mseom-dealer-radio-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	cursor: pointer;
}

.mseom-dealer-radio-group {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 14px;
}

.mseom-dealer-radio-group legend {
	font-weight: 600;
	padding: 0 6px;
}

.mseom-dealer-bank-cards {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.mseom-dealer-bank-card {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
}

.mseom-dealer-bank-card strong {
	color: #166534;
}

.mseom-dealer-receipt-preview {
	display: grid;
	gap: 10px;
	margin: 12px 0 0;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

.mseom-dealer-receipt-preview__thumb {
	display: inline-block;
	max-width: 220px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.mseom-dealer-receipt-preview__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.mseom-dealer-pickup-preview {
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 8px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.mseom-dealer-delivery-address {
	margin-top: 10px;
	padding: 10px 12px;
	background: #f9fafb;
	border-radius: 8px;
}

.mseom-dealer-order-step-done {
	color: #166534;
	font-weight: 600;
	margin: 0 0 12px;
}

.mseom-dealer-order-wait-msg {
	color: #92400e;
	margin: 0 0 12px;
}

.mseom-dealer-order-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.mseom-dealer-order-steps__item {
	flex: 1 1 160px;
	min-width: 0;
}

.mseom-dealer-order-steps__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
	color: #374151;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.mseom-dealer-order-steps__item--current .mseom-dealer-order-steps__link {
	border-color: #84cc16;
	background: #f7fee7;
	color: #166534;
	box-shadow: 0 0 0 1px rgba(132, 204, 22, 0.15);
}

.mseom-dealer-order-steps__item--done .mseom-dealer-order-steps__link {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.mseom-dealer-order-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #e5e7eb;
	color: #374151;
	font-weight: 700;
	font-size: 0.88rem;
	flex-shrink: 0;
}

.mseom-dealer-order-steps__item--current .mseom-dealer-order-steps__num,
.mseom-dealer-order-steps__item--done .mseom-dealer-order-steps__num {
	background: #84cc16;
	color: #fff;
}

.mseom-dealer-order-steps__label {
	font-weight: 700;
	font-size: 0.92rem;
}

.mseom-dealer-order-step-action {
	margin-top: 14px;
}

.mseom-dealer-order-step-btn {
	width: 100%;
	max-width: 100%;
	padding: 0.82rem 1.2rem !important;
	font-size: 1rem !important;
}

#mseom-order-step-payment,
#mseom-order-step-fulfillment {
	scroll-margin-top: 96px;
}

.mseom-dealer-order-detail__payment.is-step-highlight,
.mseom-dealer-order-detail__fulfillment.is-step-highlight {
	animation: mseom-order-step-highlight 1.6s ease;
}

@keyframes mseom-order-step-highlight {
	0% {
		box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.55);
	}
	35% {
		box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.35);
	}
	100% {
		box-shadow: none;
	}
}

.mseom-dealer-order-delivery-confirm {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 10px;
	border: 1px solid #bbf7d0;
	background: #f0fdf4;
}

.mseom-dealer-order-delivery-confirm__form {
	margin-top: 12px;
	padding-top: 0;
	border-top: none;
}

.mseom-dealer-order-detail__payment,
.mseom-dealer-order-detail__fulfillment-preview,
.mseom-dealer-order-detail__fulfillment,
.mseom-dealer-order-detail__winner,
.mseom-dealer-order-detail__actions-panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 1rem;
}

.mseom-dealer-winner-fulfillment-callout {
	margin-top: 12px;
	padding: 14px 16px;
	border-radius: 10px;
}

.mseom-dealer-winner-fulfillment-callout--chosen {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.mseom-dealer-winner-fulfillment-callout--pending {
	background: #fffbeb;
	border: 1px solid #fde68a;
}

.mseom-dealer-winner-fulfillment-callout__message {
	margin: 0;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.55;
	color: #166534;
}

.mseom-dealer-winner-fulfillment-callout--pending .mseom-dealer-winner-fulfillment-callout__message {
	color: #92400e;
}

.mseom-dealer-winner-fulfillment-summary {
	margin-top: 12px;
}

.mseom-dealer-winner-fulfillment-summary li {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.mseom-dealer-winner-fulfillment-summary strong {
	color: #111827;
	font-size: 0.95rem;
	line-height: 1.45;
	word-break: break-word;
}

.mseom-dealer-order-detail__payment,
.mseom-dealer-order-detail__fulfillment-preview,
.mseom-dealer-order-detail__fulfillment {
	margin-top: 4px;
}

.mseom-dealer-delivery-fields {
	margin: 0 0 14px;
}

.mseom-dealer-delivery-fields textarea {
	width: 100%;
	margin-top: 6px;
}

.mseom-dealer-sale-settings-panel {
	margin-top: 16px;
}

.mseom-dealer-service-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px 18px;
}

.mseom-dealer-service-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.mseom-dealer-service-card__head h3 {
	margin: 0;
}

.mseom-dealer-city-prices-field[hidden],
.mseom-dealer-fixed-price-field[hidden] {
	display: none !important;
}

.mseom-dealer-city-prices__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.mseom-dealer-city-prices__rows {
	display: grid;
	gap: 10px;
}

.mseom-dealer-city-price-row {
	display: grid;
	grid-template-columns: 1fr 140px auto;
	gap: 10px;
	align-items: end;
}

.mseom-dealer-city-price-row input {
	width: 100%;
}

.mseom-dealer-city-prices-preview {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

/* ——— خدمات المعرض ——— */
.mseom-dealer-services-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-dealer-services-page > .notice {
	margin: 16px 28px 0;
}

.mseom-dealer-services-page .mseom-services-list-panel {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	min-height: calc(100vh - 73px);
	display: flex;
	flex-direction: column;
	padding: 20px 28px 28px;
}

.mseom-dealer-services-page .mseom-streams-table-wrap {
	flex: 1 1 auto;
	width: 100%;
}

.mseom-services-add-btn--disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #e5e7eb;
	color: #9ca3af;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
	cursor: not-allowed;
}

.mseom-service-icon {
	font-size: 1.25rem;
}

.mseom-service-row-desc {
	margin: 4px 50px 0 0;
	color: #6b7280;
	font-size: 0.85rem;
	line-height: 1.4;
}

.mseom-service-pricing-cell {
	color: #374151;
	font-weight: 600;
}

.mseom-services-row:hover {
	background: #f9fafb;
}

.mseom-dealer-services-page .mseom-dealer-service-card {
	margin-top: 4px;
}

/* ——— طلبات البيع ——— */
.mseom-dealer-orders-list-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-dealer-orders-list-page > .notice,
.mseom-dealer-orders-list-page > .mseom-dealer-notice {
	margin: 16px 28px 0;
}

.mseom-dealer-orders-list-page .mseom-orders-list-panel {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	min-height: calc(100vh - 73px);
	display: flex;
	flex-direction: column;
	padding: 20px 28px 28px;
}

.mseom-dealer-orders-list-page .mseom-orders-table-wrap {
	flex: 1 1 auto;
	width: 100%;
}

.mseom-orders-row {
	cursor: pointer;
}

.mseom-orders-name__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.mseom-orders-name__text small {
	color: #6b7280;
	font-size: 0.8rem;
}

.mseom-orders-winner-cell {
	color: #374151;
	font-weight: 600;
}

.mseom-orders-deadline-cell.is-overdue {
	color: #b91c1c;
	font-weight: 700;
}

.mseom-dealer-order-detail-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-dealer-order-detail-page > .mseom-dealer-notice {
	margin: 16px 28px 0;
}

.mseom-dealer-order-detail-page .mseom-dealer-order-detail {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	padding: 20px 28px 28px;
}

.mseom-dealer-city-prices-preview li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px;
	background: #f9fafb;
	border-radius: 6px;
}

.mseom-dealer-soon-badge {
	background: #ecfdf5;
	color: #166534;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	white-space: nowrap;
}

.mseom-dealer-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: inline-block;
	text-align: center;
	font-style: normal;
}

.mseom-dealer-icon-home::before { content: "⌂"; }
.mseom-dealer-icon-car::before { content: "🚗"; }
.mseom-dealer-icon-broadcast::before { content: "📡"; }
.mseom-dealer-icon-gavel::before { content: "⚖"; }
.mseom-dealer-icon-orders::before { content: "📋"; }
.mseom-dealer-icon-services::before { content: "🚚"; }
.mseom-dealer-icon-wallet::before { content: "💳"; }
.mseom-dealer-icon-profile::before { content: "👤"; }
.mseom-dealer-icon-disputes::before { content: "⚠"; }
.mseom-dealer-icon-logout::before { content: "⎋"; color: #b91c1c; }

@media (max-width: 960px) {
	.mseom-dealer-sidebar {
		position: relative;
		width: 100%;
		height: auto;
	}

	.mseom-dealer-main {
		margin-right: 0;
	}
}

.mseom-dealer-register-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	background: #f3f4f6;
}

.mseom-dealer-register-card {
	width: min(760px, 100%);
	padding: 1.5rem;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.mseom-dealer-register-card h1 {
	margin-top: 0;
}

.mseom-dealer-register-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.mseom-dealer-register-badge {
	background: #dcfce7;
	color: #166534;
	border-radius: 999px;
	padding: 0.5rem 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.mseom-dealer-section {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 1rem;
}

.mseom-dealer-section-head {
	margin-bottom: 1rem;
}

.mseom-dealer-section-head h2 {
	margin: 0 0 0.3rem;
	font-size: 1.05rem;
}

.mseom-dealer-section-head p {
	margin: 0;
	color: #6b7280;
}

.mseom-dealer-error-summary {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	border-radius: 10px;
	padding: 1rem;
	margin-bottom: 1rem;
}

.mseom-dealer-error-summary ul {
	margin: 0.75rem 0 0;
	padding-right: 1.2rem;
}

.mseom-dealer-full {
	grid-column: 1 / -1;
}

.mseom-dealer-map {
	height: 280px;
	margin-top: 0.75rem;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	background: #e5e7eb;
	overflow: hidden;
	z-index: 1;
}

.mseom-map-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 1rem;
	color: #991b1b;
	background: #fef2f2;
	text-align: center;
}

.mseom-dealer-map .leaflet-control-attribution {
	font-size: 10px;
}

.mseom-dealer-map .leaflet-container {
	font-family: inherit;
}

.mseom-map-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.75rem;
	color: #4b5563;
	font-size: 0.92rem;
}

.mseom-location-search-results {
	display: grid;
	gap: 0.5rem;
	margin-top: -0.25rem;
}

.mseom-location-result {
	text-align: right;
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 10px;
	padding: 0.75rem;
	cursor: pointer;
}

.mseom-location-result:hover {
	border-color: #16a34a;
	background: #f0fdf4;
}

.mseom-bank-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.mseom-dealer-register .notice {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.mseom-dealer-register .notice-success {
	background: #dcfce7;
	color: #166534;
}

.mseom-dealer-register .notice-error {
	background: #fee2e2;
	color: #991b1b;
}

.mseom-dealer-submit-panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 55%);
	border: 1px solid #bbf7d0;
	box-shadow: 0 10px 28px rgba(22, 101, 52, 0.08);
}

.mseom-dealer-policy-check {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid #d1fae5;
	border-radius: 12px;
	cursor: pointer;
	color: #14532d;
	font-size: 0.95rem;
	line-height: 1.5;
}

.mseom-dealer-policy-check input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #166534;
	flex-shrink: 0;
}

.mseom-dealer-submit-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 1rem 1.25rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #16a34a 0%, #166534 100%);
	color: #fff;
	box-shadow: 0 12px 24px rgba(22, 101, 52, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.mseom-dealer-submit-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 16px 30px rgba(22, 101, 52, 0.34);
}

.mseom-dealer-submit-btn:active {
	transform: translateY(0);
	filter: brightness(0.98);
}

.mseom-dealer-submit-btn:focus-visible {
	outline: 3px solid rgba(74, 222, 128, 0.55);
	outline-offset: 2px;
}

.mseom-dealer-submit-btn__label {
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.mseom-dealer-submit-btn__hint {
	font-size: 0.82rem;
	opacity: 0.9;
	font-weight: 500;
}

.mseom-dealer-status-card {
	text-align: center;
	padding: 2rem 1.5rem;
}

.mseom-dealer-status-icon {
	font-size: 2.5rem;
	line-height: 1;
	margin-bottom: 0.75rem;
}

.mseom-dealer-status-card h1 {
	margin: 0 0 0.5rem;
	font-size: 1.45rem;
}

.mseom-dealer-status-name {
	margin: 0 0 0.75rem;
	color: #6b7280;
	font-weight: 600;
}

.mseom-dealer-status-message {
	margin: 0 auto 1.5rem;
	max-width: 34rem;
	line-height: 1.7;
	color: #374151;
	font-size: 1.02rem;
}

.mseom-dealer-status-actions {
	margin: 0;
}

.mseom-dealer-status-logout {
	display: inline-flex;
	width: auto;
	min-width: 220px;
	padding: 0.85rem 1.4rem;
	text-decoration: none;
}

.mseom-dealer-status-card--inactive {
	border-color: #fde68a;
	background: linear-gradient(180deg, #fffbeb 0%, #ffffff 60%);
}

.mseom-dealer-status-card--inactive h1 {
	color: #92400e;
}

.mseom-dealer-status-card--blocked {
	border-color: #fecaca;
	background: linear-gradient(180deg, #fef2f2 0%, #ffffff 60%);
}

.mseom-dealer-status-card--blocked h1 {
	color: #991b1b;
}

.mseom-dealer-status-card--blocked .mseom-dealer-status-logout {
	background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
	box-shadow: 0 12px 24px rgba(153, 27, 27, 0.25);
}

/* —— إضافة سيارة (معالج) —— */
body.mseom-modal-open {
	overflow: hidden;
}

.mseom-car-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.mseom-car-modal[hidden] {
	display: none !important;
}

.mseom-car-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.mseom-car-modal__dialog {
	position: relative;
	width: min(420px, 100%);
	background: #fff;
	border-radius: 18px;
	padding: 2rem 1.5rem 1.5rem;
	text-align: center;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.mseom-car-modal__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border: 3px solid #eab308;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #eab308;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.mseom-car-modal__dialog h3 {
	margin: 0 0 1.5rem;
	font-size: 1.15rem;
	color: #111827;
}

.mseom-car-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.mseom-car-type-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	border-radius: 999px;
	padding: 0.95rem 1rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.mseom-car-type-btn--live {
	background: #14532d;
}

.mseom-car-type-btn--regular {
	background: #86efac;
	color: #14532d;
}

.mseom-car-type-btn:disabled {
	cursor: not-allowed;
	opacity: 0.85;
}

.mseom-car-type-btn:not(:disabled):hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.mseom-car-type-btn small {
	font-size: 0.72rem;
	font-weight: 600;
	opacity: 0.85;
}

.mseom-car-wizard[hidden] {
	display: none !important;
}

.mseom-car-wizard__steps {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 1.25rem;
}

.mseom-car-wizard__steps span {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e5e7eb;
	color: #6b7280;
	font-weight: 700;
	font-size: 0.9rem;
}

.mseom-car-wizard__steps span.is-active {
	background: #166534;
	color: #fff;
}

.mseom-car-photos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 1.5rem;
}

.mseom-car-photo-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.mseom-car-photo-slot input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.mseom-car-photo-slot__preview {
	width: 100%;
	aspect-ratio: 1;
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.mseom-car-photo-slot.has-file .mseom-car-photo-slot__preview {
	border-style: solid;
	border-color: #86efac;
}

.mseom-car-photo-slot__preview img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-car-photo-slot__icon {
	font-size: 1.4rem;
}

.mseom-car-photo-slot__label {
	font-size: 0.72rem;
	color: #64748b;
	line-height: 1.3;
}

.mseom-car-photo-slot__add {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 2px dashed #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 1.25rem;
	font-weight: 700;
	background: #fff;
}

.mseom-car-section-title {
	margin: 0 0 1rem;
	text-align: center;
	color: #166534;
	font-size: 1.15rem;
}

.mseom-car-fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 16px;
}

.mseom-car-fields label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.92rem;
	color: #374151;
}

.mseom-car-fields label em,
.mseom-car-reserve em {
	color: #dc2626;
	font-style: normal;
}

.mseom-car-fields input,
.mseom-car-fields select {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.7rem 0.85rem;
	background: #fff;
}

.mseom-car-fields input:focus,
.mseom-car-fields select:focus,
.mseom-car-reserve input:focus,
.mseom-car-feature-row input:focus {
	outline: none;
	border-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.mseom-car-wizard__nav {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
}

.mseom-car-wizard__nav .button-primary,
.mseom-car-submit {
	min-width: 220px;
	border-radius: 999px !important;
	padding: 0.75rem 1.5rem !important;
	background: #166534 !important;
	border-color: #166534 !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
}

.mseom-car-step2-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.mseom-car-prev {
	appearance: none;
	border: 0;
	background: transparent;
	color: #166534;
	font-weight: 700;
	cursor: pointer;
	font-size: 0.95rem;
	padding: 0.4rem 0;
}

.mseom-car-report {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: min(320px, 100%);
	font-size: 0.9rem;
	color: #374151;
}

.mseom-car-report input {
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.55rem 0.75rem;
	background: #fff;
}

.mseom-car-features {
	text-align: center;
	margin-bottom: 1.75rem;
}

.mseom-car-features__list {
	display: grid;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto 12px;
}

.mseom-car-feature-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.mseom-car-feature-row input {
	flex: 1;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.7rem 0.85rem;
}

.mseom-feature-remove {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #b91c1c;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}

.mseom-feature-add {
	border-radius: 999px !important;
	background: #166534 !important;
	border-color: #166534 !important;
	color: #fff !important;
}

.mseom-car-sale-grid {
	display: grid;
	gap: 1.25rem;
	max-width: 640px;
	margin: 0 auto;
}

.mseom-car-reserve {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.95rem;
}

.mseom-car-reserve input {
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.7rem 0.85rem;
}

.mseom-car-reserve small {
	color: #6b7280;
	font-size: 0.8rem;
}

.mseom-car-grade__title {
	display: block;
	margin-bottom: 10px;
	font-weight: 700;
	color: #14532d;
}

.mseom-car-grade__scale {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.mseom-car-grade__opt {
	flex: 1;
	min-width: 48px;
	cursor: pointer;
}

.mseom-car-grade__opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mseom-car-grade__opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 10px;
	font-weight: 800;
	color: #fff;
	border: 3px solid transparent;
}

.mseom-car-grade__opt--f span { background: #dc2626; }
.mseom-car-grade__opt--d span { background: #f97316; }
.mseom-car-grade__opt--c span { background: #eab308; color: #14532d; }
.mseom-car-grade__opt--b span { background: #65a30d; }
.mseom-car-grade__opt--a span { background: #166534; }

.mseom-car-grade__opt input:checked + span,
.mseom-car-grade__opt input:focus-visible + span {
	border-color: #0f172a;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #166534;
}

.mseom-car-warranty {
	display: grid;
	gap: 10px;
}

.mseom-car-warranty__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0.85rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	cursor: pointer;
	background: #fff;
}

.mseom-car-warranty__opt:has(input:checked) {
	border-color: #16a34a;
	background: #f0fdf4;
}

.mseom-car-warranty__opt input {
	accent-color: #166534;
}

@media (max-width: 960px) {
	.mseom-car-photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mseom-car-fields {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.mseom-car-modal__actions {
		grid-template-columns: 1fr;
	}

	.mseom-car-photos {
		grid-template-columns: 1fr 1fr;
	}
}

.mseom-car-step-error,
.mseom-car-form-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	font-weight: 600;
	text-align: center;
}

.mseom-car-photo-slot.is-invalid .mseom-car-photo-slot__preview,
.mseom-car-photo-slot.is-invalid .mseom-car-photo-slot__add {
	border-color: #dc2626;
	background: #fef2f2;
}

.mseom-car-fields input.is-invalid,
.mseom-car-fields select.is-invalid,
.mseom-car-reserve input.is-invalid {
	border-color: #dc2626;
	background: #fef2f2;
}

.mseom-car-wizard__step[hidden] {
	display: none !important;
}

.mseom-car-features__hint {
	margin: -0.4rem 0 1rem;
	color: #6b7280;
	font-size: 0.88rem;
	text-align: center;
}

.mseom-car-feature-row {
	align-items: flex-start;
}

.mseom-car-feature-row__fields {
	flex: 1;
	display: grid;
	gap: 8px;
}

.mseom-car-feature-row__top {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
}

.mseom-car-feature-type {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.55rem 0.65rem;
	background: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	color: #111827;
}

.mseom-car-feature-type:focus {
	outline: none;
	border-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.mseom-car-feature-row__top input[type="text"] {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.55rem 0.75rem;
	background: #fff;
}

.mseom-car-features-detail__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	flex-shrink: 0;
}

.mseom-car-features-detail__badge--feature {
	background: #ecfdf5;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.mseom-car-features-detail__badge--defect {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.mseom-car-feature-image {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.mseom-car-feature-image input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.mseom-car-feature-image__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.45rem 0.85rem;
	border: 1px dashed #94a3b8;
	border-radius: 999px;
	background: #f8fafc;
	color: #475569;
	font-size: 0.85rem;
	font-weight: 600;
}

.mseom-car-feature-image__preview {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid #d1d5db;
}

.mseom-car-feature-row.has-image .mseom-car-feature-image__btn {
	border-color: #86efac;
	background: #f0fdf4;
	color: #166534;
}

@media (max-width: 640px) {
	.mseom-car-feature-row__top {
		grid-template-columns: 1fr;
	}
}

/* —— قائمة السيارات —— */
.mseom-cars-list-panel {
	padding: 16px 18px 8px;
}

.mseom-cars-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.mseom-cars-add-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #84cc16;
	color: #fff;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 18px rgba(132, 204, 22, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
	flex-shrink: 0;
	text-decoration: none;
}

.mseom-cars-add-btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	color: #fff;
}

.mseom-car-add-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-car-add-page > .notice {
	margin: 16px 28px 0;
}

.mseom-car-add-page .mseom-car-add-panel {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	min-height: calc(100vh - 73px);
	padding: 20px 28px 28px;
}

.mseom-car-add-type {
	max-width: 760px;
	margin: 8px auto 32px;
}

.mseom-car-add-type[hidden] {
	display: none !important;
}

.mseom-car-add-type__head {
	text-align: center;
	margin-bottom: 22px;
}

.mseom-car-add-type__step {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #166534;
	font-size: 0.82rem;
	font-weight: 700;
}

.mseom-car-add-type__head h3 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	color: #111827;
}

.mseom-car-add-type__head p {
	margin: 0 auto;
	max-width: 520px;
	color: #6b7280;
	font-size: 0.94rem;
	line-height: 1.6;
}

.mseom-car-add-type__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mseom-car-type-card {
	position: relative;
	appearance: none;
	border: 2px solid #e5e7eb;
	border-radius: 16px;
	background: #fff;
	padding: 22px 20px 20px;
	text-align: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-height: 220px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mseom-car-type-card--live {
	border-color: #bbf7d0;
	background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.mseom-car-type-card--live:hover,
.mseom-car-type-card--live:focus-visible {
	border-color: #84cc16;
	box-shadow: 0 12px 28px rgba(20, 83, 45, 0.12);
	transform: translateY(-2px);
	outline: none;
}

.mseom-car-type-card--regular {
	background: #f9fafb;
	border-color: #e5e7eb;
	cursor: not-allowed;
	opacity: 0.92;
}

.mseom-car-type-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.4;
}

.mseom-car-type-card__badge--recommended {
	background: #14532d;
	color: #fff;
}

.mseom-car-type-card__badge--soon {
	background: #e5e7eb;
	color: #6b7280;
}

.mseom-car-type-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #d1fae5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	margin-top: 8px;
}

.mseom-car-type-card--regular .mseom-car-type-card__icon {
	background: #f3f4f6;
	border-color: #e5e7eb;
	filter: grayscale(0.4);
}

.mseom-car-type-card__title {
	font-size: 1.05rem;
	color: #111827;
}

.mseom-car-type-card__desc {
	color: #6b7280;
	font-size: 0.88rem;
	line-height: 1.55;
	max-width: 280px;
}

.mseom-car-type-card__cta {
	margin-top: auto;
	padding-top: 6px;
	color: #14532d;
	font-size: 0.88rem;
	font-weight: 700;
}

@media (max-width: 640px) {
	.mseom-car-add-type__grid {
		grid-template-columns: 1fr;
	}

	.mseom-car-type-card {
		min-height: 0;
	}
}

.mseom-car-add-page .mseom-car-wizard {
	margin-top: 0;
	border: none;
	box-shadow: none;
	padding: 0;
}

.mseom-cars-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #374151;
	font-size: 0.92rem;
	font-weight: 600;
}

.mseom-cars-filter select {
	min-width: 140px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.55rem 2rem 0.55rem 0.75rem;
	background: #fff;
	color: #111827;
}

.mseom-cars-search {
	position: relative;
	margin-right: auto;
	min-width: min(360px, 100%);
	flex: 1 1 240px;
	max-width: 420px;
}

.mseom-cars-search input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 0.7rem 1rem 0.7rem 2.5rem;
	background: #fff;
	font-size: 0.95rem;
}

.mseom-cars-search input:focus {
	outline: none;
	border-color: #84cc16;
	box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.18);
}

.mseom-cars-search__icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #65a30d;
	font-size: 0.95rem;
	pointer-events: none;
}

.mseom-cars-table-wrap {
	overflow-x: auto;
}

.mseom-cars-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.mseom-cars-table th,
.mseom-cars-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #eef2f0;
	text-align: right;
	vertical-align: middle;
	font-size: 0.94rem;
}

.mseom-cars-table thead th {
	color: #6b7280;
	font-weight: 700;
	font-size: 0.82rem;
	background: #f8faf9;
}

.mseom-cars-row:hover {
	background: #f9fafb;
}

.mseom-cars-col-thumb {
	width: 72px;
}

.mseom-car-thumb {
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	overflow: hidden;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	align-items: center;
	justify-content: center;
}

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

.mseom-car-thumb__placeholder {
	font-size: 1.35rem;
	opacity: 0.7;
}

.mseom-car-title-cell {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mseom-car-title-cell strong {
	color: #111827;
	font-size: 0.98rem;
}

.mseom-car-title-cell small {
	color: #9ca3af;
	font-size: 0.78rem;
}

.mseom-car-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
}

.mseom-car-status--pending {
	background: #fef3c7;
	color: #92400e;
}

.mseom-car-status--approved {
	background: #dcfce7;
	color: #166534;
}

.mseom-car-status--rejected {
	background: #fee2e2;
	color: #991b1b;
}

.mseom-car-grade-chip {
	display: inline-flex;
	min-width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: #fff;
	font-weight: 800;
	font-size: 0.85rem;
}

.mseom-car-grade-chip--a { background: #166534; }
.mseom-car-grade-chip--b { background: #65a30d; }
.mseom-car-grade-chip--c { background: #eab308; color: #14532d; }
.mseom-car-grade-chip--d { background: #f97316; }
.mseom-car-grade-chip--f { background: #dc2626; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 720px) {
	.mseom-cars-toolbar {
		align-items: stretch;
	}

	.mseom-cars-search {
		margin-right: 0;
		order: 3;
		max-width: none;
		flex: 1 1 100%;
	}

	.mseom-cars-filter {
		flex: 1;
	}

	.mseom-cars-filter select {
		flex: 1;
		width: 100%;
	}
}

/* —— إجراءات القائمة —— */
.mseom-cars-col-actions {
	width: 1%;
	white-space: nowrap;
}

.mseom-car-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.mseom-car-actions--top {
	gap: 10px;
}

.mseom-car-action {
	appearance: none;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #374151;
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.4;
}

.mseom-car-action--view { border-color: #bbf7d0; color: #166534; background: #f0fdf4; }
.mseom-car-action--card { border-color: #fde68a; color: #92400e; background: #fffbeb; }
.mseom-car-action--edit { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.mseom-car-action--delete { border-color: #fecaca; color: #b91c1c; background: #fef2f2; }
.mseom-car-action--delete-btn { border-color: #fecaca !important; color: #b91c1c !important; background: #fef2f2 !important; }

.mseom-car-delete-form {
	display: inline;
	margin: 0;
}

.mseom-car-title-cell a {
	color: inherit;
	text-decoration: none;
}

.mseom-car-title-cell a:hover strong {
	color: #166534;
	text-decoration: underline;
}

.mseom-car-thumb {
	text-decoration: none;
}

/* —— تفاصيل السيارة —— */
.mseom-car-detail-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.mseom-car-back {
	color: #166534;
	font-weight: 700;
	text-decoration: none;
}

.mseom-car-detail-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 1rem;
}

.mseom-car-detail-header h2 {
	margin: 0 0 4px;
}

.mseom-car-reject-box {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
}

.mseom-car-detail-photos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 1.5rem;
}

.mseom-car-detail-photo {
	margin: 0;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	text-align: center;
}

.mseom-car-detail-photo img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}

.mseom-car-detail-photo figcaption {
	padding: 0.45rem;
	font-size: 0.75rem;
	color: #6b7280;
}

.mseom-car-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mseom-car-detail-item {
	background: #f9fafb;
	border: 1px solid #eef2f0;
	border-radius: 12px;
	padding: 0.85rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mseom-car-detail-item span {
	font-size: 0.8rem;
	color: #6b7280;
}

.mseom-car-detail-item strong {
	color: #111827;
	font-size: 0.98rem;
}

.mseom-car-features-detail {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.mseom-car-features-detail li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
}

.mseom-car-features-detail__thumb {
	appearance: none;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: zoom-in;
	border-radius: 10px;
	line-height: 0;
}

.mseom-car-features-detail__thumb:focus-visible {
	outline: 2px solid #166534;
	outline-offset: 2px;
}

.mseom-car-features-detail img,
.mseom-car-features-detail__image {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.mseom-car-features-detail__text {
	flex: 1;
	min-width: 0;
}

.mseom-car-report-link {
	margin: 1rem 0;
}

.mseom-car-photo-slot small {
	display: block;
	margin-top: 4px;
	font-size: 0.7rem;
	color: #9ca3af;
	text-align: center;
}

@media (max-width: 960px) {
	.mseom-car-detail-photos,
	.mseom-car-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mseom-car-detail-photos,
	.mseom-car-detail-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— البث المباشر ——— */
.mseom-live-streams-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-live-streams-page > .notice {
	margin: 16px 28px 0;
}

.mseom-live-streams-page .mseom-streams-list-panel {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	min-height: calc(100vh - 73px);
	display: flex;
	flex-direction: column;
	padding: 20px 28px 28px;
}

.mseom-live-streams-page .mseom-streams-table-wrap {
	flex: 1 1 auto;
	width: 100%;
}

.mseom-streams-row--finished {
	background: #fafafa;
}

.mseom-streams-row--finished .mseom-stream-name__title,
.mseom-streams-row--finished .mseom-streams-timing {
	color: #6b7280;
}

.mseom-streams-list-panel,
.mseom-streams-view-panel {
	padding: 18px 20px 12px;
}

.mseom-streams-page-head {
	margin-bottom: 18px;
}

.mseom-streams-page-head h2 {
	margin: 0 0 6px;
	font-size: 1.35rem;
	color: #111827;
}

.mseom-streams-page-head p {
	margin: 0;
	color: #6b7280;
	font-size: 0.92rem;
}

.mseom-streams-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.mseom-streams-add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #84cc16;
	color: #fff;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(132, 204, 22, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
	flex-shrink: 0;
}

.mseom-streams-add-btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	color: #fff;
}

.mseom-streams-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #374151;
	font-size: 0.92rem;
	font-weight: 600;
}

.mseom-streams-filter select {
	min-width: 150px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.55rem 2rem 0.55rem 0.75rem;
	background: #fff;
	color: #111827;
}

.mseom-streams-search {
	position: relative;
	margin-right: auto;
	min-width: min(360px, 100%);
	flex: 1 1 240px;
	max-width: 420px;
}

.mseom-streams-search input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 0.7rem 1rem 0.7rem 2.5rem;
	background: #fff;
	font-size: 0.95rem;
}

.mseom-streams-search input:focus {
	outline: none;
	border-color: #84cc16;
	box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.18);
}

.mseom-streams-search__icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #65a30d;
	font-size: 0.95rem;
	pointer-events: none;
}

.mseom-streams-table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid #e8eeea;
	background: #fff;
}

.mseom-streams-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.mseom-streams-table th,
.mseom-streams-table td {
	padding: 14px 12px;
	border-bottom: 1px solid #eef2f0;
	text-align: right;
	vertical-align: middle;
	font-size: 0.94rem;
}

.mseom-streams-table thead th {
	background: #14532d;
	color: #fff;
	font-weight: 700;
	font-size: 0.88rem;
	white-space: nowrap;
}

.mseom-streams-table thead th:first-child {
	border-radius: 0 13px 0 0;
}

.mseom-streams-table thead th:last-child {
	border-radius: 13px 0 0 0;
}

.mseom-streams-row:hover {
	background: #f9fafb;
}

.mseom-streams-col-num {
	width: 56px;
	color: #6b7280;
	font-weight: 700;
}

.mseom-streams-col-actions {
	width: 220px;
}

.mseom-stream-name {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 180px;
}

.mseom-stream-name__logo {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mseom-stream-name__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mseom-stream-name__title {
	color: #111827;
	font-weight: 700;
	text-decoration: none;
}

.mseom-stream-name__title:hover {
	color: #166534;
}

.mseom-streams-timing {
	color: #4b5563;
	white-space: nowrap;
}

.mseom-stream-broadcast-status {
	font-weight: 700;
	font-size: 0.92rem;
}

.mseom-stream-broadcast-status--active {
	color: #166534;
}

.mseom-stream-broadcast-status--inactive {
	color: #dc2626;
}

.mseom-stream-broadcast-status--ended,
.mseom-stream-broadcast-status--cancelled {
	color: #6b7280;
}

.mseom-stream-row-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}

.mseom-stream-cta {
	appearance: none;
	border: 0;
	border-radius: 10px;
	padding: 0.55rem 1rem;
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.mseom-stream-cta--start {
	background: #14532d;
	color: #fff;
}

.mseom-stream-cta--stop {
	background: #dc2626;
	color: #fff;
}

.mseom-stream-cta:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mseom-stream-menu {
	position: relative;
}

.mseom-stream-menu__toggle {
	appearance: none;
	border: 1px solid #d1d5db;
	background: #fff;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
	color: #374151;
}

.mseom-stream-menu__panel {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	min-width: 150px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	padding: 6px;
	z-index: 20;
}

.mseom-stream-menu__item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 0;
	background: none;
	border-radius: 8px;
	color: #111827;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	text-align: right;
}

.mseom-stream-menu__item:hover {
	background: #f3f4f6;
}

.mseom-stream-menu__item--delete {
	color: #b91c1c;
}

.mseom-stream-menu__form {
	margin: 0;
}

.mseom-streams-view-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
	color: #4b5563;
	font-size: 0.92rem;
}

.mseom-streams-table--lots .mseom-stream-lot-order-cell {
	width: 140px;
}

.mseom-stream-lot-thumb {
	position: relative;
	width: 96px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
}

.mseom-stream-lot-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mseom-stream-lot-thumb__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 1.6rem;
}

.mseom-stream-lot-thumb__order {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.42);
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
}

.mseom-stream-lot-order-label {
	display: block;
	margin-top: 6px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #166534;
}

.mseom-stream-lot-title {
	color: #111827;
	font-size: 0.96rem;
}

.mseom-stream-countdown {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
	border: 1px solid #bbf7d0;
}

.mseom-stream-countdown--ended {
	justify-content: flex-start;
	color: #6b7280;
	background: #f9fafb;
	border-color: #e5e7eb;
}

.mseom-stream-countdown__label {
	font-weight: 700;
	color: #14532d;
	font-size: 0.95rem;
}

.mseom-stream-countdown__parts {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.mseom-stream-countdown__part {
	min-width: 72px;
	padding: 8px 10px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #d1fae5;
	text-align: center;
}

.mseom-stream-countdown__part strong {
	display: block;
	font-size: 1.35rem;
	line-height: 1.1;
	color: #166534;
}

.mseom-stream-countdown__part span {
	display: block;
	margin-top: 2px;
	font-size: 0.78rem;
	color: #6b7280;
	font-weight: 600;
}

.mseom-stream-lot-row--clickable {
	cursor: pointer;
	transition: background 0.15s ease;
}

.mseom-stream-lot-row--clickable:hover,
.mseom-stream-lot-row--clickable:focus-visible {
	background: #f0fdf4;
	outline: none;
}

.mseom-stream-lot-hint {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	color: #65a30d;
	font-weight: 600;
}

.mseom-start-price-preview {
	margin: 8px 0 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: #ecfdf5;
	color: #166534;
	font-size: 0.86rem;
	font-weight: 700;
}

.mseom-dealer-btn-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #166534;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.mseom-dealer-btn-add:hover {
	background: #14532d;
	color: #fff;
}

.mseom-dealer-btn-back {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	text-decoration: none;
	font-weight: 600;
}

.mseom-dealer-btn-back:hover {
	background: #e5e7eb;
	color: #111827;
}

.mseom-dealer-btn-text {
	appearance: none;
	border: 0;
	background: none;
	cursor: pointer;
	font-weight: 600;
	color: #166534;
	padding: 0;
}

.mseom-dealer-btn-text--danger {
	color: #b91c1c;
}

.mseom-dealer-muted {
	color: #9ca3af;
}

.mseom-inline-form {
	display: inline;
}

.mseom-field-required > span::after {
	content: " *";
	color: #b91c1c;
}

.mseom-live-stream-form-grid {
	margin-bottom: 1.5rem;
}

.mseom-live-lot-order__header h3 {
	margin: 0 0 4px;
	font-size: 1.05rem;
}

.mseom-live-lot-order__layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 20px;
	align-items: start;
}

.mseom-live-lot-pool h4,
.mseom-live-lot-queue h4 {
	margin: 0 0 10px;
	font-size: 0.95rem;
	color: #374151;
}

.mseom-live-car-pool {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 420px;
	overflow: auto;
}

.mseom-live-car-pool__item {
	width: 100%;
	display: grid;
	grid-template-columns: 48px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 8px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	text-align: right;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mseom-live-car-pool__item:hover:not(:disabled) {
	border-color: #166534;
	box-shadow: 0 2px 8px rgba(22, 101, 52, 0.12);
}

.mseom-live-car-pool__item:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.mseom-live-car-pool__item img,
.mseom-live-car-pool__placeholder {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mseom-live-car-pool__title {
	font-size: 0.88rem;
	font-weight: 600;
	color: #111827;
}

.mseom-live-car-pool__add {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #166534;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

.mseom-live-lot-table {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.mseom-live-lot-table th {
	background: #166534;
	color: #fff;
}

.mseom-live-lot-table td,
.mseom-live-lot-table th {
	padding: 10px 12px;
}

.mseom-live-lot-row__thumb {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	vertical-align: middle;
	margin-left: 8px;
}

.mseom-live-lot-row__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mseom-live-lot-row__order {
	font-weight: 700;
	color: #166534;
	white-space: nowrap;
}

.mseom-live-lot-row__controls {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.mseom-live-lot-row__controls button {
	appearance: none;
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 8px;
	padding: 4px 8px;
	cursor: pointer;
	font-size: 0.82rem;
}

.mseom-live-lot-row__controls button:hover {
	border-color: #166534;
	color: #166534;
}

.mseom-live-lot-empty td {
	text-align: center;
	color: #6b7280;
	padding: 1.5rem;
}

.mseom-live-stream-form-actions {
	margin-top: 1.5rem;
}

@media (max-width: 720px) {
	.mseom-streams-toolbar {
		align-items: stretch;
	}

	.mseom-streams-search {
		margin-right: 0;
		max-width: none;
	}

	.mseom-streams-col-actions {
		width: auto;
	}

	.mseom-stream-row-actions {
		flex-wrap: wrap;
	}
}

@media (max-width: 900px) {
	.mseom-live-lot-order__layout {
		grid-template-columns: 1fr;
	}
}

/* استوديو البث المباشر */
.mseom-stream-menu__item--edit {
	color: #1d4ed8;
}

.mseom-field-readonly__value {
	margin: 0.35rem 0 0;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: #f3f4f6;
	font-weight: 700;
}

.mseom-studio-panel {
	position: relative;
	overflow: hidden;
	padding: 1.25rem;
}

.mseom-studio-panel--lot-transition {
	animation: mseom-studio-lot-panel-pulse 1s ease;
}

@keyframes mseom-studio-lot-panel-pulse {
	0%,
	100% {
		box-shadow: inset 0 0 0 0 rgba(45, 107, 69, 0);
	}

	35% {
		box-shadow: inset 0 0 0 3px rgba(45, 107, 69, 0.45);
	}
}

.mseom-studio-lot-transition {
	position: absolute;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	pointer-events: none;
}

.mseom-studio-lot-transition__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.72);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.mseom-studio-lot-transition.is-active .mseom-studio-lot-transition__backdrop {
	opacity: 1;
}

.mseom-studio-lot-transition__card {
	position: relative;
	z-index: 1;
	width: min(100%, 26rem);
	padding: 1.5rem 1.35rem;
	border-radius: 16px;
	background: #fff;
	border: 2px solid #2d6b45;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
	text-align: center;
	transform: scale(0.88) translateY(18px);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.mseom-studio-lot-transition.is-active .mseom-studio-lot-transition__card {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.mseom-studio-lot-transition.is-leaving .mseom-studio-lot-transition__backdrop {
	opacity: 0;
}

.mseom-studio-lot-transition.is-leaving .mseom-studio-lot-transition__card {
	transform: scale(0.96) translateY(-8px);
	opacity: 0;
}

.mseom-studio-lot-transition__badge {
	display: inline-block;
	margin-bottom: 0.85rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: #ecfdf5;
	color: #166534;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.mseom-studio-lot-transition__photo {
	margin: 0 auto 0.85rem;
	width: 100%;
	max-width: 14rem;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: #f3f4f6;
}

.mseom-studio-lot-transition__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-studio-lot-transition__title {
	margin: 0 0 0.45rem;
	font-size: 1.35rem;
	line-height: 1.35;
	color: #111827;
}

.mseom-studio-lot-transition__brief {
	margin: 0 0 0.65rem;
	color: #4b5563;
	font-size: 0.92rem;
	font-weight: 600;
}

.mseom-studio-lot-transition__hint {
	margin: 0;
	padding-top: 0.55rem;
	border-top: 1px solid #e5e7eb;
	color: #2d6b45;
	font-size: 0.88rem;
	font-weight: 700;
}

.mseom-studio-lot-transition__count {
	display: block;
	margin-top: 0.75rem;
	font-size: 2rem;
	line-height: 1.1;
	color: #1f6b42;
	font-weight: 800;
}

.mseom-studio-head--lot-changed h2 {
	animation: mseom-studio-lot-title-flash 1.1s ease;
}

@keyframes mseom-studio-lot-title-flash {
	0%,
	100% {
		color: inherit;
	}

	30% {
		color: #2d6b45;
		transform: scale(1.02);
	}
}

.mseom-studio-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.mseom-studio-head__title h2 {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}

.mseom-studio-adno {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	background: #f3f4f6;
	font-size: 0.85rem;
	font-weight: 700;
}

.mseom-studio-adno__car {
	color: #111827;
}

.mseom-studio-adno__id {
	color: #6b7280;
	font-size: 0.78rem;
	font-weight: 600;
}

.mseom-studio-start-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
}

.mseom-studio-wait-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: #fffbeb;
	border: 1px solid #fde68a;
}

.mseom-studio-wait-bar__text strong {
	display: block;
	margin-bottom: 0.35rem;
	color: #92400e;
}

.mseom-studio-wait-bar__text p {
	margin: 0.25rem 0 0;
	color: #78350f;
}

.mseom-studio-wait-bar__hint {
	font-size: 0.88rem;
	opacity: 0.9;
}

.mseom-studio-wait-countdown__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #92400e;
}

.mseom-studio-wait-countdown__parts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.mseom-studio-wait-countdown__parts div {
	min-width: 48px;
	padding: 0.45rem 0.55rem;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	border: 1px solid #fde68a;
}

.mseom-studio-wait-countdown__parts strong {
	display: block;
	font-size: 1.1rem;
	line-height: 1.2;
}

.mseom-studio-wait-countdown__parts span {
	font-size: 0.75rem;
	color: #6b7280;
}

.mseom-studio-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 1rem;
}

.mseom-studio-video,
.mseom-studio-specs,
.mseom-studio-pricing,
.mseom-studio-next,
.mseom-studio-bids,
.mseom-studio-chat,
.mseom-dealer-auction-ops,
.mseom-dealer-auction-timeline {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 1rem;
}

.mseom-studio-video {
	grid-row: span 2;
}

.mseom-studio-video__frame {
	position: relative;
	min-height: 280px;
	border-radius: 12px;
	overflow: hidden;
	background: #111827;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mseom-studio-video__frame--live {
	background: #f3f4f6;
}

.mseom-studio-video__preview {
	width: 100%;
	height: 100%;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mseom-studio-video__preview[hidden] {
	display: none !important;
}

.mseom-studio-video__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-studio-video__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-studio-video__feed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111827;
	overflow: hidden;
}

.mseom-studio-video__camera {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

.mseom-studio-video__live-badge {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(220, 38, 38, 0.92);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
}

.mseom-studio-video__live-badge::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-inline-end: 0.35rem;
	border-radius: 50%;
	background: #fff;
	vertical-align: middle;
	animation: mseom-studio-live-pulse 1.2s ease-in-out infinite;
}

.mseom-studio-video__camera-hint,
.mseom-studio-video__camera-error {
	position: absolute;
	inset-inline: 1rem;
	text-align: center;
	font-size: 0.82rem;
	line-height: 1.5;
	z-index: 1;
}

.mseom-studio-video__camera-hint {
	color: #d1d5db;
}

.mseom-studio-video__camera-error {
	color: #fecaca;
	z-index: 6;
	position: relative;
}

.mseom-studio-video__camera-paused {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: rgba(17, 24, 39, 0.88);
	color: #f9fafb;
	font-size: 0.95rem;
	font-weight: 700;
	z-index: 2;
	pointer-events: none;
}

.mseom-studio-video__camera-paused:not([hidden]) {
	display: flex;
}

.mseom-studio-video__camera-paused[hidden] {
	display: none !important;
}

.mseom-studio-video__camera-paused::before {
	content: "";
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 3 21 21' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='3' y='7' width='13' height='10' rx='2' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M16 10.5 21 8v8l-5-2.5v-3Z' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.mseom-studio-video__handoff {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem;
	text-align: center;
	background: rgba(15, 23, 42, 0.9);
	color: #f8fafc;
	font-size: 0.92rem;
	font-weight: 700;
	pointer-events: auto;
}

.mseom-studio-video__handoff.is-visible {
	display: flex;
}

.mseom-studio-video__handoff[hidden] {
	display: none !important;
}

.mseom-studio-video__handoff-error {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #fecaca;
	max-width: 90%;
}

.mseom-studio-video__handoff-btn {
	border: 0;
	border-radius: 999px;
	padding: 0.55rem 1rem;
	background: #2d6b45;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	cursor: pointer;
}

.mseom-studio-video__handoff-btn:hover {
	background: #245a3a;
}

.mseom-studio-media-controls {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 6;
	display: block;
	padding: 28px 14px 12px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.72) 100%);
	pointer-events: none;
}

.mseom-studio-media-controls[hidden] {
	display: none !important;
}

.mseom-studio-media-controls__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	pointer-events: auto;
}

.mseom-studio-media-controls__group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mseom-studio-media-controls__group--end {
	margin-inline-start: auto;
}

.mseom-studio-media-controls__status {
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.82);
	white-space: nowrap;
}

.mseom-studio-media-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mseom-studio-media-btn:hover {
	background: rgba(255, 255, 255, 0.24);
	transform: translateY(-1px);
}

.mseom-studio-media-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.mseom-studio-media-btn.is-on {
	background: rgba(45, 107, 69, 0.92);
	box-shadow: 0 4px 14px rgba(45, 107, 69, 0.35);
}

.mseom-studio-media-btn.is-off {
	background: rgba(185, 28, 28, 0.92);
	box-shadow: 0 4px 14px rgba(185, 28, 28, 0.35);
}

.mseom-studio-media-btn__state {
	display: none;
	line-height: 0;
}

.mseom-studio-media-btn.is-on .mseom-studio-media-btn__state--on,
.mseom-studio-media-btn.is-off .mseom-studio-media-btn__state--off {
	display: inline-flex;
}

.mseom-studio-media-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
}

.mseom-studio-video__frame:fullscreen {
	border-radius: 0;
	max-height: none;
	background: #000;
}

.mseom-studio-video__frame:fullscreen .mseom-studio-video__feed,
.mseom-studio-video__frame:fullscreen .mseom-studio-video__camera {
	height: 100%;
	max-height: none;
}

@keyframes mseom-studio-live-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.mseom-studio-video__frame--streaming .mseom-studio-camera-btn {
	display: none;
}

.mseom-studio-video__frame--streaming .mseom-studio-video__feed {
	display: block !important;
}

.mseom-studio-video__placeholder {
	font-size: 3rem;
	opacity: 0.5;
}

.mseom-studio-camera-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	width: 100%;
	margin-top: 1rem;
	padding: 1.25rem 1rem;
	border: 0;
	border-radius: 12px;
	background: #f3f4f6;
	cursor: pointer;
	transition: background 0.2s ease;
}

.mseom-studio-camera-btn--in-frame {
	width: 100%;
	height: 100%;
	min-height: 280px;
	margin-top: 0;
	border-radius: 0;
	background: transparent;
}

.mseom-studio-camera-btn--in-frame:hover {
	background: transparent;
}

.mseom-studio-camera-btn:hover {
	background: #eceff3;
}

.mseom-studio-camera-btn:focus-visible {
	outline: 2px solid #2d6b45;
	outline-offset: 3px;
}

.mseom-studio-camera-btn__ring {
	position: relative;
	width: 88px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mseom-studio-camera-btn__ring::before,
.mseom-studio-camera-btn__ring::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(45, 107, 69, 0.22);
	animation: mseom-studio-camera-pulse 2.4s ease-out infinite;
}

.mseom-studio-camera-btn__ring::after {
	animation-delay: 1.2s;
}

.mseom-studio-camera-btn__icon {
	position: relative;
	z-index: 1;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #2d6b45;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(45, 107, 69, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mseom-studio-camera-btn:hover .mseom-studio-camera-btn__icon {
	transform: scale(1.04);
	box-shadow: 0 10px 24px rgba(45, 107, 69, 0.34);
}

.mseom-studio-camera-btn__svg {
	width: 38px;
	height: 38px;
}

.mseom-studio-camera-btn__label {
	color: #2d6b45;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.4;
}

@keyframes mseom-studio-camera-pulse {
	0% {
		transform: scale(0.92);
		opacity: 0.55;
	}

	70% {
		opacity: 0.12;
	}

	100% {
		transform: scale(1.45);
		opacity: 0;
	}
}

.mseom-studio-specs-scroll {
	max-height: min(420px, 55vh);
	overflow-y: auto;
	margin-top: 0.5rem;
	padding-inline-end: 4px;
}

.mseom-studio-specs-scroll::-webkit-scrollbar {
	width: 6px;
}

.mseom-studio-specs-scroll::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 999px;
}

.mseom-studio-specs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.mseom-studio-specs-item {
	padding: 0.55rem 0.65rem;
	border: 1px solid #eef2f0;
	border-radius: 10px;
	background: #fafcfb;
	font-size: 0.8rem;
	line-height: 1.45;
}

.mseom-studio-specs-item__label {
	display: block;
	margin-bottom: 0.2rem;
	color: #6b7280;
	font-weight: 600;
}

.mseom-studio-specs-item__value {
	display: block;
	color: #111827;
	font-size: 0.82rem;
	font-weight: 700;
	word-break: break-word;
}

.mseom-studio-features {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid #eef2f7;
}

.mseom-studio-features__title {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	font-weight: 800;
	color: #111827;
}

.mseom-studio-features__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.mseom-studio-features__item {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.5rem 0.6rem;
	border: 1px solid #e8eeea;
	border-radius: 10px;
	background: #fafcfb;
}

.mseom-studio-features__thumb {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: 8px;
	flex-shrink: 0;
}

.mseom-studio-features__thumb:focus-visible {
	outline: 2px solid #166534;
	outline-offset: 2px;
}

.mseom-studio-features__image {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	display: block;
}

.mseom-studio-features__text {
	font-size: 0.78rem;
	font-weight: 600;
	color: #374151;
	line-height: 1.45;
}

.mseom-studio-timers {
	display: grid;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.mseom-studio-timer {
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: #f9fafb;
}

.mseom-studio-timer__label {
	display: block;
	font-size: 0.82rem;
	color: #6b7280;
}

.mseom-studio-timer__value {
	font-size: 1rem;
}

.mseom-studio-price-list {
	margin: 0 0 1rem;
}

.mseom-studio-live-price {
	margin: 0 0 1rem;
	padding: 1rem 1.05rem;
	border-radius: 16px;
	border: 2px solid #bbf7d0;
	background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
	box-shadow: 0 8px 24px rgba(22, 101, 52, 0.08);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mseom-studio-live-price.is-updated {
	border-color: #16a34a;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
	transform: scale(1.01);
}

.mseom-studio-live-price__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.mseom-studio-live-price__live {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 0.78rem;
	font-weight: 800;
}

.mseom-studio-live-price__dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
	animation: mseom-studio-live-pulse 1.6s ease-out infinite;
}

@keyframes mseom-studio-live-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

.mseom-studio-live-price__count {
	font-size: 0.82rem;
	font-weight: 700;
	color: #4b5563;
}

.mseom-studio-live-price__label {
	margin: 0 0 0.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #374151;
}

.mseom-studio-live-price__value-wrap {
	margin: 0;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.35rem;
}

.mseom-studio-live-price__value {
	font-size: clamp(2rem, 6vw, 2.65rem);
	line-height: 1.1;
	font-weight: 900;
	color: #166534;
	letter-spacing: -0.02em;
}

.mseom-studio-live-price__currency {
	font-size: 1rem;
	font-weight: 800;
	color: #15803d;
}

.mseom-studio-live-price__next {
	margin: 0.65rem 0 0;
	text-align: center;
	font-size: 0.88rem;
	font-weight: 700;
	color: #6b7280;
}

.mseom-studio-price-list div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
}

.mseom-studio-price-list dt {
	margin: 0;
	font-weight: 600;
	color: #374151;
}

.mseom-studio-price-list dd {
	margin: 0;
	font-weight: 800;
}

.mseom-studio-price-current {
	color: #166534;
}

.mseom-studio-bids-list li.is-new {
	background: #f0fdf4;
	border-radius: 10px;
	padding: 0.45rem 0.55rem;
	margin: 0 -0.55rem;
	border-bottom-color: transparent;
	animation: mseom-studio-bid-highlight 1.2s ease-out;
}

@keyframes mseom-studio-bid-highlight {
	0% {
		background: #bbf7d0;
	}
	100% {
		background: #f0fdf4;
	}
}

.mseom-studio-sale-indicator {
	margin-top: 0.85rem;
	padding: 0.85rem 0.9rem;
	border: 1px solid #e8eeea;
	border-radius: 14px;
	background: linear-gradient(180deg, #fafcfb 0%, #fff 100%);
}

.mseom-studio-sale-indicator__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
	font-weight: 700;
	font-size: 0.9rem;
}

.mseom-studio-sale-indicator__status {
	font-size: 0.78rem;
	font-weight: 800;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
}

.mseom-studio-sale-indicator--start .mseom-studio-sale-indicator__status {
	color: #b91c1c;
	background: #fee2e2;
}

.mseom-studio-sale-indicator--bidding .mseom-studio-sale-indicator__status {
	color: #c2410c;
	background: #ffedd5;
}

.mseom-studio-sale-indicator--reached .mseom-studio-sale-indicator__status {
	color: #166534;
	background: #dcfce7;
}

.mseom-studio-sale-indicator__track {
	position: relative;
	height: 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #eef2f7 0%, #dbe3ec 100%);
	border: 1px solid rgba(15, 23, 42, 0.07);
	box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.mseom-studio-sale-indicator__progress {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	border-radius: inherit;
	transition: width 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
	pointer-events: none;
}

.mseom-studio-sale-indicator--start .mseom-studio-sale-indicator__progress {
	width: 100% !important;
	background: linear-gradient(180deg, #f87171 0%, #ef4444 55%, #dc2626 100%);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.28);
}

.mseom-studio-sale-indicator--bidding .mseom-studio-sale-indicator__progress {
	background: linear-gradient(180deg, #fdba74 0%, #f97316 55%, #ea580c 100%);
	box-shadow:
		inset 0 1px 2px rgba(255, 255, 255, 0.28),
		0 0 10px rgba(249, 115, 22, 0.22);
}

.mseom-studio-sale-indicator--reached .mseom-studio-sale-indicator__progress {
	width: 100% !important;
	background: linear-gradient(180deg, #4ade80 0%, #22c55e 55%, #16a34a 100%);
	box-shadow:
		inset 0 1px 2px rgba(255, 255, 255, 0.28),
		0 0 12px rgba(34, 197, 94, 0.28);
}

.mseom-studio-sale-indicator__legend {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.65rem;
}

.mseom-studio-sale-indicator__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.76rem;
	font-weight: 700;
	color: #4b5563;
}

.mseom-studio-sale-indicator__legend-item i {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.mseom-studio-sale-indicator__legend-item--start i {
	background: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.mseom-studio-sale-indicator__legend-item--goal i {
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.mseom-studio-next-list,
.mseom-studio-bids-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.mseom-studio-next-list li,
.mseom-studio-bids-list li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid #f3f4f6;
}

.mseom-studio-next-list__order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #166534;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	flex-shrink: 0;
}

.mseom-studio-next-list__label {
	font-size: 0.84rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.35;
}

.mseom-studio-next-list img {
	width: 48px;
	height: 36px;
	object-fit: cover;
	border-radius: 6px;
}

.mseom-studio-next-hint {
	margin: 0.75rem 0 0;
	padding: 0.55rem 0.7rem;
	border-radius: 8px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	font-size: 0.82rem;
	line-height: 1.45;
}

.mseom-studio-bids-list li {
	justify-content: space-between;
}

.mseom-studio-chat__log {
	min-height: 140px;
	max-height: 180px;
	overflow: auto;
	margin-bottom: 0.75rem;
	padding: 0.5rem;
	border-radius: 10px;
	background: #f9fafb;
}

.mseom-studio-chat__input {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 10px;
}

.mseom-studio-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
}

.mseom-studio-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.1rem;
	border: 0;
	border-radius: 12px;
	font-weight: 800;
	cursor: pointer;
}

.mseom-studio-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mseom-studio-btn--sale {
	background: #d1fae5;
	color: #065f46;
}

.mseom-studio-btn--dealer-bid {
	background: #166534;
	color: #fff;
}

.mseom-studio-wallet-alert {
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-size: 0.92rem;
	line-height: 1.5;
}

.mseom-studio-wallet-alert__link {
	display: inline-block;
	margin-top: 0.35rem;
	font-weight: 700;
	color: #b91c1c;
	text-decoration: underline;
}

.mseom-studio-btn--cancel {
	background: #4d7c0f;
	color: #fff;
}

.mseom-studio-btn--secondary {
	background: #f3f4f6;
	color: #111827;
}

.mseom-studio-btn--approve {
	background: #16a34a;
	color: #fff;
}

.mseom-studio-btn--reject {
	background: #dc2626;
	color: #fff;
}

.mseom-studio-cancel-form {
	margin: 0;
}

.mseom-studio-pending-start {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: #eff6ff;
	border: 1px solid #93c5fd;
	color: #1e3a8a;
}

.mseom-studio-pending-start strong {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.98rem;
}

.mseom-studio-pending-start p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.mseom-studio-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.mseom-studio-modal[hidden] {
	display: none;
}

.mseom-studio-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.55);
}

.mseom-studio-modal__dialog {
	position: relative;
	width: min(520px, 100%);
	padding: 1.25rem;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.mseom-studio-modal__dialog > h3 {
	margin: 0 0 0.75rem;
	padding-inline-start: 2rem;
}

.mseom-studio-modal__close {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.mseom-studio-modal__close:hover {
	background: #e5e7eb;
	color: #111827;
}

.mseom-studio-modal__close:focus-visible {
	outline: 2px solid #166534;
	outline-offset: 2px;
}

.mseom-studio-modal__hint {
	margin: 0 0 1rem;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.6;
}

.mseom-studio-modal__hint--warning {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	color: #92400e;
}

.mseom-studio-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-top: 1rem;
}

.mseom-studio-reject-note {
	display: block;
	margin-bottom: 0.75rem;
}

.mseom-studio-reject-note textarea {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 10px;
}

.mseom-dealer-bid-picker {
	margin-top: 0.75rem;
}

.mseom-dealer-bid-amounts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}

@media (min-width: 720px) {
	.mseom-dealer-bid-amounts {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.mseom-dealer-bid-amount {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d1d5db;
	background: #f9fafb;
	color: #111827;
	border-radius: 12px;
	padding: 0.75rem 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mseom-dealer-bid-amount:hover,
.mseom-dealer-bid-amount.is-active {
	background: #166534;
	border-color: #166534;
	color: #fff;
}

.mseom-dealer-bid-custom {
	display: block;
	margin-top: 0.85rem;
}

.mseom-dealer-bid-custom span {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	color: #374151;
}

.mseom-dealer-bid-custom__input {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 1.05rem;
	font-weight: 600;
}

.mseom-dealer-bid-total {
	margin: 0.75rem 0 0;
	padding: 0.75rem 0.85rem;
	border-radius: 10px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #166534;
	text-align: center;
}

.mseom-studio-image-modal__dialog {
	position: relative;
	max-width: min(92vw, 900px);
	max-height: 92vh;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.mseom-studio-image-modal__image {
	display: block;
	max-width: min(92vw, 900px);
	max-height: 85vh;
	margin: 0 auto;
	border-radius: 12px;
	object-fit: contain;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mseom-studio-image-modal__close {
	position: absolute;
	top: -0.35rem;
	inset-inline-end: -0.35rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1100px) {
	.mseom-studio-grid {
		grid-template-columns: 1fr 1fr;
	}

	.mseom-studio-video {
		grid-column: span 2;
		grid-row: auto;
	}
}

@media (max-width: 720px) {
	.mseom-studio-grid {
		grid-template-columns: 1fr;
	}

	.mseom-studio-video {
		grid-column: auto;
	}

	.mseom-studio-specs-grid {
		grid-template-columns: 1fr;
	}

	.mseom-studio-modal__actions {
		grid-template-columns: 1fr;
	}

	.mseom-studio-actions {
		flex-direction: column;
	}
}

/* Dealer wallet */
.mseom-dealer-table-wrap {
	overflow-x: auto;
}

.mseom-dealer-wallet-stats .mseom-dealer-stat-value small {
	font-size: 14px;
	font-weight: 400;
	margin-right: 4px;
}

.mseom-dealer-wallet-alert {
	background: #fef3c7;
	border: 1px solid #fcd34d;
	color: #92400e;
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-size: 14px;
}

.mseom-dealer-wallet-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0;
}

.mseom-dealer-wallet-topup-btn {
	min-width: 110px;
	border-radius: 10px !important;
}

.mseom-dealer-wallet-topup-note {
	margin-top: 10px;
	font-size: 14px;
}

.mseom-dealer-wallet-topup-note.is-error {
	color: #b91c1c;
}

.mseom-dealer-wallet-topup-note.is-success {
	color: #166534;
}

.mseom-dealer-wallet-admin-note {
	margin-top: 12px;
}

.mseom-dealer-wallet-info li {
	margin-bottom: 8px;
}

.mseom-dealer-table .is-credit {
	color: #166534;
	font-weight: 600;
}

.mseom-dealer-table .is-debit {
	color: #b91c1c;
	font-weight: 600;
}

/* ——— صفحة المزادات ——— */
.mseom-dealer-auctions-list-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-dealer-auctions-list-page > .notice {
	margin: 16px 28px 0;
}

.mseom-dealer-auctions-list-page .mseom-auctions-list-panel {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	min-height: calc(100vh - 73px);
	display: flex;
	flex-direction: column;
	padding: 20px 28px 28px;
}

.mseom-dealer-auctions-list-page .mseom-auctions-table-wrap {
	flex: 1 1 auto;
	width: 100%;
}

.mseom-auctions-row {
	cursor: pointer;
}

.mseom-auctions-name__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.mseom-auctions-name__text small {
	color: #6b7280;
	font-size: 0.8rem;
}

.mseom-auctions-stream-cell {
	color: #374151;
	font-weight: 600;
	max-width: 180px;
}

.mseom-auctions-bids-cell {
	font-weight: 700;
	color: #111827;
}

.mseom-auctions-date-cell {
	color: #4b5563;
	white-space: nowrap;
}

.mseom-auctions-row--live {
	background: #fefce8;
}

.mseom-auctions-row--live:hover {
	background: #fef9c3;
}

.mseom-dealer-auction-detail-page {
	margin: -24px -28px 0;
	width: auto;
}

.mseom-dealer-auction-detail-page .mseom-dealer-auction-detail {
	margin-top: 0;
	border-radius: 0;
	border-right: none;
	border-left: none;
	box-shadow: none;
	padding: 20px 28px 28px;
}

.mseom-dealer-auction-detail__head {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e5e7eb;
}

.mseom-dealer-auction-detail__title-wrap h2 {
	margin: 0.35rem 0;
}

.mseom-dealer-auction-detail__brief,
.mseom-dealer-auction-detail__meta {
	margin: 0.25rem 0;
	color: #6b7280;
	font-size: 0.9rem;
}

.mseom-dealer-auction-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.mseom-dealer-auction-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.mseom-dealer-auction-detail__grid {
	margin-top: 0.5rem;
}

.mseom-dealer-auction-detail__photo .mseom-studio-video__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

.mseom-dealer-auction-ops__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.mseom-dealer-auction-ops__list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
}

.mseom-dealer-auction-ops__list span {
	color: #6b7280;
	font-size: 0.88rem;
}

.mseom-dealer-auction-detail__bids {
	grid-column: 1 / -1;
}

.mseom-dealer-auction-detail__timeline {
	grid-column: 1 / -1;
}

.mseom-dealer-auction-timeline__list {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.mseom-dealer-auction-timeline__item {
	display: grid;
	grid-template-columns: 14px 1fr;
	gap: 0.85rem;
	align-items: flex-start;
}

.mseom-dealer-auction-timeline__marker {
	width: 12px;
	height: 12px;
	margin-top: 0.35rem;
	border-radius: 999px;
	background: #166534;
	border: 2px solid #bbf7d0;
}

.mseom-dealer-auction-timeline__item--bid .mseom-dealer-auction-timeline__marker {
	background: #1d4ed8;
	border-color: #bfdbfe;
}

.mseom-dealer-auction-timeline__item--ended .mseom-dealer-auction-timeline__marker,
.mseom-dealer-auction-timeline__item--sale_rejected .mseom-dealer-auction-timeline__marker,
.mseom-dealer-auction-timeline__item--audit_sale_rejected .mseom-dealer-auction-timeline__marker {
	background: #b91c1c;
	border-color: #fecaca;
}

.mseom-dealer-auction-timeline__item--sale_approved .mseom-dealer-auction-timeline__marker,
.mseom-dealer-auction-timeline__item--audit_sale_approved .mseom-dealer-auction-timeline__marker,
.mseom-dealer-auction-timeline__item--sale_completed .mseom-dealer-auction-timeline__marker {
	background: #15803d;
	border-color: #bbf7d0;
}

.mseom-dealer-auction-timeline__body {
	padding: 0.7rem 0.85rem;
	border-radius: 12px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
}

.mseom-dealer-auction-timeline__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.25rem;
}

.mseom-dealer-auction-timeline__head time {
	font-size: 0.82rem;
	color: #6b7280;
	white-space: nowrap;
}

.mseom-dealer-auction-timeline__detail {
	margin: 0;
	color: #374151;
	font-size: 0.9rem;
	line-height: 1.5;
}

.mseom-dealer-auction-bids-table tr.is-highest {
	background: #f0fdf4;
}

.mseom-dealer-auction-bids-table td .mseom-dealer-auction-bids__tag {
	margin-inline-start: 0.45rem;
}

.mseom-dealer-auction-bids__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.mseom-dealer-auction-bids__list--detail {
	margin-top: 0.75rem;
}

.mseom-dealer-auction-bids__item {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
}

.mseom-dealer-auction-bids__item.is-highest {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.mseom-dealer-auction-bids__who {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.mseom-dealer-auction-bids__tag {
	font-size: 0.75rem;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	background: #166534;
	color: #fff;
}

.mseom-dealer-auction-bids__amount {
	font-weight: 800;
	white-space: nowrap;
}

.mseom-dealer-auction-bids__time {
	font-size: 0.82rem;
	color: #6b7280;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.mseom-auctions-stream-cell {
		max-width: 120px;
	}

	.mseom-dealer-auction-bids__item {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}
}

