/**
 * My Account Revamp Styles
 * Shared stylesheet for revamped account pages (Listings, Messages, Favorites, etc.)
 */

/* ==========================================================================
   Navigation Icon - Listings
   ========================================================================== */

.woocommerce-MyAccount-navigation-link--listings a:before {
	content: '\f03a';
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
}

/* ==========================================================================
   Navigation Icon - Messages
   ========================================================================== */

.woocommerce-MyAccount-navigation-link--messages a:before {
	content: '\f4b6';
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
}

/* ==========================================================================
   Messages Page
   ========================================================================== */

.messages-page {
	width: 100%;
}

.messages-inbox {
	min-height: 500px;
}

.messages-inbox iframe {
	border-radius: 8px;
}

/* ==========================================================================
   Navigation Icon - Favorites
   ========================================================================== */

.woocommerce-MyAccount-navigation-link--favorites a:before {
	content: '\f004';
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
}

/* ==========================================================================
   Favorites Page
   ========================================================================== */

.favorites-page {
	width: 100%;
}

.favorites-subtitle {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #555;
	margin-bottom: 24px;
}

.favorites-subtitle i {
	color: var(--color-pink);
	font-size: 14px;
}

/* Favorite Item */
.favorite-item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
	transition: opacity 0.3s ease;
}

.favorite-item:last-of-type {
	border-bottom: none;
}

.favorite-item-image {
	flex-shrink: 0;
	width: 90px;
	height: 90px;
	border-radius: 8px;
	overflow: hidden;
}

.favorite-item-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.favorite-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.favorite-item-info {
	flex: 1;
	min-width: 0;
}

.favorite-item-title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	text-decoration: none;
	margin-bottom: 4px;
}

.favorite-item-title:hover {
	color: var(--minimog-color-primary, #00897b);
}

.favorite-item-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--minimog-color-heading, #1a1a2e);
	margin-bottom: 8px;
}

.favorite-item-price del {
	color: #999;
	font-weight: 400;
	font-size: 14px;
}

.favorite-item-price ins {
	text-decoration: none;
}

.favorite-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.favorite-meta-condition,
.favorite-meta-location {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #777;
}

.favorite-meta-condition i,
.favorite-meta-location i {
	color: #00897b;
	font-size: 12px;
}

/* Remove heart button */
.favorite-remove-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: none;
	color: var(--color-pink);
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}

.favorite-remove-btn:hover {
	background: var(--color-pink);
	transform: scale(1.1);
}

/* Responsive - Favorites */
@media (max-width: 768px) {
	.favorite-item {
		gap: 12px;
	}

	.favorite-item-image {
		width: 70px;
		height: 70px;
	}

	.favorite-item-title {
		font-size: 14px;
	}

	.favorite-item-price {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.favorite-item-image {
		width: 60px;
		height: 60px;
	}

	.favorite-item-meta {
		gap: 8px;
	}
}

/* ==========================================================================
   Become a Professional Seller Link
   ========================================================================== */

.become-pro-seller {
	padding: 20px 30px 30px;
}

.become-pro-seller-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-pink);
	text-decoration: none;
	transition: color 0.3s ease;
}

.become-pro-seller-link:hover {
	color: var(--color-pink);
}

.become-pro-seller-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid var(--color-pink);
	font-size: 14px;
	line-height: 1;
	color: var(--color-pink);
	transition: all 0.3s ease;
}

.become-pro-seller-link:hover .become-pro-seller-icon {
	background: var(--color-pink);
	color: #fff;
}

/* ==========================================================================
   Listings Page - Header
   ========================================================================== */

.listings-page {
	width: 100%;
}

.listings-header {
	margin-bottom: 24px;
}

.listings-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: var(--minimog-color-heading, #1a1a2e);
}

/* ==========================================================================
   Listings Page - Toolbar (Tabs + Add New)
   ========================================================================== */

.listings-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 16px;
}

.listings-tabs {
	display: flex;
	gap: 0;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.listings-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	color: #555;
	background: #fff;
	text-decoration: none;
	border-right: 1px solid #e0e0e0;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.listings-tab:last-child {
	border-right: none;
}

.listings-tab:hover {
	color: var(--minimog-color-heading, #1a1a2e);
	background: #f5f5f5;
}

.listings-tab--active {
	color: #fff;
	/* background: #00897b; */
	background: var(--color-blue);
}

.listings-tab--active:hover {
	color: #fff;
	/* background: #00796b; */
	background: var(--color-blue);
}

/* Add New Button */
.listings-add-new-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--color-pink);
	border: none;
	border-radius: 24px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.3s ease;
	white-space: nowrap;
}

.listings-add-new-btn:hover {
	color: #fff;
	background: var(--color-pink);
}

.listings-add-new-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 2px solid #fff;
	border-radius: 50%;
	font-size: 14px;
	line-height: 1;
}

/* ==========================================================================
   Listings Page - Content Area
   ========================================================================== */

.listings-content {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 24px;
}

.listings-section-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
	color: var(--minimog-color-heading, #1a1a2e);
}

/* ==========================================================================
   Listings Page - Individual Listing Item
   ========================================================================== */

.listing-item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
	transition: opacity 0.3s ease;
}

.listing-item:last-of-type {
	border-bottom: none;
}

/* Product Image */
.listing-item-image {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
}

.listing-item-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.listing-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Product Info */
.listing-item-info {
	flex: 1;
	min-width: 0;
}

.listing-item-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.listing-item-title a {
	color: inherit;
	text-decoration: none;
}

.listing-item-title a:hover {
	color: var(--minimog-color-primary, #00897b);
	background: var(--color-pink);
}

.listing-item-price {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.listing-item-price del {
	color: #999;
	font-weight: 400;
	font-size: 14px;
}

.listing-item-price ins {
	text-decoration: none;
}

/* Meta (Views + Favorites) */
.listing-item-meta {
	display: flex;
	gap: 16px;
}

.listing-meta-views,
.listing-meta-favorites {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #777;
	background: #f5f5f5;
	padding: 4px 10px;
	border-radius: 20px;
}

.listing-meta-views i {
	color: #888;
}

.listing-meta-favorites i {
	color: var(--color-pink);
	font-size: 12px;
}

/* Status Badge */
.listing-item-status {
	flex-shrink: 0;
	min-width: 90px;
	text-align: center;
}

.listing-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.listing-status-badge--active {
	color: #fff;
	background: #00897b;
}

.listing-status-badge--draft {
	color: #795548;
	background: #efebe9;
}

.listing-status-badge--paused {
	color: #f57c00;
	background: #fff3e0;
}

.listing-status-badge i {
	font-size: 11px;
}

/* Actions */
.listing-item-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.listing-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #555;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	padding: 0;
}

.listing-action-btn:hover {
	color: #fff;
}

.listing-action-edit:hover {
	background: #1a1a2e;
	border-color: #1a1a2e;
}

.listing-action-pause:hover {
	background: #f57c00;
	border-color: #f57c00;
}

.listing-action-activate:hover {
	background: var(--color-pink);
	border-color: var(--color-pink);
}

.listing-action-delete:hover {
	background: #e53935;
	border-color: #e53935;
}

/* ==========================================================================
   Listings Page - Footer (Pagination)
   ========================================================================== */

.listings-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	margin-top: 10px;
	border-top: 1px solid #eee;
	flex-wrap: wrap;
	gap: 12px;
}

.listings-showing {
	font-size: 13px;
	color: #888;
}

.listings-pagination {
	display: flex;
	gap: 8px;
}

.listings-pagination-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #555;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

a.listings-pagination-btn:hover {
	color: var(--minimog-color-heading, #1a1a2e);
	border-color: #bbb;
	background: #f5f5f5;
}

.listings-pagination-btn--disabled {
	color: #ccc;
	cursor: not-allowed;
}

/* ==========================================================================
   Listings Page - Empty State
   ========================================================================== */

.listings-empty {
	text-align: center;
	padding: 60px 20px;
}

.listings-empty p {
	font-size: 16px;
	color: #888;
	margin-bottom: 24px;
}

.listings-empty .listings-add-new-btn {
	display: inline-flex;
}

/* ==========================================================================
   Orders Page - Table
   ========================================================================== */

.orders-page {
	width: 100%;
}

.orders-table {
	width: 100%;
	border-collapse: collapse;
}

.orders-table thead th {
	font-size: 13px;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 12px 10px;
	border-bottom: 2px solid #eee;
	text-align: left;
	white-space: nowrap;
}

.orders-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
	transition: opacity 0.3s ease;
}

.orders-table tbody tr:last-child {
	border-bottom: none;
}

.orders-table tbody td {
	padding: 16px 10px;
	vertical-align: middle;
	font-size: 14px;
	color: var(--minimog-color-heading, #1a1a2e);
	border: none;
}

/* Column widths */
.orders-col-id {
	width: 80px;
}

.orders-col-status {
	width: 120px;
}

.orders-col-total {
	width: 90px;
	white-space: nowrap;
}

.orders-col-date {
	width: 110px;
	white-space: nowrap;
}

.orders-col-actions {
	width: 120px;
	text-align: right;
}

.orders-col-actions .listing-item-actions {
	/* justify-content: flex-end; */
	justify-content: center;
  	flex-wrap: wrap;
}

/* Order number */
.order-number {
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
}

/* Product info cell */
.order-product-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.order-product-image {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border-radius: 6px;
	overflow: hidden;
}

.order-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.order-product-details {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.order-product-name {
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.order-seller-name {
	font-size: 12px;
	color: #888;
	background: #f0f0f0;
	padding: 2px 8px;
	border-radius: 4px;
	display: inline-block;
	width: fit-content;
}

/* Order status badge styles */
.order-status--processing,
.listing-status-badge.order-status--processing {
	color: #fff;
	background: #00897b;
}

.order-status--completed,
.listing-status-badge.order-status--completed {
	color: #fff;
	background: #2e7d32;
}

.order-status--on-hold,
.listing-status-badge.order-status--on-hold {
	color: #e65100;
	background: #fff3e0;
}

.order-status--pending,
.listing-status-badge.order-status--pending {
	color: #f57c00;
	background: #fff8e1;
}

.order-status--cancelled,
.listing-status-badge.order-status--cancelled,
.order-status--failed,
.listing-status-badge.order-status--failed {
	color: #c62828;
	background: #ffebee;
}

.order-status--refunded,
.listing-status-badge.order-status--refunded {
	color: #555;
	background: #f5f5f5;
}

.order-status--shipped,
.listing-status-badge.order-status--shipped {
	color: #fff;
	background: #00897b;
}

/* Status select dropdown (sales tab) */
.order-status-select {
	padding: 6px 10px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	background: #fff;
	color: var(--minimog-color-heading, #1a1a2e);
	min-width: 130px;
	transition: border-color 0.2s ease;
}

.order-status-select:focus {
	outline: none;
	border-color: #00897b;
}

/* View action button */
.listing-action-view:hover {
	background: #1565c0;
	border-color: #1565c0;
}

/* Mark shipped action button */
.listing-action-shipped:hover {
	background: #00897b;
	border-color: #00897b;
}

/* Mark complete action button */
.listing-action-complete:hover {
	background: #2e7d32;
	border-color: #2e7d32;
}

/* Purchased column wrap (image + items) */
.order-purchased-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ==========================================================================
   Orders - Sales Tab Specific
   ========================================================================== */

/* Order number link */
.order-number-link {
	font-weight: 600;
	color: var(--minimog-color-primary, #00897b);
	text-decoration: none;
}

.order-number-link:hover {
	text-decoration: underline;
}

/* Customer name under order number */
.order-customer-name {
	display: block;
	font-size: 12px;
	color: #888;
	margin-top: 2px;
}

/* Purchased items list */
.order-purchased-items {
	font-size: 13px;
}

.order-purchased-item {
	margin-bottom: 4px;
	line-height: 1.4;
}

.order-purchased-item .qty {
	display: inline-block;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	min-width: 24px;
}

/* Payment method small text */
.order-payment-method {
	font-size: 12px;
	color: #888;
}

/* Earning status badges */
.earning-status {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 2px 6px;
	border-radius: 3px;
	margin-top: 4px;
}

.earning-status--paid {
	color: #2e7d32;
	background: #e8f5e9;
}

.earning-status--unpaid {
	color: #c62828;
	background: #ffebee;
}

.earning-status--requested {
	color: #e65100;
	background: #fff3e0;
}

.earning-status--cancelled {
	color: #555;
	background: #f5f5f5;
}

/* Sales table column widths */
.orders-table--sales .orders-col-id {
	width: 130px;
}

.orders-table--sales .orders-col-purchased {
	min-width: 120px;
}

.orders-table--sales .orders-col-gross,
.orders-table--sales .orders-col-earning {
	white-space: nowrap;
	min-width: 100px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.orders-table,
	.orders-table thead,
	.orders-table tbody,
	.orders-table th,
	.orders-table td,
	.orders-table tr {
		display: block;
	}

	.orders-table thead {
		display: none;
	}

	.orders-table tbody tr {
		padding: 16px 0;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}

	.orders-table tbody td {
		padding: 4px 0;
	}

	.orders-col-id {
		width: auto;
	}

	.orders-col-title {
		width: 100%;
		order: -1;
	}

	.orders-col-actions {
		width: auto;
		margin-left: auto;
	}

	.orders-col-purchased {
		width: 100%;
	}

	.orders-table--sales .orders-col-id {
		width: 100%;
		order: -1;
	}

	.orders-table--sales .orders-col-gross,
	.orders-table--sales .orders-col-earning {
		min-width: auto;
	}

	.order-status-select {
		min-width: auto;
	}

	.listing-item {
		flex-wrap: wrap;
		gap: 12px;
	}

	.listing-item-image {
		width: 80px;
		height: 80px;
	}

	.listing-item-info {
		flex: 1;
		min-width: calc(100% - 100px);
	}

	.listing-item-status {
		min-width: auto;
	}

	.listing-item-actions {
		width: 100%;
		justify-content: flex-end;
		padding-top: 8px;
		border-top: 1px solid #f5f5f5;
	}

	.listings-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.listings-content {
		padding: 16px;
	}
}

@media (max-width: 480px) {
	.listings-tabs {
		width: 100%;
	}

	.listings-tab {
		flex: 1;
		padding: 8px 12px;
		font-size: 13px;
	}

	.listing-item-image {
		width: 60px;
		height: 60px;
	}

	.listing-item-title {
		font-size: 14px;
	}

	.listing-item-price {
		font-size: 14px;
	}

	.listing-item-meta {
		flex-wrap: wrap;
		gap: 8px;
	}

	.listings-footer {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Navigation Icon - Account Settings
   ========================================================================== */

.woocommerce-MyAccount-navigation-link--account-settings a:before {
	content: '\f013';
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
}

/* ==========================================================================
   Account Settings Page
   ========================================================================== */

.account-settings-page {
	width: 100%;
}

/* Settings Tabs */
.settings-tabs {
	display: flex;
	gap: 0;
	/* border-bottom: 2px solid #f0f0f0; */
	margin-bottom: 30px;
	/* overflow-x: auto; */
}

.settings-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #888;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease;
	border: 1px solid #f0f0f0;
}

.settings-tab:hover {
	color: var(--minimog-color-heading, #1a1a2e);
}

.settings-tab--active {
	/* color: var(--minimog-color-primary, #00897b);
	border-bottom-color: var(--minimog-color-primary, #00897b); */
	color: #fff;
	background: var(--color-blue);
	border-color: var(--color-blue);
}

.settings-tab--active:hover{
	color: #fff !important;
}

.settings-tab:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.settings-tab:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}


.settings-tab i {
	font-size: 15px;
}

/* Settings Content */
.settings-content {
	padding: 0;
}

/* Settings Form */
.settings-form-row {
	margin-bottom: 20px;
}

.settings-form-row--half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.settings-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	margin-bottom: 6px;
}

.settings-field label .required {
	color: #e53935;
}

.settings-field input[type="text"],
.settings-field input[type="tel"],
.settings-field input[type="date"],
.settings-field input[type="password"],
.settings-field select {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	color: var(--minimog-color-heading, #1a1a2e);
	transition: border-color 0.2s ease;
	outline: none;
}

.settings-field input:focus,
.settings-field select:focus {
	border-color: var(--minimog-color-primary, #00897b);
}

.settings-field input:disabled,
.settings-field input[readonly] {
	background: #f8f8f8;
	color: #999;
	cursor: not-allowed;
}

.settings-field-hint {
	display: block;
	font-size: 12px;
	color: #999;
	margin-top: 4px;
}

/* Email display */
.settings-email-display {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.settings-email-value {
	font-size: 14px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.settings-email-change {
	font-size: 13px;
	font-weight: 600;
	color: var(--minimog-color-primary, #00897b);
	text-decoration: none;
	margin-left: auto;
}

.settings-email-change:hover {
	text-decoration: underline;
}

/* Radio group */
.settings-radio-group {
	display: flex;
	gap: 24px;
}

.settings-radio {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.settings-radio input[type="radio"] {
	width: 16px;
	height: 16px;
	accent-color: var(--minimog-color-primary, #00897b);
}

/* Save button */
.settings-form-actions {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f0;
}

.settings-save-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 28px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--minimog-color-primary, #00897b);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.settings-save-btn:hover {
	opacity: 0.9;
}

.settings-save-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Profile Picture Section */
.settings-picture-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	padding: 30px;
	background: #fafafa;
	border-radius: 12px;
	border: 1px solid #f0f0f0;
	transition: opacity 0.3s ease;
}

.settings-picture-preview {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #e0e0e0;
}

.settings-picture-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.settings-picture-info {
	flex: 1;
	text-align: center;
}

.settings-picture-name {
	font-size: 18px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	margin: 0 0 4px;
}

.settings-picture-hint {
	font-size: 13px;
	color: #999;
	margin: 0 0 16px;
}

.settings-picture-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.settings-upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: var(--minimog-color-primary, #00897b);
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.settings-upload-btn:hover {
	opacity: 0.9;
}

.settings-remove-btn {
	padding: 8px 20px;
	font-size: 13px;
	font-weight: 600;
	color: #e53935;
	background: none;
	border: 1px solid #e53935;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	line-height: 1;
}

.settings-remove-btn:hover {
	background: #e53935;
	color: #fff;
}

/* Password & Security Layout */
.settings-security-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: flex-start;
}

.settings-section-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	margin: 0 0 20px;
}

/* Password toggle */
.settings-password-wrap {
	position: relative;
}

.settings-password-wrap input {
	padding-right: 44px;
}

.settings-pw-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	padding: 4px;
	font-size: 14px;
}

.settings-pw-toggle:hover {
	color: var(--minimog-color-heading, #1a1a2e);
}

/* Security info sidebar */
.settings-security-sidebar {
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 24px;
}

.settings-security-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.security-info-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
}

.security-info-item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.security-info-label {
	font-size: 12px;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.security-info-value {
	font-size: 14px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.security-verified {
	color: #2e7d32;
}

.security-verified i {
	margin-right: 4px;
}

.security-unverified {
	color: #e53935;
}

.security-unverified i {
	margin-right: 4px;
}

/* Notice */
.settings-notice {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	padding: 14px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.settings-notice--success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}

.settings-notice--error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ffcdd2;
}

/* ==========================================================================
   Account Settings - Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.settings-tabs {
		gap: 0;
	}

	.settings-tab {
		padding: 10px 14px;
		font-size: 13px;
	}

	.settings-tab i {
		display: none;
	}

	.settings-form-row--half {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.settings-picture-section {
		flex-direction: column;
		text-align: center;
		padding: 24px 20px;
	}

	.settings-picture-actions {
		justify-content: center;
	}

	.settings-security-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

@media (max-width: 480px) {
	.settings-tab {
		padding: 8px 10px;
		font-size: 12px;
	}

	.settings-picture-preview {
		width: 90px;
		height: 90px;
	}
}

/* ==========================================================================
   Dashboard
   ========================================================================== */

.dashboard-page {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Welcome */
.dashboard-welcome {
	margin-bottom: 4px;
}

.dashboard-welcome-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--minimog-color-heading, #1a1a2e);
	margin: 0 0 6px;
}

.dashboard-welcome-subtitle {
	font-size: 14px;
	color: #888;
	margin: 0;
}

/* Overview Cards */
.dashboard-overview {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.dashboard-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 20px;
	text-decoration: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-card:hover {
	border-color: var(--minimog-color-primary, #00897b);
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.dashboard-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.dashboard-card-icon--listings {
	background: #e8f5e9;
	color: #2e7d32;
}

.dashboard-card-icon--orders {
	background: #e3f2fd;
	color: #1565c0;
}

.dashboard-card-icon--income {
	background: #fff3e0;
	color: #e65100;
}

.dashboard-card-icon--favorites {
	background: #fce4ec;
	color: #c62828;
}

.dashboard-card-data {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dashboard-card-count {
	font-size: 22px;
	font-weight: 700;
	color: var(--minimog-color-heading, #1a1a2e);
	line-height: 1.2;
}

.dashboard-card-label {
	font-size: 13px;
	color: #888;
	white-space: nowrap;
}

/* Two-column layout */
.dashboard-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.dashboard-col-left {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dashboard-col-right {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Orders section stretches to fill the right column */
.dashboard-section--orders {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.dashboard-section--orders .dashboard-orders-list {
	flex: 1;
}

/* Section */
.dashboard-section {
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 24px;
}

.dashboard-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.dashboard-section-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	margin: 0;
}

.dashboard-view-all {
	font-size: 13px;
	font-weight: 600;
	color: var(--minimog-color-primary, #00897b);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.2s ease;
}

.dashboard-view-all:hover {
	opacity: 0.8;
}

/* Listings List */
.dashboard-listings-list {
	display: flex;
	flex-direction: column;
}

.dashboard-listing-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #f5f5f5;
}

.dashboard-listing-row:last-child {
	border-bottom: none;
}

.dashboard-listing-thumb {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.dashboard-listing-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dashboard-listing-info {
	flex: 1;
	min-width: 0;
}

.dashboard-listing-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 3px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dashboard-listing-title a {
	color: var(--minimog-color-heading, #1a1a2e);
	text-decoration: none;
}

.dashboard-listing-title a:hover {
	color: var(--minimog-color-primary, #00897b);
}

.dashboard-listing-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: #999;
}

.dashboard-listing-meta i {
	margin-right: 2px;
}

.dashboard-listing-price {
	font-weight: 700;
	color: var(--minimog-color-heading, #1a1a2e);
}

.dashboard-listing-favs i {
	color: #e53935;
	font-size: 11px;
}

.dashboard-listing-time {
	font-size: 12px;
	color: #999;
	white-space: nowrap;
	flex-shrink: 0;
}

.dashboard-listing-time i {
	margin-right: 3px;
}

/* Orders List */
.dashboard-orders-list {
	display: flex;
	flex-direction: column;
}

.dashboard-order-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f5f5f5;
}

.dashboard-order-row:last-child {
	border-bottom: none;
}

.dashboard-order-thumb {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.dashboard-order-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dashboard-order-info {
	flex: 1;
	min-width: 0;
}

.dashboard-order-number {
	font-size: 13px;
	font-weight: 600;
}

.dashboard-order-number a {
	color: var(--minimog-color-heading, #1a1a2e);
	text-decoration: none;
}

.dashboard-order-number a:hover {
	color: var(--minimog-color-primary, #00897b);
}

.dashboard-order-buyer {
	font-size: 12px;
	color: #888;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dashboard-order-earning {
	font-size: 13px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	white-space: nowrap;
}

.dashboard-order-status .order-status-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 600;
	text-transform: capitalize;
	white-space: nowrap;
}

.order-status-badge--processing {
	background: #e3f2fd;
	color: #1565c0;
}

.order-status-badge--completed {
	background: #e8f5e9;
	color: #2e7d32;
}

.order-status-badge--on-hold {
	background: #fff3e0;
	color: #e65100;
}

.order-status-badge--pending {
	background: #fce4ec;
	color: #c62828;
}

.order-status-badge--shipped {
	background: #e0f7fa;
	color: #00695c;
}

.order-status-badge--cancelled,
.order-status-badge--refunded,
.order-status-badge--failed {
	background: #f5f5f5;
	color: #757575;
}

/* Recommendations List */
.dashboard-recommendations-list {
	display: flex;
	flex-direction: column;
}

.dashboard-recommendation-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #f5f5f5;
}

.dashboard-recommendation-row:last-child {
	border-bottom: none;
}

.dashboard-recommendation-thumb {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.dashboard-recommendation-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dashboard-recommendation-info {
	flex: 1;
	min-width: 0;
}

.dashboard-recommendation-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 3px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dashboard-recommendation-title a {
	color: var(--minimog-color-heading, #1a1a2e);
	text-decoration: none;
}

.dashboard-recommendation-title a:hover {
	color: var(--minimog-color-primary, #00897b);
}

.dashboard-recommendation-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: #999;
}

.dashboard-recommendation-meta i {
	margin-right: 2px;
}

.dashboard-recommendation-price {
	font-weight: 700;
	color: var(--minimog-color-heading, #1a1a2e);
}

.dashboard-recommendation-seller i,
.dashboard-recommendation-location i {
	margin-right: 3px;
}

.dashboard-recommendation-location {
	font-size: 12px;
	color: #999;
	white-space: nowrap;
	flex-shrink: 0;
}

.dashboard-recommendation-location i {
	margin-right: 3px;
}

/* Empty State */
.dashboard-empty {
	text-align: center;
	padding: 30px 20px;
	color: #999;
}

.dashboard-empty p {
	margin: 0 0 14px;
	font-size: 14px;
}

.dashboard-empty-btn {
	display: inline-block;
	padding: 8px 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: var(--minimog-color-primary, #00897b);
	border-radius: 8px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.dashboard-empty-btn:hover {
	opacity: 0.9;
	color: #fff;
}

/* ==========================================================================
   Dashboard - Responsive
   ========================================================================== */

@media (max-width: 992px) {
	.dashboard-columns {
		grid-template-columns: 1fr;
	}

	.dashboard-section--orders {
		height: auto;
	}
}

@media (max-width: 768px) {
	.dashboard-overview {
		grid-template-columns: repeat(2, 1fr);
	}

	.dashboard-order-earning {
		display: none;
	}

	.dashboard-listing-time {
		display: none;
	}

	.dashboard-recommendation-location {
		display: none;
	}
}

@media (max-width: 480px) {
	.dashboard-overview {
		grid-template-columns: 1fr;
	}

	.dashboard-card {
		padding: 16px;
	}

	.dashboard-section {
		padding: 18px;
	}

	.dashboard-order-status {
		display: none;
	}
}

/* ==========================================================================
   Order Detail Page (Purchases & Sales)
   ========================================================================== */

.order-detail-page {
	width: 100%;
}

/* Back link */
.order-detail-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	text-decoration: none;
	margin-bottom: 20px;
	transition: color 0.2s;
}

.order-detail-back:hover {
	color: var(--minimog-color-heading, #1a1a2e);
}

/* Header */
.order-detail-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.order-detail-thumb {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #eee;
}

.order-detail-thumb img,
.order-detail-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.order-detail-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.order-detail-date {
	font-size: 14px;
	color: #888;
	margin: 0;
}

/* Card grid */
.order-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.order-detail-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 24px;
}

.order-detail-card--full {
	grid-column: 1 / -1;
}

.order-detail-card__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 18px;
	color: var(--minimog-color-heading, #1a1a2e);
}

/* ──── Status Timeline ──── */

.order-status-timeline {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.timeline-step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	position: relative;
	padding-bottom: 20px;
}

.timeline-step:last-child {
	padding-bottom: 0;
}

.timeline-dot {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #d4d4d4;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.timeline-step--completed .timeline-dot {
	background: #22c55e;
}

.timeline-step--error .timeline-dot {
	background: #ef4444;
}

.timeline-line {
	position: absolute;
	left: 12px;
	top: 26px;
	bottom: -1px;
	width: 2px;
	background: #d4d4d4;
	z-index: 1;
}

.timeline-line--completed {
	background: #22c55e;
}

.timeline-content {
	display: flex;
	flex-direction: column;
	padding-top: 3px;
}

.timeline-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
}

.timeline-date {
	font-size: 13px;
	color: #888;
	margin-top: 2px;
}

/* Compact timeline variant (for shipping status card) */
.order-status-timeline--compact .timeline-dot {
	width: 20px;
	height: 20px;
}

.order-status-timeline--compact .timeline-line {
	left: 9px;
	top: 20px;
}

.order-status-timeline--compact .timeline-step {
	gap: 10px;
	padding-bottom: 14px;
}

.order-status-timeline--compact .timeline-label {
	font-size: 13px;
}

.order-status-timeline--compact .timeline-date {
	font-size: 12px;
}

/* ──── Detail Rows ──── */

.order-detail-row {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.order-detail-row:last-child {
	margin-bottom: 0;
}

.order-detail-row__label {
	color: #666;
	flex-shrink: 0;
}

.order-detail-row__value {
	color: var(--minimog-color-heading, #1a1a2e);
	word-break: break-word;
}

.order-detail-row__value--bold {
	font-weight: 700;
}

/* Row with status check icon */
.order-detail-row--status {
	align-items: flex-start;
}

.order-status-check {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.order-status-check--success {
	background: #22c55e;
}

.order-status-check--success::after {
	content: '';
	width: 8px;
	height: 5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
	margin-top: -2px;
}

/* Highlight row */
.order-detail-row--highlight {
	background: #f0fdf4;
	border-radius: 8px;
	padding: 10px 12px;
	margin-top: 8px;
}

/* Divider */
.order-detail-divider {
	height: 1px;
	background: #eee;
	margin: 14px 0;
}

/* Badges */
.order-detail-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.order-detail-badge--green {
	background: #dcfce7;
	color: #15803d;
}

/* Payout badges */
.order-payout-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.order-payout-badge--processing {
	background: #fef3c7;
	color: #92400e;
}

.order-payout-badge--paid {
	background: #dcfce7;
	color: #15803d;
}

.order-payout-badge--requested {
	background: #dbeafe;
	color: #1e40af;
}

/* Tracking */
.order-tracking-item {
	margin-bottom: 16px;
}

.order-tracking-item:last-child {
	margin-bottom: 0;
}

.order-tracking-code {
	font-family: monospace;
	font-weight: 600;
}

.order-tracking-code-large {
	font-family: monospace;
	font-size: 16px;
	font-weight: 700;
	color: var(--minimog-color-heading, #1a1a2e);
	margin-bottom: 14px;
	display: block;
}

.order-tracking-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
	margin-top: 8px;
}

.order-tracking-link:hover {
	text-decoration: underline;
}

/* Buttons */
.order-detail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	margin-top: 14px;
	border: none;
	cursor: pointer;
}

.order-detail-btn--shipping-label {
	background: linear-gradient(135deg, #ec4899, #a855f7);
	color: #fff;
	width: 100%;
	text-align: center;
}

.order-detail-btn--shipping-label:hover {
	opacity: 0.9;
	color: #fff;
}

/* Empty state text */
.order-detail-empty {
	font-size: 14px;
	color: #999;
	margin: 0;
}

/* ──── Order Items Table ──── */

.order-detail-items-table {
	width: 100%;
	border-collapse: collapse;
}

.order-detail-items-table thead th {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #888;
	padding: 0 12px 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.order-detail-items-table tbody td {
	padding: 14px 12px;
	border-bottom: 1px solid #f5f5f5;
	font-size: 14px;
	vertical-align: middle;
}

.order-detail-items-table tbody tr:last-child td {
	border-bottom: 1px solid #eee;
}

.order-detail-items-table tfoot td {
	padding: 10px 12px;
	font-size: 14px;
}

.odi-col-qty,
.odi-col-total {
	text-align: right;
	white-space: nowrap;
}

.order-detail-items-table thead .odi-col-qty,
.order-detail-items-table thead .odi-col-total {
	text-align: right;
}

.odi-total-label {
	text-align: right;
	color: #666;
}

.odi-total-value {
	text-align: right;
	font-weight: 600;
}

.odi-product-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.odi-product-thumb {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #eee;
}

.odi-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.odi-product-name {
	font-weight: 500;
	color: var(--minimog-color-heading, #1a1a2e);
}

/* ──── Footer / Report ──── */

.order-detail-footer {
	margin-top: 24px;
	padding-top: 16px;
}

.order-detail-report summary {
	font-size: 14px;
	color: #888;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.order-detail-report summary:hover {
	color: #666;
}

.order-detail-report-text {
	font-size: 13px;
	color: #888;
	margin-top: 8px;
	line-height: 1.6;
}

.order-detail-report-text a {
	color: #2563eb;
}

/* ──── Responsive ──── */

@media (max-width: 768px) {
	.order-detail-grid {
		grid-template-columns: 1fr;
	}

	.order-detail-header {
		gap: 12px;
	}

	.order-detail-title {
		font-size: 20px;
	}

	.order-detail-card {
		padding: 18px;
	}

	.order-detail-items-table thead {
		display: none;
	}

	.order-detail-items-table tbody td {
		display: block;
		text-align: left;
		padding: 6px 12px;
		border-bottom: none;
	}

	.order-detail-items-table tbody td.odi-col-product {
		padding-top: 14px;
	}

	.order-detail-items-table tbody td.odi-col-total {
		padding-bottom: 14px;
		border-bottom: 1px solid #f5f5f5;
		text-align: left;
		font-weight: 600;
	}

	.order-detail-items-table tbody td.odi-col-qty {
		text-align: left;
	}

	.order-detail-items-table tfoot td {
		display: table-cell;
	}
}

/* ==========================================================================
   Order Detail - Customer Note
   ========================================================================== */

.order-detail-card--full-row {
	margin-bottom: 20px;
}

.order-detail-customer-note {
	background: #f8f9fa;
	border-left: 4px solid #00897b;
	border-radius: 0 8px 8px 0;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.7;
	color: #444;
	font-style: italic;
}

/* ==========================================================================
   Order Detail - Customer Details / Address
   ========================================================================== */

.order-detail-customer-address {
	font-size: 14px;
	line-height: 1.7;
	color: var(--minimog-color-heading, #1a1a2e);
}

/* ==========================================================================
   Order Detail - Status Update (Vendor)
   ========================================================================== */

.order-status-update {
	margin-top: 6px;
}

.order-status-update__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #666;
	margin-bottom: 8px;
}

.order-status-update__controls {
	display: flex;
	gap: 8px;
	align-items: center;
}

.order-status-update__controls .order-status-select {
	flex: 1;
}

.order-detail-btn--update {
	padding: 8px 20px;
	background: #00897b;
	color: #fff;
	margin-top: 0;
	font-size: 13px;
	white-space: nowrap;
}

.order-detail-btn--update:hover {
	background: #00796b;
	color: #fff;
}

.order-detail-btn--update:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* ==========================================================================
   Order Detail - Support Button (Buyer)
   ========================================================================== */

.order-detail-btn--support {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: #00897b;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.order-detail-btn--support:hover {
	background: #00796b;
	color: #fff;
}

.order-detail-btn--support i {
	font-size: 16px;
}

/* ==========================================================================
   Support Ticket Modal
   ========================================================================== */

.support-ticket-modal .modal-content {
	max-width: 520px;
}

.support-ticket-modal .modal-content-header {
	margin-bottom: 20px;
}

.support-ticket-modal .modal-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--minimog-color-heading, #1a1a2e);
}

.support-ticket-modal .modal-subtitle {
	font-size: 14px;
	color: #888;
	margin: 0;
}

.support-ticket-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.support-ticket-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--minimog-color-heading, #1a1a2e);
	margin-bottom: 6px;
}

.support-ticket-field label .required {
	color: #e53935;
}

.support-ticket-field select,
.support-ticket-field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	color: var(--minimog-color-heading, #1a1a2e);
	background: #fff;
	transition: border-color 0.2s;
}

.support-ticket-field select:focus,
.support-ticket-field textarea:focus {
	outline: none;
	border-color: #00897b;
}

.support-ticket-field textarea {
	resize: vertical;
	min-height: 100px;
}

.support-ticket-actions {
	margin-top: 4px;
}

.order-detail-btn--submit {
	width: 100%;
	padding: 14px 24px;
	background: #00897b;
	color: #fff;
	margin-top: 0;
}

.order-detail-btn--submit:hover {
	background: #00796b;
	color: #fff;
}

.order-detail-btn--submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Message */
.support-ticket-message {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	margin-top: 12px;
	text-align: center;
}

.support-ticket-message--success {
	background: #dcfce7;
	color: #15803d;
}

.support-ticket-message--error {
	background: #fee2e2;
	color: #dc2626;
}

/* ==========================================================================
   Support Ticket - Image Upload
   ========================================================================== */

.support-ticket-upload {
	position: relative;
}

.support-ticket-upload input[type="file"] {
	width: 100%;
	padding: 10px 14px;
	border: 2px dashed #d0d0d0;
	border-radius: 8px;
	font-size: 13px;
	background: #fafafa;
	cursor: pointer;
	transition: border-color 0.2s;
}

.support-ticket-upload input[type="file"]:hover {
	border-color: #00897b;
}

.support-ticket-upload-hint {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #999;
}

.support-ticket-image-preview {
	position: relative;
	display: inline-block;
	margin-top: 10px;
}

.support-ticket-image-preview img {
	max-width: 100%;
	max-height: 160px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	display: block;
}

.support-ticket-image-remove {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 24px;
	height: 24px;
	background: #e53935;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 50%;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}

/* ==========================================================================
   Support Tickets List (Buyer Order Detail Page)
   ========================================================================== */

.support-tickets-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.support-ticket-item {
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 16px;
	background: #fafafa;
	transition: border-color 0.2s;
}

.support-ticket-item:hover {
	border-color: #ccc;
}

.support-ticket-item__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.support-ticket-item__id {
	font-weight: 700;
	font-size: 14px;
	color: #333;
}

.support-ticket-item__status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
}

.support-ticket-status--open {
	background: #e3f2fd;
	color: #1565c0;
}

.support-ticket-status--in_progress {
	background: #fff3e0;
	color: #e65100;
}

.support-ticket-status--resolved {
	background: #e8f5e9;
	color: #2e7d32;
}

.support-ticket-status--closed {
	background: #f5f5f5;
	color: #757575;
}

.support-ticket-item__meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
}

.support-ticket-item__meta span {
	display: inline-flex;
	align-items: center;
}

.support-ticket-priority--low {
	color: #4caf50;
}

.support-ticket-priority--medium {
	color: #ff9800;
}

.support-ticket-priority--high {
	color: #f44336;
}

.support-ticket-priority--urgent {
	color: #d32f2f;
	font-weight: 700;
}

.support-ticket-item__content {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.support-ticket-item__body {
	flex: 1;
	min-width: 0;
}

.support-ticket-item__description {
	margin-bottom: 10px;
}

.support-ticket-item__description strong {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.support-ticket-item__description p {
	margin: 0;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}

.support-ticket-item__thumb {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	position: relative;
	cursor: pointer;
}

.support-ticket-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s;
}

.support-ticket-item__thumb:hover img {
	transform: scale(1.05);
}

.support-ticket-item__thumb-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 16px;
	opacity: 0;
	transition: opacity 0.2s;
}

.support-ticket-item__thumb:hover .support-ticket-item__thumb-zoom {
	opacity: 1;
}

/* Lightbox overlay */
.support-ticket-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.8);
	opacity: 0;
	transition: opacity 0.25s;
	cursor: zoom-out;
}

.support-ticket-lightbox.is-active {
	opacity: 1;
}

.support-ticket-lightbox img {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 8px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.support-ticket-lightbox__close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 20px;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
	border: none;
	transition: background 0.2s;
}

.support-ticket-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.support-ticket-item__remarks {
	margin-top: 10px;
	padding: 12px 14px;
	background: #e8f5e9;
	border-radius: 8px;
	border-left: 3px solid #4caf50;
	font-size: 13px;
}

.support-ticket-item__remarks strong {
	display: block;
	margin-bottom: 4px;
	color: #2e7d32;
	font-size: 12px;
}

.support-ticket-item__remarks p {
	margin: 0;
	color: #333;
	line-height: 1.5;
}

.support-ticket-item__updated {
	margin-top: 8px;
	font-size: 12px;
	color: #999;
	font-style: italic;
}

.order-detail-btn--disabled {
	opacity: 0.6;
	cursor: not-allowed !important;
	pointer-events: none;
}

.support-ticket-footer-note {
	margin-top: 8px;
	font-size: 13px;
	color: #888;
	text-align: center;
}

/* ============================================================
   Direct Purchase - Order Request Flow
   ============================================================ */

/* Confirm/Deny action buttons in sales table */
.listing-action-confirm-dp {
	color: #059669 !important;
}
.listing-action-confirm-dp:hover {
	background: #ecfdf5 !important;
}
.listing-action-deny-dp {
	color: #dc2626 !important;
}
.listing-action-deny-dp:hover {
	background: #fef2f2 !important;
}

/* Awaiting Confirmation status badge */
.order-status--awaiting-confirmation {
	background: #fef3c7 !important;
	color: #92400e !important;
}

/* Deny reason modal overlay */
.dp-deny-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dp-deny-modal {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	max-width: 480px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dp-deny-modal h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
}
.dp-deny-modal > p {
	margin: 0 0 16px;
	color: #666;
	font-size: 14px;
}
.dp-deny-reasons {
	margin-bottom: 8px;
}
.dp-deny-reasons label {
	display: block;
	padding: 10px 12px;
	cursor: pointer;
	border-radius: 6px;
	font-size: 14px;
	transition: background 0.15s;
}
.dp-deny-reasons label:hover {
	background: #f9fafb;
}
.dp-deny-reasons input[type="radio"] {
	margin-right: 8px;
}
#dp-deny-reason-text {
	width: 100%;
	min-height: 80px;
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
}
.dp-deny-actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.dp-deny-cancel {
	flex: 1;
	padding: 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.15s;
}
.dp-deny-cancel:hover {
	background: #f9fafb;
}
.dp-deny-submit {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 8px;
	background: #dc2626;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.15s;
}
.dp-deny-submit:hover {
	background: #b91c1c;
}
.dp-deny-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Confirmation banner on view-sale page */
.dp-confirmation-banner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	background: #fffbeb;
	border: 1px solid #fbbf24;
	border-radius: 12px;
	margin-bottom: 24px;
}
.dp-confirmation-banner__icon {
	font-size: 28px;
	color: #f59e0b;
	flex-shrink: 0;
}
.dp-confirmation-banner__content {
	flex: 1;
}
.dp-confirmation-banner__content h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: #92400e;
}
.dp-confirmation-banner__content p {
	margin: 0;
	font-size: 14px;
	color: #78350f;
	line-height: 1.5;
}
.dp-confirmation-banner__actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.dp-confirm-btn {
	padding: 10px 24px;
	background: #059669;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s;
}
.dp-confirm-btn:hover {
	background: #047857;
}
.dp-confirm-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.dp-deny-btn {
	padding: 10px 24px;
	background: #fff;
	color: #dc2626;
	border: 2px solid #dc2626;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.15s;
}
.dp-deny-btn:hover {
	background: #fef2f2;
}

/* Thank you page - order request notice */
.woocommerce-thankyou-order-request {
	background: #eff6ff;
	border: 1px solid #93c5fd;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 24px;
}
.woocommerce-thankyou-order-request h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: #1e40af;
}
.woocommerce-thankyou-order-request p {
	margin: 0 0 6px;
	color: #1e3a5f;
	font-size: 14px;
	line-height: 1.5;
}
.woocommerce-thankyou-order-request p:last-child {
	margin-bottom: 0;
}

/* Chat - direct purchase message bubbles */
.wcmo-chat__msg--dp .wcmo-chat__dp-bubble {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
}
.wcmo-dp-icon {
	display: inline-flex;
	vertical-align: middle;
	margin-right: 4px;
}
.wcmo-dp-badge--pending {
	background: #fffbeb !important;
	border: 1px solid #fbbf24;
	color: #92400e !important;
}
.wcmo-dp-badge--confirmed {
	background: #ecfdf5 !important;
	border: 1px solid #34d399;
	color: #065f46 !important;
}
.wcmo-dp-badge--denied,
.wcmo-dp-badge--cancelled {
	background: #fef2f2 !important;
	border: 1px solid #f87171;
	color: #991b1b !important;
}
.wcmo-dp-action-link {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 16px;
	background: #FF2d95;
	color: #fff !important;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: background 0.15s;
}
.wcmo-dp-action-link:hover {
	background: #e0267f;
}

/* Responsive adjustments for confirmation banner */
@media (max-width: 768px) {
	.dp-confirmation-banner {
		flex-direction: column;
		text-align: center;
	}
	.dp-confirmation-banner__actions {
		width: 100%;
	}
	.dp-confirm-btn,
	.dp-deny-btn {
		flex: 1;
	}
}
