/**
 * page-taikhoan.html + page-login.html
 */

html {
	scroll-behavior: smooth;
}

.marquee {
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.marquee span {
	display: inline-block;
	padding-left: 100%;
	animation: hanoi26Marquee 25s linear infinite;
}

@keyframes hanoi26Marquee {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(-100%, 0);
	}
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.hanoi26-my-account-shell .tab-content {
	display: none;
	animation: hanoi26TabFadeIn 0.5s ease-in-out;
}

.hanoi26-my-account-shell .tab-content.active {
	display: block;
}

.hanoi26-account-tabs--endpoint-hidden {
	display: none;
}

.hanoi26-account-mobile-nav {
	display: block;
}

.hanoi26-account-desktop-nav {
	display: none;
}

.hanoi26-account-mobile-nav > label {
	display: block;
	margin: 0 0 0.5rem;
	color: #6b7280;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hanoi26-account-mobile-nav__select-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.hanoi26-account-mobile-nav__select-wrap > i:first-child {
	position: absolute;
	left: 1rem;
	z-index: 1;
	color: var(--hanoi26-primary, #e53e3e);
	pointer-events: none;
}

.hanoi26-account-mobile-nav select {
	width: 100%;
	min-height: 3.25rem;
	margin: 0;
	padding: 0.75rem 2.75rem 0.75rem 2.75rem;
	border: 1px solid #fecaca;
	border-radius: 0.75rem;
	outline: none;
	appearance: none;
	background: #fff5f5;
	color: #111827;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 800;
	cursor: pointer;
	box-shadow: none;
}

.hanoi26-account-mobile-nav select:focus-visible {
	border-color: var(--hanoi26-primary, #e53e3e);
	box-shadow: 0 0 0 3px rgb(229 62 62 / 15%);
}

.hanoi26-account-mobile-nav__chevron {
	position: absolute;
	right: 1rem;
	color: #9ca3af;
	font-size: 0.75rem;
	pointer-events: none;
}

.hanoi26-account-mobile-nav__logout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	margin-top: 0.75rem;
	padding: 0.75rem;
	border-top: 1px solid #f3f4f6;
	color: #ef4444;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
}

@media (min-width: 1024px) {
	.hanoi26-account-mobile-nav {
		display: none;
	}

	.hanoi26-account-desktop-nav {
		display: flex;
	}
}

@keyframes hanoi26TabFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hanoi26-login-main .hanoi26-login-auth-panels {
	position: relative;
	min-height: 0;
}

.hanoi26-login-main .form-container {
	display: none;
}

.hanoi26-login-main .form-container.active {
	display: block;
	animation: hanoi26AuthFadeIn 0.18s ease-out;
}

@keyframes hanoi26AuthFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hanoi26-login-main .form-container.active {
		animation: none;
	}
}

.hanoi26-login-main .captcha-checkbox:checked + div {
	background-color: #4a90e2;
	border-color: #4a90e2;
}

.hanoi26-login-main .captcha-checkbox:checked + div svg {
	opacity: 1;
	transform: scale(1);
}

.hanoi26-order-card.is-hidden {
	display: none;
}

.hanoi26-login-main .woocommerce-form-row {
	margin: 0;
}

.hanoi26-edit-address-form .form-row {
	margin-bottom: 1rem;
	float: none;
	width: 100%;
}

.hanoi26-edit-address-form .form-row label {
	display: block;
	margin-bottom: 0.5rem;
}

.hanoi26-edit-address-form .woocommerce-input-wrapper {
	display: block;
}

.hanoi26-edit-address-form .woocommerce-address-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

.hanoi26-edit-address-form .form-row-first,
.hanoi26-edit-address-form .form-row-last {
	width: calc(50% - 0.5rem);
}

.hanoi26-edit-address-form .form-row-wide {
	width: 100%;
}

.hanoi26-edit-address-form .hanoi26-field-hidden {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden;
}

.hanoi26-account-notices .woocommerce-message,
.hanoi26-account-notices .woocommerce-error,
.hanoi26-account-notices .woocommerce-info {
	border-radius: 0.75rem;
	margin: 0 0 1rem;
	padding: 0.9rem 1rem;
	list-style: none;
	border: 1px solid transparent;
	font-weight: 600;
	box-shadow: 0 6px 20px rgb(17 24 39 / 8%);
}

.hanoi26-account-notices .woocommerce-message {
	background: #ecfdf3;
	border-color: #86efac;
	color: #166534;
}

.hanoi26-account-notices .woocommerce-info {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8;
}

.hanoi26-account-notices .woocommerce-error {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
}

.hanoi26-account-notices .woocommerce-message a,
.hanoi26-account-notices .woocommerce-info a,
.hanoi26-account-notices .woocommerce-error a {
	color: inherit;
	text-decoration: underline;
}

.hanoi26-edit-address-form select,
.hanoi26-edit-address-form .input-text {
	width: 100% !important;
	min-height: 3rem;
	box-sizing: border-box;
}

.hanoi26-edit-address-form select {
	appearance: none;
}

@media (max-width: 767px) {
	.hanoi26-edit-address-form .form-row-first,
	.hanoi26-edit-address-form .form-row-last {
		width: 100%;
	}
}

.hanoi26-my-account-page .woocommerce-MyAccount-content > .woocommerce {
	width: 100%;
}

.hanoi26-my-account-page .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border-collapse: collapse;
}

.hanoi26-my-account-page .woocommerce-MyAccount-content table.shop_table th,
.hanoi26-my-account-page .woocommerce-MyAccount-content table.shop_table td {
	padding: 0.75rem;
	border-bottom: 1px solid #f3f4f6;
	text-align: left;
}

/* Toast */
.hanoi26-account-toast {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 9999;
	max-width: 22rem;
	padding: 0.875rem 1.25rem;
	border-radius: 0.75rem;
	background: #111827;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: 0 10px 40px rgb(0 0 0 / 0.15);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.hanoi26-account-toast--visible {
	opacity: 1;
	transform: translateY(0);
}

.hanoi26-account-toast--error {
	background: #dc2626;
}

/* Address book */
.hanoi26-address-card .hanoi26-delete-address:disabled,
.hanoi26-address-card .hanoi26-set-default-address:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.hanoi26-address-book-form .form-row {
	margin-bottom: 1rem;
	float: none;
	width: 100%;
}

.hanoi26-address-book-form .form-row-first,
.hanoi26-address-book-form .form-row-last {
	width: calc(50% - 0.5rem);
}

.hanoi26-address-book-form .form-row-wide {
	width: 100%;
}

.hanoi26-address-book-form .woocommerce-address-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

.hanoi26-address-book-form .hanoi26-address-default-field {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	margin-bottom: 0;
}

.hanoi26-address-book-form .hanoi26-address-default-field label {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	cursor: pointer;
	line-height: 1.25;
}

.hanoi26-address-book-form .hanoi26-address-default-checkbox {
	flex: 0 0 auto;
	width: 1.125rem !important;
	height: 1.125rem;
	margin: 0;
	padding: 0;
	accent-color: #e53e3e;
	cursor: pointer;
}

/* View order */
.hanoi26-view-order address {
	font-style: normal;
}

.hanoi26-view-order-items .flex {
	align-items: center;
}

/* Empty states */
.hanoi26-empty-state i {
	line-height: 1;
}

/* Invalid fields */
.hanoi26-my-account-shell .woocommerce-invalid input,
.hanoi26-my-account-shell .woocommerce-invalid select {
	border-color: #dc2626 !important;
}

.hanoi26-my-account-shell .woocommerce-error li {
	list-style: none;
}

.hanoi26-password-field-wrap .hanoi26-field-error {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: #e53e3e !important;
}

.hanoi26-password-field-wrap .hanoi26-field-success {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: #16a34a !important;
}

.hanoi26-my-account-shell .hanoi26-password-field.hanoi26-input-invalid {
	border-color: #dc2626 !important;
	background-color: #fff5f5 !important;
}

.hanoi26-my-account-shell .hanoi26-password-field.hanoi26-input-valid {
	border-color: #16a34a !important;
}

.hanoi26-my-account-shell #hanoi26-password-change-form .hanoi26-password-criteria.is-visible > li.hanoi26-password-criterion {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #e53e3e !important;
}

.hanoi26-my-account-shell #hanoi26-password-change-form .hanoi26-password-criteria.is-visible > li.hanoi26-password-criterion.is-met {
	color: #16a34a !important;
}

.hanoi26-my-account-shell #hanoi26-password-change-form .hanoi26-password-criteria.is-visible > li.hanoi26-password-criterion::before {
	content: '✕';
	margin-right: 0.15rem;
	font-size: 0.7rem;
	font-weight: 700;
}

.hanoi26-my-account-shell #hanoi26-password-change-form .hanoi26-password-criteria.is-visible > li.hanoi26-password-criterion.is-met::before {
	content: '✓';
}

.hanoi26-password-criteria {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: none;
	gap: 0.35rem;
}

.hanoi26-password-criteria.is-visible {
	display: grid;
}

#hanoi26-password-change-form .woocommerce-password-strength,
#hanoi26-password-change-form .woocommerce-password-hint {
	display: none !important;
}

/* Checkout saved addresses */
.hanoi26-saved-address-picker .hanoi26-saved-address-option {
	display: flex;
}

.hanoi26-saved-address-picker input[type='radio'] {
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.hanoi26-address-book-form .form-row-first,
	.hanoi26-address-book-form .form-row-last {
		width: 100%;
	}

	.hanoi26-account-toast {
		left: 1rem;
		right: 1rem;
		max-width: none;
	}
}

/* H26 Loyalty dark UI */
.h26-loyalty-wrap {
	background: #05070d;
	color: #e5e7eb;
	border-radius: 1.25rem;
	border: 1px solid #171a24;
	overflow: hidden;
}

.h26-loyalty-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #1a1e2b;
}

.h26-loyalty-brand {
	color: #d1d5db;
	letter-spacing: 0.04em;
	font-size: 0.9rem;
}

.h26-loyalty-brand strong {
	font-size: 1.8rem;
	color: #fff;
	margin-right: 0.35rem;
}

.h26-loyalty-pill {
	background: #111522;
	border: 1px solid #252b3e;
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-weight: 700;
}

.h26-loyalty-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid #1a1e2b;
}

.h26-loyalty-tab {
	padding: 0.9rem 0.6rem;
	background: transparent;
	color: #8e95a9;
	font-weight: 700;
	border: 0;
	border-bottom: 2px solid transparent;
}

.h26-loyalty-tab.is-active {
	color: #fff;
	border-bottom-color: #f87171;
}

.h26-loyalty-panel {
	display: none;
	padding: 1.25rem;
}

.h26-loyalty-panel.is-active {
	display: block;
}

.h26-hero {
	text-align: center;
	padding: 0.5rem 0 1.25rem;
}

.h26-hero-badge {
	display: inline-block;
	background: #2a1016;
	border: 1px solid #5a202c;
	color: #f87171;
	font-size: 0.73rem;
	letter-spacing: 0.1em;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-weight: 800;
}

.h26-hero h2 {
	color: #fff;
	font-size: 2.2rem;
	line-height: 1.1;
	font-weight: 900;
	margin: 1rem 0 0.65rem;
}

.h26-hero p {
	color: #9ca3af;
}

.h26-tier-grid,
.h26-benefit-grid,
.h26-metric-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
}

.h26-tier-card,
.h26-rule-item,
.h26-benefit-card,
.h26-account-card,
.h26-metric-card,
.h26-history-item,
.h26-alert-expire {
	background: radial-gradient(circle at top right, #1b2030 0%, #12151f 45%, #0d1018 100%);
	border: 1px solid #272c3f;
	border-radius: 1rem;
	padding: 1rem;
}

.h26-tier-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.7rem;
}

.h26-tier-head h3 {
	font-size: 2rem;
	font-weight: 900;
	color: #fff;
}

.h26-tier-head strong {
	font-size: 3rem;
	line-height: 1;
	color: #facc15;
	font-weight: 900;
}

.h26-tier-sub {
	color: #9ca3af;
	margin: 0.2rem 0 0.8rem;
}

.h26-tier-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #212638;
	padding-top: 0.75rem;
}

.h26-tier-card li {
	color: #d1d5db;
	padding: 0.23rem 0;
}

.h26-section-title {
	margin: 1rem 0 0.8rem;
	font-size: 1.75rem;
	font-weight: 900;
	color: #fff;
}

.h26-rule-list {
	display: grid;
	gap: 0.7rem;
}

.h26-rule-item strong {
	display: block;
	color: #fff;
	font-size: 1.25rem;
}

.h26-rule-item span {
	display: block;
	color: #9ca3af;
	margin-top: 0.25rem;
}

.h26-benefit-card strong {
	font-size: 2.6rem;
	color: #fcd34d;
	font-weight: 900;
}

.h26-benefit-card span {
	font-size: 1.2rem;
	margin-left: 0.3rem;
	color: #d1d5db;
}

.h26-benefit-card p {
	margin: 0.45rem 0 0;
	color: #9ca3af;
}

.h26-account-card h3 {
	font-size: 2rem;
	color: #fff;
	font-weight: 900;
}

.h26-account-tier {
	display: inline-block;
	margin-top: 0.35rem;
	background: #1d2436;
	border: 1px solid #334155;
	border-radius: 999px;
	padding: 0.3rem 0.65rem;
	font-size: 0.78rem;
	font-weight: 800;
}

.h26-account-coin {
	font-size: 4rem;
	line-height: 1;
	margin-top: 0.7rem;
	font-weight: 900;
	color: #fff;
}

.h26-account-coin span {
	font-size: 2rem;
	color: #9ca3af;
}

.h26-account-sub {
	color: #86efac;
	font-weight: 700;
	margin-top: 0.3rem;
}

.h26-account-next {
	margin-top: 1rem;
	color: #cbd5e1;
}

.h26-account-next strong {
	color: #fbbf24;
	float: right;
}

.h26-progress {
	height: 0.55rem;
	border-radius: 999px;
	background: #232838;
	overflow: hidden;
	margin-top: 0.4rem;
}

.h26-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #fde047, #f59e0b);
}

.h26-account-target {
	margin-top: 0.35rem;
	color: #9ca3af;
}

.h26-alert-expire strong {
	color: #fbbf24;
	display: block;
}

.h26-alert-expire span {
	color: #d1d5db;
}

.h26-metric-card label {
	display: block;
	color: #9ca3af;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.h26-metric-card strong {
	display: block;
	color: #fff;
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.1;
	margin-top: 0.45rem;
}

.h26-metric-card span {
	color: #9ca3af;
}

.h26-history-list {
	display: grid;
	gap: 0.7rem;
}

.h26-history-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.h26-history-item strong {
	color: #fff;
	display: block;
}

.h26-history-item span {
	color: #9ca3af;
	font-size: 0.85rem;
}

.h26-history-item b.plus {
	color: #4ade80;
}

.h26-history-item b.minus {
	color: #f87171;
}

@media (min-width: 768px) {
	.h26-tier-grid,
	.h26-benefit-grid,
	.h26-metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
