/* TrustBtcWallet — User dashboard / my-account styling */

.trustbtc-dashboard-page {
	padding-bottom: 4rem;
}

.trustbtc-dashboard-hero {
	padding: 3rem 1.5rem 2.25rem;
	background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
	border-bottom: 1px solid var(--border);
}

.trustbtc-dashboard-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .35rem .85rem;
	border-radius: 999px;
	background: rgba(245, 158, 11, .12);
	color: var(--accent2);
	font-size: .75rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.trustbtc-dashboard-hero__title {
	font-size: clamp(1.85rem, 4vw, 2.6rem);
	font-weight: 900;
	letter-spacing: -.03em;
	margin: 0 0 .75rem;
	color: var(--text);
}

.trustbtc-dashboard-hero__sub {
	max-width: 640px;
	margin: 0;
	color: var(--muted);
	font-size: .98rem;
}

.trustbtc-dashboard-shell {
	padding: 2rem 1.5rem 0;
}

/* Override User Registration defaults with theme tokens */
.trustbtc-dashboard-page #user-registration,
.trustbtc-dashboard-page .user-registration {
	--ur-primary-color: var(--accent);
	--ur-primary-dark: var(--accent2);
}

.trustbtc-dashboard-page #user-registration.vertical {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	max-width: none;
}

.trustbtc-dashboard-page #user-registration .user-registration-MyAccount-navigation--wrapper,
.trustbtc-dashboard-page #user-registration .trustbtc-dashboard-nav {
	flex: 0 0 280px;
	width: 280px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 1.25rem;
	box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
	position: sticky;
	top: 88px;
}

.trustbtc-dashboard-page .trustbtc-dashboard-nav__profile {
	text-align: center;
	padding-bottom: 1.1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}

.trustbtc-dashboard-page .trustbtc-dashboard-nav__profile .user-registration-img-container img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(245, 158, 11, .25);
	margin: 0 auto .75rem;
}

.trustbtc-dashboard-page .trustbtc-dashboard-nav__profile h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: var(--text);
}

.trustbtc-dashboard-page .trustbtc-dashboard-nav__profile p {
	margin: .25rem 0 0;
	font-size: .78rem;
	color: var(--muted);
	word-break: break-word;
}

.trustbtc-dashboard-page .user-registration-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.trustbtc-dashboard-page .user-registration-MyAccount-navigation-link a {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .72rem .85rem;
	border-radius: 12px;
	border: 1px solid transparent;
	color: var(--muted);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s;
}

.trustbtc-dashboard-page .trustbtc-dashboard-nav__icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--bg2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	flex-shrink: 0;
	transition: all .2s;
}

.trustbtc-dashboard-page .user-registration-MyAccount-navigation-link a:hover {
	background: var(--bg2);
	color: var(--text);
	border-color: var(--border);
}

.trustbtc-dashboard-page .user-registration-MyAccount-navigation-link.is-active a,
.trustbtc-dashboard-page .user-registration-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--active a {
	background: rgba(245, 158, 11, .1);
	color: var(--accent2);
	border-color: rgba(245, 158, 11, .25);
}

.trustbtc-dashboard-page .user-registration-MyAccount-navigation-link.is-active .trustbtc-dashboard-nav__icon,
.trustbtc-dashboard-page .user-registration-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--active .trustbtc-dashboard-nav__icon {
	background: var(--gradient);
	color: #fff;
}

.trustbtc-dashboard-page .user-registration-MyAccount-content,
.trustbtc-dashboard-page .trustbtc-dashboard-content {
	flex: 1;
	min-width: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 1.75rem;
	box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
	text-align: left;
}

.trustbtc-dashboard-page .user-registration-MyAccount-content__header h1,
.trustbtc-dashboard-page .user-registration-MyAccount-content h1,
.trustbtc-dashboard-page .user-registration-MyAccount-content h2 {
	color: var(--text);
	font-weight: 800;
	letter-spacing: -.02em;
}

.trustbtc-dashboard-page .user-registration-MyAccount-content__header {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}

.trustbtc-dashboard-page .user-registration-MyAccount-content__header h1 {
	margin: 0;
	font-size: 1.45rem;
}

.trustbtc-dashboard-page .user-registration-MyAccount-content__body,
.trustbtc-dashboard-page .trustbtc-account-panel {
	color: var(--text);
}

.trustbtc-dashboard-page .user-registration-MyAccount-content p,
.trustbtc-dashboard-page .trustbtc-account-panel p {
	color: var(--muted);
}

.trustbtc-dashboard-page .user-registration-MyAccount-content a {
	color: var(--accent);
	font-weight: 600;
}

.trustbtc-dashboard-page .user-registration-profile-header {
	text-align: left;
}

/* Forms */
.trustbtc-dashboard-page .user-registration label,
.trustbtc-dashboard-page .ur-label,
.trustbtc-dashboard-page .wpcf7 label {
	font-size: .8rem;
	font-weight: 600;
	color: var(--muted);
	margin-bottom: .4rem;
}

.trustbtc-dashboard-page input.input-text,
.trustbtc-dashboard-page input[type=email],
.trustbtc-dashboard-page input[type=password],
.trustbtc-dashboard-page input[type=text],
.trustbtc-dashboard-page input[type=number],
.trustbtc-dashboard-page input[type=tel],
.trustbtc-dashboard-page select,
.trustbtc-dashboard-page textarea,
.trustbtc-dashboard-page .wpcf7 input,
.trustbtc-dashboard-page .wpcf7 select,
.trustbtc-dashboard-page .wpcf7 textarea {
	width: 100%;
	padding: .65rem 1rem;
	border-radius: 10px;
	border: 1.5px solid var(--border) !important;
	background: var(--bg2) !important;
	color: var(--text) !important;
	font-size: .9rem;
	font-family: inherit;
	transition: border-color .2s, box-shadow .2s;
	outline: none;
	box-shadow: none !important;
}

.trustbtc-dashboard-page input:focus,
.trustbtc-dashboard-page select:focus,
.trustbtc-dashboard-page textarea:focus {
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, .12) !important;
}

.trustbtc-dashboard-page .user-registration-Button,
.trustbtc-dashboard-page .user-registration-Button.button,
.trustbtc-dashboard-page .ur-submit-button,
.trustbtc-dashboard-page .button,
.trustbtc-dashboard-page button[type=submit],
.trustbtc-dashboard-page .wpcf7-submit,
.trustbtc-dashboard-page input[type=submit] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .72rem 1.35rem;
	border-radius: 10px;
	border: none !important;
	background: var(--gradient) !important;
	color: #fff !important;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	box-shadow: none !important;
	text-decoration: none;
}

.trustbtc-dashboard-page .user-registration-Button:hover,
.trustbtc-dashboard-page .ur-submit-button:hover,
.trustbtc-dashboard-page .button:hover,
.trustbtc-dashboard-page button[type=submit]:hover,
.trustbtc-dashboard-page .wpcf7-submit:hover {
	opacity: .88;
	transform: translateY(-1px);
	color: #fff !important;
}

.trustbtc-dashboard-page .user-registration-Button.button-secondary,
.trustbtc-dashboard-page .button-secondary {
	background: transparent !important;
	color: var(--text) !important;
	border: 1.5px solid var(--border) !important;
}

.trustbtc-dashboard-page .user-registration-error,
.trustbtc-dashboard-page .user-registration-info,
.trustbtc-dashboard-page .user-registration-message {
	border-radius: 10px;
	font-size: .85rem;
	padding: .85rem 1rem;
	margin: 0 0 1rem;
	border: 1px solid var(--border);
	background: var(--bg2);
	color: var(--text);
}

.trustbtc-dashboard-page .user-registration-error {
	border-color: rgba(220, 38, 38, .25);
	background: rgba(220, 38, 38, .06);
	color: var(--red);
}

.trustbtc-dashboard-page .user-registration-info,
.trustbtc-dashboard-page .user-registration-message {
	border-color: rgba(245, 158, 11, .25);
	background: rgba(245, 158, 11, .08);
	color: var(--accent2);
}

/* Wallets plugin */
.trustbtc-dashboard-page .dashed-slug-wallets {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.25rem;
	color: var(--text);
}

.trustbtc-dashboard-page .dashed-slug-wallets table {
	width: 100%;
	color: var(--text);
}

.trustbtc-dashboard-page .dashed-slug-wallets th,
.trustbtc-dashboard-page .dashed-slug-wallets td {
	border-color: var(--border);
	padding: .65rem .5rem;
}

.trustbtc-dashboard-page .dashed-slug-wallets a {
	color: var(--accent);
}

/* Sell BTC / plugin tables */
.trustbtc-dashboard-page .trustbtc-account-panel .button,
.trustbtc-dashboard-page table .button {
	margin-top: .5rem;
}

.trustbtc-dashboard-page table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.trustbtc-dashboard-page table th,
.trustbtc-dashboard-page table td {
	padding: .75rem;
	border-bottom: 1px solid var(--border);
	text-align: left;
}

.trustbtc-dashboard-page table th {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
}

/* Profile edit screens */
.trustbtc-dashboard-page .ur-edit-profile,
.trustbtc-dashboard-page .ur-edit-password {
	text-align: left;
}

.trustbtc-dashboard-page .urm-back-button {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--muted);
	font-size: .85rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.trustbtc-dashboard-page .urm-back-button:hover {
	color: var(--accent);
}

@media (max-width: 991px) {
	.trustbtc-dashboard-page #user-registration.vertical {
		flex-direction: column;
	}

	.trustbtc-dashboard-page #user-registration .user-registration-MyAccount-navigation--wrapper,
	.trustbtc-dashboard-page #user-registration .trustbtc-dashboard-nav {
		width: 100%;
		flex: none;
		position: static;
	}

	.trustbtc-dashboard-page .user-registration-MyAccount-content,
	.trustbtc-dashboard-page .trustbtc-dashboard-content {
		padding: 1.25rem;
	}
}

@media (max-width: 576px) {
	.trustbtc-dashboard-hero {
		padding: 2rem 1.25rem 1.5rem;
	}

	.trustbtc-dashboard-shell {
		padding: 1.25rem 1rem 0;
	}
}

.trustbtc-dashboard-content--single {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 1.75rem;
	box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}

.trustbtc-dashboard-quicklinks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: .85rem;
	margin: 1.5rem 0 0;
}

.trustbtc-dashboard-quicklink {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .65rem;
	padding: 1rem;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: var(--bg2);
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	font-size: .88rem;
	transition: all .2s;
}

.trustbtc-dashboard-quicklink:hover {
	border-color: rgba(245, 158, 11, .35);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(245, 158, 11, .12);
	color: var(--text);
}

.trustbtc-dashboard-quicklink__icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--gradient);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

/* Sell BTC plugin (Buy BTC tab) */
.trustbtc-dashboard-page .hayyatapps-sic-main,
.trustbtc-dashboard-page .hayyatapps-sic-card,
.trustbtc-dashboard-page .shadow.font {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.25rem;
	color: var(--text);
}

.trustbtc-dashboard-page .happs-buy-btn,
.trustbtc-dashboard-page .happs-convert-btn,
.trustbtc-dashboard-page .btn.happs-buy-btn {
	background: var(--gradient) !important;
	border: none !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 700;
	padding: .65rem 1.25rem;
}

.trustbtc-dashboard-page .input-table-happs input,
.trustbtc-dashboard-page .hayyatapps-currency {
	border: 1.5px solid var(--border) !important;
	background: var(--surface) !important;
	color: var(--text) !important;
	border-radius: 10px;
	padding: .65rem 1rem;
}

.trustbtc-dashboard-page .happs-dropdown .happs-list-btn {
	border: 1.5px solid var(--border);
	background: var(--surface);
	border-radius: 10px;
	padding: .55rem .75rem;
	color: var(--text);
}

.trustbtc-dashboard-page .order-list-down-happs th,
.trustbtc-dashboard-page .order-list-down-happs td {
	border-color: var(--border);
	color: var(--text);
}
