/**
 * Ardent Dollars Frontend Styles
 * Sea Cadet Kit Shop Virtual Currency
 */

/* Wallet & Balance Banner */
.ardent-balance-banner {
	margin: 0 0 25px 0;
	padding: 18px 22px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: all 0.2s ease-in-out;
}

.ardent-banner-sufficient {
	background-color: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 6px solid #16a34a;
}

.ardent-banner-shortfall {
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 6px solid #dc2626;
}

.ardent-banner-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ardent-banner-icon .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
}

.ardent-banner-sufficient .dashicons {
	color: #16a34a;
}

.ardent-banner-shortfall .dashicons {
	color: #dc2626;
}

.ardent-banner-title {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #4b5563;
	display: block;
	margin-bottom: 4px;
}

.ardent-banner-figures {
	font-size: 1.05rem;
	color: #1f2937;
}

.ardent-separator {
	margin: 0 10px;
	color: #9ca3af;
}

.ardent-banner-shortfall-text {
	margin: 6px 0 0 0;
	font-size: 0.95rem;
	color: #b91c1c;
}

/* Single Product Badge & Status */
.ardent-product-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0c2340;
	color: #ffffff;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.ardent-product-badge .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #eaaa00;
}

.ardent-product-user-status {
	margin: 10px 0 16px 0;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.92rem;
}

.ardent-product-user-status.affordable {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.ardent-product-user-status.shortfall {
	background: #fff1f2;
	color: #9f1239;
	border: 1px solid #fecdd3;
}

.ardent-product-user-status.guest {
	background: #f3f4f6;
	color: #374151;
	border: 1px solid #e5e7eb;
}

/* Checkout Box */
.ardent-checkout-box {
	background: #f8fafc;
	padding: 18px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	margin-top: 10px;
}

/* Blocks Checkout Integration */
.ardent-block-label {
	font-weight: 600;
	color: #0c2340;
}

.ardent-block-content {
	padding: 12px 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin-top: 8px;
}

.ardent-block-desc {
	margin: 0 0 8px 0;
	color: #475569;
	font-size: 0.95rem;
}

.ardent-block-balance-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
}

.ardent-block-balance-badge .ardent-val {
	color: #15803d;
	font-weight: 700;
}

.ardent-unit-pickup-notice {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.9rem;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ==========================================================================
   Sea Cadet Unit Pick-Up: Hide Physical Address in Checkout Block
   ========================================================================== */
.wc-block-checkout__billing-address .wc-block-components-address-form__country,
.wc-block-checkout__billing-address .wc-block-components-address-form__address_1,
.wc-block-checkout__billing-address .wc-block-components-address-form__address_2,
.wc-block-checkout__billing-address .wc-block-components-address-form__city,
.wc-block-checkout__billing-address .wc-block-components-address-form__state,
.wc-block-checkout__billing-address .wc-block-components-address-form__postcode,
.wc-block-checkout__billing-address .wc-block-components-address-form__phone,
.wc-block-checkout__billing-address .wc-block-components-country-input,
.wc-block-checkout__billing-address .wc-block-components-state-input,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__country,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__address_1,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__address_2,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__city,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__state,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__postcode,
.wc-block-checkout__billing-address-wrapper .wc-block-components-address-form__phone,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__country,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__address_1,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__address_2,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__city,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__state,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__postcode,
.wc-block-components-address-form-wrapper .wc-block-components-address-form__phone,
.wc-block-checkout__shipping-address,
.wc-block-checkout__shipping-address-wrapper,
#billing-country,
#billing-address_1,
#billing-address_2,
#billing-city,
#billing-state,
#billing-postcode,
#billing-phone,
.woocommerce-billing-fields__field-wrapper p:not(#billing_first_name_field):not(#billing_last_name_field):not(#billing_email_field) {
	display: none !important;
}

/* Add helpful banner above Cadet Information in Checkout Block */
.wc-block-checkout__billing-address-wrapper::before,
.wc-block-components-checkout-step--billing-address::before {
	content: "Sea Cadet Unit Pick-Up: Uniform and kit items are issued in person at the corps. Street address is not required.";
	display: block;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 4px solid #16a34a;
	color: #166534;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.88rem;
	margin-bottom: 14px;
}

.ardent-balance-indicator {
	font-size: 1.05rem;
	margin-bottom: 10px;
}

.ardent-balance.sufficient {
	color: #16a34a;
}

.ardent-balance.insufficient {
	color: #dc2626;
}

.ardent-shortfall-alert {
	background: #fee2e2;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.95rem;
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ardent-remaining-info {
	font-size: 0.9rem;
	color: #475569;
	margin-top: 6px;
}

/* My Account - Ardent Dollars */
.ardent-my-account-container {
	margin-top: 10px;
}

.ardent-admin-viewing-alert {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ardent-wallet-card {
	background: linear-gradient(135deg, #0c2340 0%, #1e3a8a 100%);
	color: #ffffff;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 4px 14px rgba(12, 35, 64, 0.25);
	margin-bottom: 30px;
}

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

.ardent-wallet-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	background: rgba(255, 255, 255, 0.15);
	padding: 4px 12px;
	border-radius: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ardent-wallet-badge .dashicons {
	color: #eaaa00;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.ardent-currency-code {
	font-weight: 800;
	color: #eaaa00;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
}

.ardent-wallet-balance-title {
	font-size: 0.95rem;
	opacity: 0.85;
	margin-bottom: 4px;
}

.ardent-wallet-balance-figure {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 8px;
	color: #ffffff;
}

.ardent-wallet-note {
	font-size: 0.9rem;
	opacity: 0.8;
	margin: 0 0 24px 0;
}

.ardent-wallet-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 20px;
}

.ardent-stat-tile {
	display: flex;
	flex-direction: column;
}

.ardent-stat-label {
	font-size: 0.8rem;
	opacity: 0.75;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
}

.ardent-stat-value {
	font-size: 1.3rem;
	font-weight: 700;
}

.ardent-stat-value.credit {
	color: #4ade80;
}

.ardent-stat-value.debit {
	color: #f87171;
}

/* Transaction Table */
.ardent-transactions-section {
	background: #ffffff;
	border-radius: 8px;
}

.ardent-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.3rem;
	margin-bottom: 16px;
	color: #0c2340;
}

.ardent-section-title .dashicons {
	color: #0073aa;
}

.ardent-table-responsive {
	overflow-x: auto;
}

.ardent-table-ledger {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.ardent-table-ledger th {
	background: #f8fafc;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #475569;
	padding: 12px 16px;
	border-bottom: 2px solid #e2e8f0;
}

.ardent-table-ledger td {
	padding: 14px 16px;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: middle;
	font-size: 0.95rem;
}

.ardent-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ardent-badge-credit {
	background: #dcfce7;
	color: #15803d;
}

.ardent-badge-debit {
	background: #fee2e2;
	color: #b91c1c;
}

.ardent-desc-text {
	font-weight: 600;
	color: #1e293b;
}

.ardent-ref-meta {
	font-size: 0.8rem;
	margin-top: 3px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.ardent-ref-tag {
	background: #f1f5f9;
	color: #64748b;
	padding: 2px 6px;
	border-radius: 4px;
}

.ardent-ref-link {
	font-weight: 600;
	color: #0284c7;
	text-decoration: none;
}

.ardent-ref-link:hover {
	text-decoration: underline;
}

.ardent-amount-val {
	font-weight: 700;
	font-size: 1.05rem;
}

.ardent-amount-val.credit {
	color: #16a34a;
}

.ardent-amount-val.debit {
	color: #dc2626;
}

.ardent-col-amount,
.ardent-col-balance {
	text-align: right;
}

.ardent-pagination {
	margin-top: 20px;
	text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.ardent-wallet-balance-figure {
		font-size: 2.2rem;
	}

	.ardent-banner-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.ardent-separator {
		display: none;
	}

	.ardent-banner-figures {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}
}

/* ==========================================================================
   Cadet Unit Kit & Password Wallet Card
   ========================================================================== */
.ardent-unit-card-action-bar {
	margin: 15px 0 25px 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ardent-toggle-card-btn .dashicons {
	vertical-align: middle;
	margin-right: 4px;
}

.ardent-card-wrapper {
	margin: 20px 0;
}

.ardent-card-toolbar {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 12px;
}

.ardent-print-card-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0073aa;
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	border: none;
	font-weight: 600;
}

.ardent-print-card-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.ardent-card-help-tip {
	font-size: 0.85rem;
	color: #64748b;
}

/* Card Visual Design */
.ardent-unit-id-card {
	width: 480px;
	max-width: 100%;
	background: linear-gradient(135deg, #0c2340 0%, #15325b 100%);
	border: 3px solid #eaaa00;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(12, 35, 64, 0.25);
	color: #ffffff;
	padding: 18px 22px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
	position: relative;
	overflow: hidden;
}

/* Gold Header */
.ardent-id-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(234, 170, 0, 0.4);
	padding-bottom: 10px;
	margin-bottom: 12px;
}

.ardent-id-crest .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #eaaa00;
}

.ardent-id-titles {
	flex-grow: 1;
	margin: 0 12px;
}

.ardent-id-subhead {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #eaaa00;
	font-weight: 700;
}

.ardent-id-unit {
	margin: 2px 0 0 0;
	font-size: 0.95rem;
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.ardent-id-badge-code {
	background: #eaaa00;
	color: #0c2340;
	font-weight: 900;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
}

/* Card Body Rows */
.ardent-id-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ardent-id-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.ardent-id-field {
	display: flex;
	flex-direction: column;
}

.ardent-id-right {
	text-align: right;
	align-items: flex-end;
}

.ardent-id-wide {
	width: 100%;
}

.ardent-id-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
	margin-bottom: 2px;
	font-weight: 600;
}

.ardent-id-val-name {
	font-size: 1.15rem;
	color: #ffffff;
	letter-spacing: 0.02em;
}

.ardent-id-username {
	background: rgba(255, 255, 255, 0.15);
	color: #eaaa00;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 700;
}

/* Password Writing Box */
.ardent-id-password-row {
	background: rgba(0, 0, 0, 0.25);
	border: 1px dashed rgba(234, 170, 0, 0.6);
	padding: 8px 12px;
	border-radius: 6px;
}

.ardent-id-password-box {
	display: flex;
	flex-direction: column;
	margin-top: 3px;
}

.ardent-id-pw-line {
	letter-spacing: 2px;
	font-family: monospace;
	font-size: 1.1rem;
	color: #ffffff;
	min-height: 20px;
}

.ardent-id-pw-note {
	font-size: 0.65rem;
	color: #cbd5e1;
	margin-top: 2px;
}

.ardent-id-footer-row {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 8px;
	margin-top: 2px;
}

.ardent-id-url {
	font-size: 0.8rem;
	color: #93c5fd;
	font-weight: 600;
}

.ardent-id-bal-val {
	font-size: 1.1rem;
	color: #4ade80;
	font-weight: 800;
}

/* Bottom Notice */
.ardent-id-footer {
	margin-top: 12px;
	padding-top: 6px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.55rem;
	letter-spacing: 0.08em;
	color: #94a3b8;
}

/* Balance Mini Shortcode Styles */
.ardent-balance-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #0c2340;
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 14px;
	font-size: 0.9rem;
	font-weight: 600;
}

.ardent-balance-badge .dashicons {
	color: #eaaa00;
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.ardent-balance-mini-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #0c2340;
	padding: 12px 16px;
	border-radius: 6px;
	display: inline-flex;
	flex-direction: column;
}

.ardent-mini-label {
	font-size: 0.75rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ardent-mini-figure {
	font-size: 1.25rem;
	color: #15803d;
	font-weight: 800;
}

/* ==========================================================================
   Print Optimization for Cadet Unit Card
   ========================================================================== */
@media print {
	/* Hide website navigation, sidebars, headers, footers, and buttons */
	body * {
		visibility: hidden;
	}

	.ardent-card-wrapper,
	.ardent-unit-id-card,
	.ardent-unit-id-card * {
		visibility: visible;
	}

	.no-print,
	.ardent-card-toolbar,
	.ardent-toggle-card-btn,
	header,
	footer,
	nav,
	#wpadminbar {
		display: none !important;
	}

	.ardent-card-wrapper {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		display: flex;
		justify-content: center;
		padding-top: 30px;
	}

	.ardent-unit-id-card {
		width: 3.375in !important;
		height: 2.125in !important;
		max-width: none !important;
		padding: 10px 14px !important;
		border: 2px solid #000000 !important;
		border-radius: 8px !important;
		box-shadow: none !important;
		background: #0c2340 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		page-break-inside: avoid;
	}

	.ardent-id-crest .dashicons,
	.ardent-id-subhead,
	.ardent-id-badge-code {
		color: #eaaa00 !important;
	}

	.ardent-id-pw-line {
		color: #000000 !important;
	}
}

/* Prefilled Password on ID Card */
.ardent-id-pw-prefilled code {
	background: #e0f2fe;
	color: #0369a1;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	border: 1px solid #bae6fd;
}

/* Front-End Registration Shortcode Portal */
.ardent-register-shortcode-container {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 25px;
	margin: 20px 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ardent-credentials-summary-box {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 18px 22px;
	margin: 20px 0;
}

.ardent-creds-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.ardent-creds-table td {
	padding: 8px 12px;
	border-bottom: 1px solid #e2e8f0;
}

.ardent-pw-highlight {
	background: #e0f2fe;
	color: #0369a1;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 1.05rem;
	font-weight: 700;
}

/* ==========================================================================
   Sea Cadet Command Portal & WooCommerce /my-account/ Overhaul
   ========================================================================== */

/* Full-Width Portal Hero Banner */
.ardent-portal-hero {
	background: linear-gradient(135deg, #07162c 0%, #0c2340 55%, #172554 100%);
	color: #ffffff;
	border-radius: 12px;
	padding: 0;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 20px rgba(7, 22, 44, 0.2);
	border: 1px solid rgba(234, 170, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.ardent-portal-hero::after {
	content: "⚓";
	position: absolute;
	right: -10px;
	top: -20px;
	font-size: 140px;
	color: rgba(255, 255, 255, 0.03);
	pointer-events: none;
	user-select: none;
}

.ardent-hero-body {
	padding: 24px 28px 20px 28px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.ardent-hero-crest {
	width: 64px;
	height: 64px;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(234, 170, 0, 0.6);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	flex-shrink: 0;
}

.ardent-hero-crest-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ardent-hero-anchor-badge {
	font-size: 32px;
	color: #eaaa00;
	line-height: 1;
}

.ardent-hero-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ardent-hero-unit-name {
	display: flex;
	flex-direction: column;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: #93c5fd;
	text-transform: uppercase;
}

.ardent-hero-unit-name strong {
	font-size: 0.88rem;
	color: #eaaa00;
	letter-spacing: 0.04em;
}

.ardent-hero-name {
	margin: 2px 0 6px 0;
	font-size: 1.55rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.2;
}

.ardent-hero-badges {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ardent-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
}

.ardent-badge-pill.rank {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.ardent-badge-pill.job {
	background: rgba(234, 170, 0, 0.2);
	color: #fef08a;
	border: 1px solid rgba(234, 170, 0, 0.4);
}

.ardent-badge-pill.div {
	background: rgba(147, 197, 253, 0.15);
	color: #dbeafe;
}

/* Integrated Docked Status Ribbon / Balance Bar */
.ardent-hero-docked-bar {
	background: rgba(4, 13, 26, 0.55);
	border-top: 1px solid rgba(234, 170, 0, 0.25);
	padding: 12px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	position: relative;
	z-index: 1;
}

.ardent-hero-docked-balance {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ardent-docked-bal-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(234, 170, 0, 0.15);
	border: 1px solid rgba(234, 170, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}

.ardent-docked-bal-info {
	display: flex;
	flex-direction: column;
}

.ardent-docked-bal-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
	font-weight: 700;
	line-height: 1.2;
}

.ardent-docked-bal-amount {
	font-size: 1.6rem;
	font-weight: 800;
	color: #facc15;
	line-height: 1.15;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ardent-hero-docked-actions {
	display: flex;
	align-items: center;
}

.ardent-hero-shop-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #eaaa00 0%, #c98e00 100%);
	color: #07162c !important;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 9px 18px;
	border-radius: 6px;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transition: all 0.2s ease-in-out;
}

.ardent-hero-shop-btn:hover {
	background: linear-gradient(135deg, #fbbf24 0%, #eaaa00 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(234, 170, 0, 0.35);
	color: #07162c !important;
}

.ardent-hero-shop-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 16px;
}

/* Two-Column WooCommerce Layout Container */
.woocommerce-account .woocommerce {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	width: 100%;
}

/* Sidebar Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 270px;
	flex-shrink: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid #f1f5f9;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	font-size: 0.94rem;
	font-weight: 600;
	color: #334155;
	text-decoration: none !important;
	transition: all 0.2s ease;
	border-left: 4px solid transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: #f8fafc;
	color: #0c2340;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: #0c2340;
	color: #ffffff !important;
	border-left-color: #eaaa00;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover {
	background: #08172b;
}

/* Navigation Icons */
.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	font-family: Dashicons;
	font-size: 18px;
	width: 20px;
	display: inline-block;
	color: #64748b;
	transition: color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
	color: #eaaa00;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a::before {
	content: "\f102"; /* dashicons-admin-home */
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--ardent-dollars a::before {
	content: "\f239"; /* dashicons-shield */
	color: #eaaa00;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a::before {
	content: "\f174"; /* dashicons-cart */
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before {
	content: "\f110"; /* dashicons-admin-users */
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
	content: "\f182"; /* dashicons-dismiss */
}

/* Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
	flex: 1;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	padding: 30px;
}

/* Custom Cadet Dashboard Styles */
.ardent-dash-briefing-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #0c2340;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.ardent-dash-greeting-badge {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-weight: 700;
	color: #0c2340;
	background: #e0f2fe;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.ardent-dash-title {
	margin: 0 0 6px 0;
	font-size: 1.45rem;
	font-weight: 800;
	color: #0f172a;
}

.ardent-dash-intro {
	margin: 0;
	font-size: 0.92rem;
	color: #475569;
	max-width: 600px;
	line-height: 1.5;
}

.ardent-dash-pickup-pill {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 14px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ardent-dash-pickup-pill .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #0284c7;
}

.ardent-dash-pickup-pill strong {
	display: block;
	font-size: 0.88rem;
	color: #0f172a;
}

.ardent-dash-pickup-pill small {
	display: block;
	font-size: 0.76rem;
	color: #64748b;
}

/* Dashboard KPI Grid */
.ardent-dash-kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin-bottom: 30px;
}

.ardent-dash-kpi-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ardent-dash-kpi-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.ardent-kpi-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.ardent-kpi-card-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #64748b;
}

.ardent-kpi-card-icon .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #0c2340;
}

.ardent-kpi-card-value {
	font-size: 1.6rem;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 4px;
	line-height: 1.2;
}

.ardent-dash-kpi-card.kpi-balance .ardent-kpi-card-value {
	color: #047857;
}

.ardent-kpi-card-value.role-title {
	font-size: 1.15rem;
	color: #0c2340;
}

.ardent-kpi-card-sub {
	font-size: 0.82rem;
	margin-bottom: 12px;
	color: #64748b;
}

.ardent-kpi-card-sub .cred {
	color: #047857;
	font-weight: 600;
}

.ardent-kpi-card-sub .deb {
	color: #dc2626;
	font-weight: 600;
}

.ardent-kpi-card-sub .sep {
	margin: 0 4px;
	color: #cbd5e1;
}

.ardent-kpi-card-sub .pay-rate {
	color: #047857;
	font-weight: 700;
}

.ardent-kpi-card-sub .per-week {
	color: #64748b;
	font-size: 0.8rem;
	font-weight: 500;
}

.ardent-kpi-card-footer {
	margin-top: auto;
	font-size: 0.82rem;
	font-weight: 600;
	color: #0284c7;
	text-decoration: none;
}

.ardent-kpi-card-footer.note {
	color: #64748b;
	font-weight: 500;
}

.ardent-kpi-card-footer:hover {
	text-decoration: underline;
}

/* Quick Action Tiles */
.ardent-dash-section-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px 0;
}

.ardent-action-tiles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 25px;
}

.ardent-action-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px;
	text-decoration: none !important;
	color: inherit;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: all 0.2s ease;
}

.ardent-action-tile:hover {
	border-color: #0c2340;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(12, 35, 64, 0.08);
}

.ardent-tile-icon {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tile-shop .ardent-tile-icon {
	background: #f0fdf4;
	color: #16a34a;
}

.tile-wallet .ardent-tile-icon {
	background: #eff6ff;
	color: #2563eb;
}

.tile-card .ardent-tile-icon {
	background: #fefce8;
	color: #ca8a04;
}

.tile-profile .ardent-tile-icon {
	background: #faf5ff;
	color: #9333ea;
}

.ardent-tile-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ardent-tile-content strong {
	font-size: 0.95rem;
	color: #0f172a;
	margin-bottom: 2px;
}

.ardent-tile-content span {
	font-size: 0.78rem;
	color: #64748b;
	line-height: 1.3;
}

.ardent-tile-arrow {
	font-size: 1.1rem;
	color: #cbd5e1;
	transition: transform 0.2s ease, color 0.2s ease;
}

.ardent-action-tile:hover .ardent-tile-arrow {
	color: #0c2340;
	transform: translateX(3px);
}

.ardent-dash-card-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e2e8f0;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 860px) {
	.woocommerce-account .woocommerce {
		flex-direction: column;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 100%;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 1 1 45%;
		border-right: 1px solid #f1f5f9;
	}

	.woocommerce-account .woocommerce-MyAccount-content {
		width: 100%;
		padding: 20px;
	}

	.ardent-hero-body {
		padding: 20px 20px 16px 20px;
	}

	.ardent-hero-docked-bar {
		padding: 12px 20px;
	}
}

@media (max-width: 580px) {
	.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 1 1 100%;
	}

	.ardent-hero-name {
		font-size: 1.3rem;
	}

	.ardent-hero-docked-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ardent-hero-docked-actions {
		width: 100%;
	}

	.ardent-hero-shop-btn {
		width: 100%;
		justify-content: center;
	}
}


