/**
 * Luxxri 3PL — My Account customer UI
 * Brand: black + orange (#ff7701)
 */

:root {
	--luxxri-orange: #ff7701;
	--luxxri-orange-dark: #e56800;
	--luxxri-orange-soft: #fff4eb;
	--luxxri-black: #111111;
	--luxxri-ink: #1a1a1a;
	--luxxri-muted: #6b6b6b;
	--luxxri-line: #e8e8e8;
	--luxxri-surface: #f6f6f6;
	--luxxri-radius: 10px;
	--luxxri-radius-sm: 6px;
}

/* -------------------------------------------------------------------------
   My Account navigation — tag / pill style (orange + black)
   ------------------------------------------------------------------------- */

body.woocommerce-account .woocommerce-MyAccount-navigation {
	margin: 0 0 1.75rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li::before,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li::marker {
	display: none !important;
	content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--luxxri-black);
	background: #fff;
	color: var(--luxxri-black) !important;
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: 0.01em;
	line-height: 1.25;
	text-decoration: none !important;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: var(--luxxri-black);
	color: #fff !important;
	border-color: var(--luxxri-black);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"] {
	background: var(--luxxri-orange);
	border-color: var(--luxxri-orange);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(255, 119, 1, 0.28);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"]:hover {
	background: var(--luxxri-orange-dark);
	border-color: var(--luxxri-orange-dark);
	color: #fff !important;
}

/* Highlight 3PL / fulfillment links with a subtle left accent when not active */
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-access a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-warehouse a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-packaging a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-fulfill a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-receiving a {
	border-color: var(--luxxri-black);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-access.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-warehouse.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-packaging.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-fulfill.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--3pl-receiving.is-active a {
	background: var(--luxxri-orange);
	border-color: var(--luxxri-orange);
}

/* Content column */
body.woocommerce-account .woocommerce-MyAccount-content {
	background: transparent;
}

@media (min-width: 769px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 240px;
	}
}

/* -------------------------------------------------------------------------
   DSHIP content panels
   ------------------------------------------------------------------------- */

.luxxri-dship-box {
	background: #fff;
	border: 1px solid var(--luxxri-line);
	border-radius: var(--luxxri-radius);
	padding: 28px 28px 24px;
	margin: 0 0 1.5rem;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
	position: relative;
	overflow: hidden;
}

.luxxri-dship-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--luxxri-black) 0%, var(--luxxri-orange) 100%);
}

.luxxri-dship-box > h3:first-child,
.luxxri-dship-box .luxxri-dship-title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--luxxri-black);
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.luxxri-dship-box > p,
.luxxri-dship-box .description,
.luxxri-dship-lead {
	color: var(--luxxri-muted);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 1.15rem;
}

.luxxri-dship-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--luxxri-orange-soft);
	color: var(--luxxri-orange-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Empty state */
.luxxri-dship-empty {
	margin-top: 8px;
	padding: 28px 22px;
	border: 1.5px dashed #dcdcdc;
	border-radius: var(--luxxri-radius);
	background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
	text-align: center;
}

.luxxri-dship-empty p {
	margin: 0;
	color: var(--luxxri-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.luxxri-dship-empty-actions {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

/* Status / type tags */
.luxxri-dship-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
	white-space: nowrap;
}

.luxxri-dship-tag--black {
	background: var(--luxxri-black);
	color: #fff;
}

.luxxri-dship-tag--orange {
	background: var(--luxxri-orange);
	color: #fff;
}

.luxxri-dship-tag--soft {
	background: var(--luxxri-orange-soft);
	color: var(--luxxri-orange-dark);
	border: 1px solid rgba(255, 119, 1, 0.25);
}

.luxxri-dship-tag--muted {
	background: var(--luxxri-surface);
	color: var(--luxxri-ink);
	border: 1px solid var(--luxxri-line);
}

/* Tables */
.luxxri-dship-table,
.luxxri-dship-box table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--luxxri-line);
	border-radius: var(--luxxri-radius-sm);
}

.luxxri-dship-table thead th,
.luxxri-dship-box table.shop_table thead th {
	background: var(--luxxri-black);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 12px 14px;
	border: none;
	text-align: left;
}

.luxxri-dship-table tbody td,
.luxxri-dship-box table.shop_table tbody td {
	padding: 14px;
	border-bottom: 1px solid var(--luxxri-line);
	vertical-align: middle;
	font-size: 0.92rem;
	color: var(--luxxri-ink);
	background: #fff;
}

.luxxri-dship-table tbody tr:last-child td,
.luxxri-dship-box table.shop_table tbody tr:last-child td {
	border-bottom: none;
}

.luxxri-dship-table tbody tr:hover td,
.luxxri-dship-box table.shop_table tbody tr:hover td {
	background: var(--luxxri-orange-soft);
}

.luxxri-dship-table code,
.luxxri-dship-box code {
	background: var(--luxxri-surface);
	border: 1px solid var(--luxxri-line);
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 12px;
	color: var(--luxxri-black);
}

/* Forms */
.luxxri-dship-box form p {
	margin: 0 0 14px;
}

.luxxri-dship-box label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--luxxri-black);
	margin-bottom: 6px;
}

.luxxri-dship-box .input-text,
.luxxri-dship-box input[type="text"],
.luxxri-dship-box input[type="number"],
.luxxri-dship-box input[type="tel"],
.luxxri-dship-box input[type="email"],
.luxxri-dship-box textarea,
.luxxri-dship-box select {
	width: 100%;
	max-width: 480px;
	box-sizing: border-box;
	border: 1.5px solid #d8d8d8;
	border-radius: var(--luxxri-radius-sm);
	padding: 10px 12px;
	font-size: 14px;
	color: var(--luxxri-ink);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.luxxri-dship-box .input-text:focus,
.luxxri-dship-box input:focus,
.luxxri-dship-box textarea:focus,
.luxxri-dship-box select:focus {
	outline: none;
	border-color: var(--luxxri-orange);
	box-shadow: 0 0 0 3px rgba(255, 119, 1, 0.18);
}

.luxxri-dship-dims {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.luxxri-dship-dims input {
	width: 88px !important;
	max-width: 88px !important;
}

/* Buttons */
.luxxri-dship-box .button,
.luxxri-dship-box button[type="submit"],
.luxxri-dship-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 11px 20px !important;
	border-radius: 999px !important;
	border: 1.5px solid var(--luxxri-orange) !important;
	background: var(--luxxri-orange) !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 13.5px !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
	line-height: 1.2 !important;
}

.luxxri-dship-box .button:hover,
.luxxri-dship-box button[type="submit"]:hover,
.luxxri-dship-btn:hover {
	background: var(--luxxri-orange-dark) !important;
	border-color: var(--luxxri-orange-dark) !important;
	color: #fff !important;
}

.luxxri-dship-btn--ghost,
.luxxri-dship-box .button.luxxri-dship-btn--ghost {
	background: #fff !important;
	color: var(--luxxri-black) !important;
	border-color: var(--luxxri-black) !important;
}

.luxxri-dship-btn--ghost:hover,
.luxxri-dship-box .button.luxxri-dship-btn--ghost:hover {
	background: var(--luxxri-black) !important;
	color: #fff !important;
}

/* Address card */
.luxxri-dship-address {
	background: var(--luxxri-black);
	color: #fff;
	padding: 18px 20px;
	border-radius: var(--luxxri-radius-sm);
	white-space: pre-wrap;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.55;
	margin: 0 0 16px;
	border-left: 4px solid var(--luxxri-orange);
}

.luxxri-dship-client-id {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--luxxri-radius-sm);
	background: var(--luxxri-orange-soft);
	border: 1px solid rgba(255, 119, 1, 0.3);
	font-weight: 700;
	color: var(--luxxri-black);
}

.luxxri-dship-client-id span {
	color: var(--luxxri-orange-dark);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Rate options */
.luxxri-dship-rate {
	display: block;
	padding: 14px 16px;
	margin: 0 0 10px;
	border: 1.5px solid var(--luxxri-line);
	border-radius: var(--luxxri-radius-sm);
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.luxxri-dship-rate:hover,
.luxxri-dship-rate:has(input:checked) {
	border-color: var(--luxxri-orange);
	background: var(--luxxri-orange-soft);
}

.luxxri-dship-rate input {
	margin-right: 8px;
}

/* Checkout warehouse option */
.luxxri-dship-warehouse-opt {
	padding: 14px 16px;
	border: 1.5px solid var(--luxxri-line);
	border-radius: var(--luxxri-radius-sm);
	background: var(--luxxri-orange-soft);
	margin: 12px 0;
}

.luxxri-dship-warehouse-opt label {
	font-weight: 700;
	color: var(--luxxri-black);
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: wrap;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation a {
		width: auto;
		padding: 9px 14px;
		font-size: 12.5px;
	}

	.luxxri-dship-box {
		padding: 20px 16px 18px;
	}

	.luxxri-dship-table,
	.luxxri-dship-box table.shop_table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
