/* ── Land Tools — /my-account Dashboard ─────────────────────────────────── */

.lt-account-wrap {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin: 1rem 0 2rem;
}

.lt-account-wrap *,
.lt-account-wrap *::before,
.lt-account-wrap *::after {
	box-sizing: border-box;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.lt-account-hero {
	background: linear-gradient(135deg, #4318FF 0%, #865CFF 100%);
	border-radius: 20px;
	padding: 2.5rem;
	color: #fff;
	box-shadow: 0 15px 30px rgba(67, 24, 255, 0.2);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	position: relative;
	overflow: hidden;
}

.lt-account-hero::after {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	pointer-events: none;
}

.lt-account-profile {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	position: relative;
	z-index: 1;
}

.lt-account-avatar {
	width: 76px;
	height: 76px;
	min-width: 76px;
	background: #fff;
	color: #2b3674;
	font-size: 1.8rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	border: 4px solid rgba(255, 255, 255, 0.3);
	line-height: 1;
	letter-spacing: -1px;
}

.lt-account-details h1 {
	font-size: 1.6rem !important;
	font-weight: 600 !important;
	margin: 0 0 0.2rem !important;
	color: #fff !important;
	line-height: 1.2 !important;
	border: none !important;
	padding: 0 !important;
	background: none !important;
}

.lt-account-details p {
	font-size: 0.9rem !important;
	color: rgba(255, 255, 255, 0.9) !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

.lt-account-details a {
	color: #FFD700 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
}

.lt-account-intro {
	max-width: 420px;
	font-size: 0.88rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	position: relative;
	z-index: 1;
}

/* ── Main 2-column grid ──────────────────────────────────────────────────── */

.lt-account-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 2rem;
	align-items: start;
}

@media (max-width: 900px) {
	.lt-account-main       { grid-template-columns: 1fr; }
	.lt-account-hero       { flex-direction: column; align-items: flex-start; }
	.lt-account-intro      { max-width: 100%; }
}

/* ── Subpage content column ──────────────────────────────────────────────── */

.lt-account-content {
	min-width: 0;
}

.lt-account-content .woocommerce-notices-wrapper:empty { display: none; }

/* Give WC tables a light card treatment inside the new shell */
.lt-account-content .woocommerce-orders-table,
.lt-account-content .woocommerce-table,
.lt-account-content .woocommerce-EditAccountForm,
.lt-account-content .woocommerce-address-fields,
.lt-account-content .woocommerce-MyAccount-downloads {
	background: #fff;
	border-radius: 20px;
	padding: 1.5rem;
	box-shadow: 0 18px 40px rgba(112, 144, 176, 0.12);
}

.lt-account-content h2,
.lt-account-content h3 {
	color: #2b3674;
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

/* ── Section title ───────────────────────────────────────────────────────── */

.lt-account-section-title {
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	margin: 0 0 1.1rem !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.6rem !important;
	color: #2b3674 !important;
	border: none !important;
	padding: 0 !important;
	background: none !important;
}

/* ── Nav grid ────────────────────────────────────────────────────────────── */

.lt-account-nav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1rem;
}

.lt-account-nav-item {
	background: #fff;
	border-radius: 16px;
	padding: 1.25rem 0.75rem;
	text-align: center;
	text-decoration: none !important;
	color: #2b3674 !important;
	font-weight: 600;
	font-size: 0.875rem;
	box-shadow: 0 18px 40px rgba(112, 144, 176, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	border: 2px solid transparent;
}

.lt-account-nav-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 45px rgba(112, 144, 176, 0.22);
	color: #2b3674 !important;
	text-decoration: none !important;
}

.lt-account-icon-box {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	transition: transform 0.25s ease;
	flex-shrink: 0;
}

.lt-account-nav-item:hover .lt-account-icon-box {
	transform: scale(1.08);
}

.lt-account-c-blue   .lt-account-icon-box { background: #E2ECFF; color: #3965FF; }
.lt-account-c-green  .lt-account-icon-box { background: #E8FCF1; color: #05CD99; }
.lt-account-c-purple .lt-account-icon-box { background: #F4E8FF; color: #7000FF; }
.lt-account-c-orange .lt-account-icon-box { background: #FFF3E0; color: #FF8A00; }
.lt-account-c-pink   .lt-account-icon-box { background: #FFE2E5; color: #FF5E7E; }

.lt-account-highlight { border-color: #FF5E7E; }

/* Active nav item */
.lt-account-c-blue.lt-account-active   { border-color: #3965FF; background: #f5f8ff; }
.lt-account-c-green.lt-account-active  { border-color: #05CD99; background: #f0fdf8; }
.lt-account-c-purple.lt-account-active { border-color: #7000FF; background: #faf5ff; }
.lt-account-c-orange.lt-account-active { border-color: #FF8A00; background: #fffbf5; }
.lt-account-c-pink.lt-account-active   { border-color: #FF5E7E; background: #fff5f7; }
.lt-account-nav-item.lt-account-active { transform: none; cursor: default; }

/* ── Status cards ────────────────────────────────────────────────────────── */

.lt-account-status-container {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.lt-account-status-card {
	background: #fff;
	border-radius: 20px;
	padding: 1.5rem;
	box-shadow: 0 18px 40px rgba(112, 144, 176, 0.12);
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	border-left: 5px solid transparent;
}

.lt-account-card--expert  { border-left-color: #3965FF; }
.lt-account-card--partner { border-left-color: #FFB547; }

.lt-account-status-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.lt-account-status-header h2 {
	font-size: 1rem !important;
	font-weight: 700 !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	color: #2b3674 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
}

.lt-account-status-card > p {
	color: #a3aed1;
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0;
}

.lt-account-status-card code {
	background: #f1f5f9;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #2b3674;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */

.lt-account-badge {
	padding: 0.3rem 0.85rem;
	border-radius: 30px;
	font-size: 0.78rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	white-space: nowrap;
	line-height: 1.4;
}

.lt-account-badge--gray    { background: #f1f5f9; color: #64748b; }
.lt-account-badge--warning { background: #FFF5E5; color: #d97706; }
.lt-account-badge--success { background: #E8FCF1; color: #059669; }
.lt-account-badge--danger  { background: #FFF0F0; color: #dc2626; }

/* ── Warning text ────────────────────────────────────────────────────────── */

.lt-account-warning-text {
	color: #d97706;
	font-weight: 600;
	font-size: 0.95rem;
	display: block;
	margin: 0;
}

/* ── Button ──────────────────────────────────────────────────────────────── */

.lt-account-btn {
	background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
	color: #fff !important;
	border: none;
	padding: 0.8rem 1.6rem;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 6px 18px rgba(0, 114, 255, 0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	text-decoration: none !important;
	line-height: 1.2;
	font-family: inherit;
	align-self: flex-start;
}

.lt-account-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 114, 255, 0.4);
	color: #fff !important;
	text-decoration: none !important;
}

.lt-account-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.lt-account-btn--outline {
	background: transparent;
	color: #3965FF !important;
	border: 1.5px solid #3965FF;
	box-shadow: none;
	margin-top: 8px;
}

.lt-account-btn--outline:hover {
	background: #EEF2FF;
	color: #3965FF !important;
	box-shadow: none;
	transform: translateY(-1px);
}

#lt-request-agent-msg {
	display: block;
	margin-top: 6px;
	font-size: 0.85em;
}

/* ── Expert service skill buttons ────────────────────────────────────────── */

.lt-account-service-label {
	font-size: .82rem;
	font-weight: 600;
	color: #374151;
	margin: 10px 0 6px;
}
.lt-account-skill-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin-bottom: 14px;
}
.lt-account-skill-btn {
	display: inline-flex;
	align-items: center;
	padding: 5px 13px;
	border: 1.5px solid #1a73e8;
	border-radius: 999px;
	background: #fff;
	color: #1a73e8;
	font-size: .78rem;
	text-decoration: none;
	transition: background .18s, color .18s;
	white-space: nowrap;
}
.lt-account-skill-btn:hover {
	background: #1a73e8;
	color: #fff !important;
	text-decoration: none !important;
}
