/* ═════════════════════════════════════════════════════════════════════
   Trang Tài khoản (WooCommerce My Account) — .tas-ac-*
   Khung: page-account.php · Template: woocommerce/myaccount/*.php
   Phủ lên CSS mặc định của WooCommerce (woocommerce-general/layout/smallscreen) trong phạm vi .tas-ac.
   ═════════════════════════════════════════════════════════════════════ */
.tas-ac { --ink: #0b1220; --text: #334155; --muted: #64748b; --line: #e6eaf1; --soft: #f6f8fc; --blue: #2563eb; --blue-d: #1d4ed8; --r: 18px;
	min-height: 60vh; padding-bottom: 72px; background: var(--soft); color: var(--text); }
.tas-ac *, .tas-ac *::before, .tas-ac *::after { box-sizing: border-box; }
.tas-ac svg { width: 18px; height: 18px; flex-shrink: 0; }
.tas-ac a { text-decoration: none; }
.tas-ac > .woocommerce { margin: 0; }
.tas-ac > .wp-block-spacer, .tas-ac > p:empty { display: none; } /* khoảng trống Gutenberg quanh shortcode trong nội dung trang */
.tas-ac-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nút */
.tas-ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-size: 14.5px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.tas-ac-btn:hover { transform: translateY(-1px); }
.tas-ac-btn.is-light { border-color: var(--line); background: #fff; color: var(--ink) !important; }
.tas-ac-btn.is-light:hover { border-color: #cbd5e1; }
.tas-ac-btn.is-dark { background: var(--ink); color: #fff !important; box-shadow: 0 10px 24px -14px rgba(11, 18, 32, .8); }
.tas-ac-btn.is-dark:hover { background: var(--blue); }
.tas-ac-btn.is-blue { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .8); }
.tas-ac-btn.is-sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; }
.tas-ac-btn.is-sm svg { width: 16px; height: 16px; }

/* ── Dải chào ── */
.tas-ac-hero { position: relative; overflow: hidden; padding: 36px 0 92px; background: radial-gradient(700px 360px at 0% -20%, rgba(59, 130, 246, .2), transparent 70%), radial-gradient(600px 340px at 100% 0%, rgba(6, 182, 212, .14), transparent 72%), linear-gradient(180deg, #eef4ff, var(--soft)); }
.tas-ac-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(37, 99, 235, .15) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(80% 90% at 20% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(80% 90% at 20% 0%, #000 20%, transparent 70%); pointer-events: none; }
.tas-ac-hero-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.tas-ac-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tas-ac-avatar { position: relative; display: inline-flex; flex-shrink: 0; width: 68px; height: 68px; align-items: center; justify-content: center; border-radius: 20px; background: linear-gradient(135deg, #2563eb, #06b6d4); color: #fff; font-size: 28px; font-weight: 800; box-shadow: 0 16px 30px -14px rgba(37, 99, 235, .7); }
.tas-ac-avatar i { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: #22c55e; }
.tas-ac-hello { margin: 0 0 2px; color: var(--blue-d); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tas-ac-hero h1 { margin: 0; color: var(--ink); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tas-ac-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.tas-ac-meta span + span::before { content: "•"; margin-right: 14px; color: #cbd5e1; }
.tas-ac-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Bố cục ── */
.tas-ac-layout { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: -60px; }
.tas-ac-side { position: sticky; top: 96px; display: grid; gap: 14px; }

/* Menu */
.tas-ac .tas-ac-nav { float: none; width: auto; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .4); }
.tas-ac-nav-label { margin: 6px 10px 8px; color: #94a3b8; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tas-ac-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tas-ac-nav li { margin: 0; }
.tas-ac-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #475569; font-size: 14.5px; font-weight: 600; transition: background .15s ease, color .15s ease; }
.tas-ac-nav a svg { color: #94a3b8; transition: color .15s ease; }
.tas-ac-nav a:hover { background: var(--soft); color: var(--ink); }
.tas-ac-nav a:hover svg { color: var(--blue); }
.tas-ac-nav a[aria-current="page"] { background: #eff6ff; color: var(--blue-d); }
.tas-ac-nav a[aria-current="page"] svg { color: var(--blue); }
.tas-ac-nav a em { margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #e0e7ff; color: #3730a3; font-size: 12px; font-style: normal; font-weight: 800; text-align: center; }
.tas-ac-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.tas-ac-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: #dc2626; }
.tas-ac-nav .woocommerce-MyAccount-navigation-link--customer-logout a svg { color: #f87171; }
.tas-ac-nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fef2f2; }

.tas-ac-help { padding: 18px; border-radius: var(--r); background: linear-gradient(140deg, #0b1220, #1e3a8a); color: #cbd5e1; }
.tas-ac-help b { color: #fff; font-size: 15px; }
.tas-ac-help p { margin: 6px 0 12px; font-size: 13.5px; line-height: 1.55; }
.tas-ac-help a { display: inline-flex; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff !important; font-size: 13.5px; font-weight: 700; }
.tas-ac-help a:hover { background: rgba(255, 255, 255, .2); }

/* Khung nội dung */
.tas-ac-panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .4); }
.tas-ac-panel-head { margin: -4px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tas-ac-panel-head h2 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.tas-ac-back { display: inline-block; margin-bottom: 6px; color: var(--muted) !important; font-size: 13.5px; font-weight: 600; }
.tas-ac-back:hover { color: var(--blue) !important; }
.tas-ac .woocommerce-MyAccount-content { float: none; width: auto; font-size: 15px; line-height: 1.65; }
.tas-ac-body > p:first-child:last-child { margin: 0; }

/* ── Dashboard ── */
.tas-ac-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.tas-ac-stat { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.tas-ac-stat:hover { border-color: #bfdbfe; box-shadow: 0 14px 30px -22px rgba(37, 99, 235, .6); transform: translateY(-2px); }
.tas-ac-stat > span, .tas-ac-o-ic, .tas-ac-empty > span { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px; background: #eff6ff; color: var(--blue); }
.tas-ac-stat > span svg { width: 22px; height: 22px; }
.tas-ac .is-green { background: #ecfdf5; color: #059669; }
.tas-ac .is-amber { background: #fffbeb; color: #d97706; }
.tas-ac-stat strong { display: block; color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.tas-ac-stat strong .woocommerce-Price-currencySymbol { font-size: .7em; }
.tas-ac-stat small { color: var(--muted); font-size: 13px; font-weight: 600; }

.tas-ac-block { margin-bottom: 26px; }
.tas-ac-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tas-ac-block-head h2 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; }
.tas-ac-block-head a { color: var(--blue) !important; font-size: 14px; font-weight: 700; }
.tas-ac-orders, .tas-ac-files { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tas-ac-orders li, .tas-ac-files li { margin: 0; }
.tas-ac-orders a, .tas-ac-files li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; transition: border-color .15s ease, background .15s ease; }
.tas-ac-orders a:hover { border-color: #bfdbfe; background: #fbfdff; }
.tas-ac-o-ic { width: 40px; height: 40px; border-radius: 12px; }
.tas-ac-o-main { display: grid; flex: 1; min-width: 0; }
.tas-ac-o-main b { overflow: hidden; color: var(--ink); font-size: 14.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tas-ac-o-main b i { color: var(--muted); font-size: 12.5px; font-style: normal; font-weight: 600; }
.tas-ac-o-main small { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tas-ac-o-total { min-width: 92px; color: var(--ink); font-size: 14.5px; font-weight: 800; text-align: right; }

/* Nhãn trạng thái đơn */
.tas-ac-pill, .tas-ac mark.order-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tas-ac-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tas-ac-pill.is-completed { background: #dcfce7; color: #15803d; }
.tas-ac-pill.is-processing { background: #dbeafe; color: #1d4ed8; }
.tas-ac-pill.is-on-hold, .tas-ac-pill.is-pending { background: #fef3c7; color: #b45309; }
.tas-ac-pill.is-cancelled, .tas-ac-pill.is-failed, .tas-ac-pill.is-refunded { background: #fee2e2; color: #b91c1c; }
.tas-ac mark.order-status { padding: 2px 8px; background: #eff6ff; color: var(--blue-d); }

.tas-ac-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 18px; border: 1.5px dashed #dbe3ee; border-radius: 16px; background: var(--soft); text-align: center; }
.tas-ac-empty p { margin: 0; color: var(--muted); font-size: 14.5px; }

.tas-ac-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tas-ac-quick a { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); color: inherit; transition: background .15s ease, border-color .15s ease; }
.tas-ac-quick a:hover { border-color: #bfdbfe; background: #fff; }
.tas-ac-quick svg { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.tas-ac-quick span { display: grid; }
.tas-ac-quick b { color: var(--ink); font-size: 14.5px; }
.tas-ac-quick small { color: var(--muted); font-size: 13px; }

/* ── Thông báo ── */
.tas-ac .woocommerce-message, .tas-ac .woocommerce-info, .tas-ac .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 20px; padding: 14px 16px; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; color: #1e3a8a; font-size: 14.5px; line-height: 1.55; list-style: none; text-align: left; }
.tas-ac .woocommerce-message::before, .tas-ac .woocommerce-info::before, .tas-ac .woocommerce-error::before { display: none; }
.tas-ac .woocommerce-message { border-color: #bbf7d0; background: #f0fdf4; color: #14532d; }
.tas-ac .woocommerce-error { display: block; border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.tas-ac .woocommerce-error li { margin: 0; }
.tas-ac .woocommerce-message .button, .tas-ac .woocommerce-info .button { order: 2; float: none; margin: 0; }
.tas-ac .woocommerce-notices-wrapper:empty { display: none; }

/* ── Nút WooCommerce trong khung ── */
.tas-ac .woocommerce-MyAccount-content .button, .tas-ac .woocommerce-message .button, .tas-ac .woocommerce-info .button, .tas-ac .woocommerce-MyAccount-downloads-file, .tas-ac form.lost_reset_password .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; margin: 2px 4px 2px 0; padding: 0 14px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff !important; font-size: 13.5px; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 8px 18px -12px rgba(37, 99, 235, .9); transition: transform .15s ease; }
.tas-ac .woocommerce-MyAccount-content .button:hover, .tas-ac .woocommerce-MyAccount-downloads-file:hover { transform: translateY(-1px); }
.tas-ac .woocommerce-MyAccount-content .button.view, .tas-ac .woocommerce-MyAccount-content .button.cancel, .tas-ac .woocommerce-MyAccount-content .woocommerce-pagination .button { border: 1px solid var(--line); background: #fff; color: var(--ink) !important; box-shadow: none; }
.tas-ac .woocommerce-MyAccount-content .button.cancel { color: #b91c1c !important; }

/* ── Bảng (đơn hàng, tải xuống, chi tiết đơn) ── */
.tas-ac table.shop_table { width: 100%; margin: 0 0 22px; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; background: #fff; font-size: 14.5px; }
.tas-ac table.shop_table th, .tas-ac table.shop_table td { padding: 14px 16px; border: 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; line-height: 1.5; }
.tas-ac table.shop_table thead th { border-top: 0; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tas-ac table.shop_table tbody tr:hover td { background: #fbfdff; }
.tas-ac table.shop_table td a:not(.button) { color: var(--blue); font-weight: 700; }
.tas-ac table.shop_table tfoot th, .tas-ac table.shop_table tfoot td { background: var(--soft); }
.tas-ac table.shop_table tfoot tr:last-child th, .tas-ac table.shop_table tfoot tr:last-child td { color: var(--ink); font-size: 16px; font-weight: 800; }
.tas-ac .woocommerce-orders-table__cell-order-actions, .tas-ac .download-file { text-align: right !important; }
.tas-ac table.shop_table td.woocommerce-orders-table__cell-order-status { color: #475569; font-weight: 700; white-space: nowrap; }
.tas-ac table.shop_table .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color: #15803d; }
.tas-ac table.shop_table .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { color: #1d4ed8; }
.tas-ac table.shop_table .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status, .tas-ac table.shop_table .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { color: #b45309; }
.tas-ac table.shop_table .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status, .tas-ac table.shop_table .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status { color: #b91c1c; }
.tas-ac .woocommerce-pagination { display: flex; justify-content: space-between; gap: 10px; }

/* ── Địa chỉ ── */
.tas-ac .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.tas-ac .woocommerce-Addresses::before, .tas-ac .woocommerce-Addresses::after { display: none; }
.tas-ac .woocommerce-Address { float: none !important; width: auto !important; max-width: none !important; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.tas-ac .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tas-ac .woocommerce-Address-title::before, .tas-ac .woocommerce-Address-title::after { display: none; }
.tas-ac .woocommerce-Address-title h2, .tas-ac .woocommerce-Address-title h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 800; }
.tas-ac .woocommerce-Address-title .edit { float: none; color: var(--blue) !important; font-size: 13.5px; font-weight: 700; }
.tas-ac address { margin: 0; color: var(--text); font-style: normal; line-height: 1.7; }
.tas-ac .woocommerce-customer-details address { padding: 16px; border: 1px solid var(--line) !important; border-radius: 14px; }
.tas-ac .woocommerce-customer-details .woocommerce-column__title, .tas-ac .woocommerce-order-details__title, .tas-ac .woocommerce-order-downloads__title { margin: 22px 0 12px; color: var(--ink); font-size: 17px; font-weight: 800; }

/* ── Form (thông tin tài khoản, địa chỉ, mật khẩu) ── */
.tas-ac .woocommerce-MyAccount-content form .form-row, .tas-ac form.lost_reset_password .form-row { float: none; width: auto; margin: 0 0 16px; padding: 0; }
.tas-ac .woocommerce-MyAccount-content form .form-row-first, .tas-ac .woocommerce-MyAccount-content form .form-row-last { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.tas-ac .woocommerce-MyAccount-content form .form-row-first { margin-right: 12px; }
.tas-ac .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.tas-ac .woocommerce-address-fields__field-wrapper .form-row { display: block !important; width: auto !important; margin-right: 0 !important; }
.tas-ac .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.tas-ac form .form-row label, .tas-ac .tas-ac-card label:not(.woocommerce-form__label-for-checkbox) { display: block; margin: 0 0 6px; color: #334155; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.tas-ac .required { color: #ef4444; text-decoration: none; border: 0; }
.tas-ac input.input-text, .tas-ac select, .tas-ac textarea, .tas-ac .select2-container .select2-selection--single { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #dbe3ee; border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; line-height: 46px; box-shadow: none; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.tas-ac textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; }
.tas-ac input.input-text:focus, .tas-ac select:focus, .tas-ac textarea:focus, .tas-ac .select2-container--focus .select2-selection--single, .tas-ac .select2-container--open .select2-selection--single { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.tas-ac .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; color: var(--ink); line-height: 46px; }
.tas-ac .select2-container .select2-selection--single .select2-selection__arrow { top: 11px; right: 8px; }
.tas-ac form .form-row span em, .tas-ac #account_display_name_description { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-style: normal; }
.tas-ac fieldset { margin: 10px 0 18px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.tas-ac fieldset legend { padding: 0 8px; color: var(--ink); font-size: 15px; font-weight: 800; }
.tas-ac .woocommerce-MyAccount-content form > p:last-of-type .button, .tas-ac .woocommerce-address-fields > p .button { height: 46px; padding: 0 22px; font-size: 14.5px; }
.tas-ac .password-input { position: relative; display: block; }
.tas-ac .show-password-input { position: absolute; top: 50%; right: 10px; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; background: transparent; transform: translateY(-50%); cursor: pointer; }
.tas-ac .woocommerce-password-strength { margin-top: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.tas-ac .woocommerce-password-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

/* ── Đăng nhập / đăng ký (khách) ── */
.tas-ac.is-out { padding: 48px 0 80px; background: radial-gradient(800px 420px at 0% 0%, rgba(59, 130, 246, .16), transparent 70%), radial-gradient(700px 400px at 100% 100%, rgba(6, 182, 212, .12), transparent 72%), var(--soft); }
.tas-ac-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 28px; align-items: stretch; max-width: 1040px; }
.tas-ac-auth > .woocommerce-notices-wrapper, .tas-ac-auth > .woocommerce-error, .tas-ac-auth > .woocommerce-message, .tas-ac-auth > .woocommerce-info { grid-column: 1 / -1; margin: 0; }
.tas-ac-auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px; border-radius: 26px; background: radial-gradient(420px 260px at 100% 0%, rgba(6, 182, 212, .3), transparent 70%), linear-gradient(150deg, #0b1220 10%, #1e3a8a); color: #cbd5e1; }
.tas-ac-auth-side::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 36px solid rgba(255, 255, 255, .05); border-radius: 50%; pointer-events: none; }
.tas-ac-auth-badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #bfdbfe; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.tas-ac-auth-side h1 { margin: 18px 0 10px; color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.tas-ac-auth-side > p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; }
.tas-ac-auth-side ul { display: grid; gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.tas-ac-auth-side li { display: flex; gap: 14px; margin: 0; font-size: 14px; line-height: 1.5; }
.tas-ac-auth-side li svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #67e8f9; }
.tas-ac-auth-side li b { display: block; color: #fff; font-size: 15px; }
.tas-ac-auth-note { margin: auto 0 0 !important; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 14px !important; line-height: 1.6; }
.tas-ac-auth-note a { color: #67e8f9 !important; font-weight: 700; white-space: nowrap; }
.tas-ac-auth-forms { display: grid; gap: 18px; align-content: start; }
.tas-ac-card { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .45); }
.tas-ac-card h2 { margin: 0 0 4px; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.tas-ac-card-sub { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }
.tas-ac-card form { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.tas-ac-card .form-row { margin: 0 0 16px !important; padding: 0 !important; }
.tas-ac-field { position: relative; display: block; }
.tas-ac-field > svg { position: absolute; top: 15px; left: 14px; z-index: 1; color: #94a3b8; pointer-events: none; }
.tas-ac-field input.input-text { padding-left: 44px; }
.tas-ac-field .password-input input.input-text { padding-right: 46px; }
.tas-ac-row-between::before, .tas-ac-row-between::after { display: none !important; }
.tas-ac-row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tas-ac-row-between label { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; color: #475569; font-size: 14px; font-weight: 600; cursor: pointer; }
.tas-ac-row-between input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.tas-ac-row-between a { color: var(--blue) !important; font-size: 14px; font-weight: 700; }
.tas-ac .tas-ac-submit { display: flex; width: 100%; height: 50px; align-items: center; justify-content: center; margin: 6px 0 0; padding: 0 20px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; font-size: 15.5px; font-weight: 800; box-shadow: 0 14px 28px -14px rgba(37, 99, 235, .9); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.tas-ac .tas-ac-submit:hover { background: linear-gradient(135deg, #1d4ed8, #4338ca); color: #fff; transform: translateY(-1px); }
.tas-ac .tas-ac-submit.is-alt { background: var(--ink); box-shadow: none; }
.tas-ac-hint { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }

/* Quên / đặt lại mật khẩu (template mặc định của WooCommerce) */
.tas-ac form.lost_reset_password { max-width: 520px; margin: 0 auto; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .45); }
.tas-ac form.lost_reset_password > p:first-child { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tas-ac form.lost_reset_password .button { width: 100%; height: 50px; font-size: 15px; }
.tas-ac.is-out > .woocommerce > .woocommerce-notices-wrapper, .tas-ac.is-out > .woocommerce > .woocommerce-message, .tas-ac.is-out > .woocommerce > .woocommerce-info { max-width: 520px; margin: 0 auto 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
	.tas-ac-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tas-ac-side { position: static; }
	.tas-ac .tas-ac-nav { padding: 6px; }
	.tas-ac-nav-label { display: none; }
	.tas-ac-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.tas-ac-nav ul::-webkit-scrollbar { display: none; }
	.tas-ac-nav a { padding: 10px 14px; white-space: nowrap; }
	.tas-ac-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	.tas-ac-help { display: none; }
	.tas-ac-auth { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.tas-ac-auth-forms { order: -1; }
	.tas-ac-auth-side { padding: 28px; }
}
@media (max-width: 768px) {
	.tas-ac-wrap { padding: 0 16px; }
	.tas-ac-hero { padding: 24px 0 76px; }
	.tas-ac-meta { flex-direction: column; }
	.tas-ac-meta span + span::before { display: none; }
	.tas-ac-avatar { width: 56px; height: 56px; border-radius: 16px; font-size: 22px; }
	.tas-ac-hero-cta { width: 100%; }
	.tas-ac-hero-cta .tas-ac-btn { flex: 1; height: 42px; padding: 0 12px; font-size: 13.5px; }
	.tas-ac-panel { padding: 18px; border-radius: 18px; }
	.tas-ac-stats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.tas-ac-stat { padding: 14px; }
	.tas-ac-quick { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.tas-ac-orders a { flex-wrap: wrap; row-gap: 8px; }
	.tas-ac-orders .tas-ac-o-main { flex-basis: calc(100% - 54px); }
	.tas-ac-orders .tas-ac-pill { margin-left: 54px; }
	.tas-ac-o-total { flex: 1; min-width: 0; }
	.tas-ac-files li { flex-wrap: wrap; }
	.tas-ac-files .tas-ac-o-main { flex-basis: calc(100% - 54px); }
	.tas-ac-files .tas-ac-btn { width: 100%; }
	/* Bảng → thẻ */
	.tas-ac table.shop_table_responsive { border: 0; border-radius: 0; background: transparent; overflow: visible; }
	.tas-ac table.shop_table_responsive thead { display: none; }
	.tas-ac table.shop_table_responsive tbody tr { display: block; margin-bottom: 10px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
	.tas-ac table.shop_table_responsive tbody tr:hover td { background: transparent; }
	.tas-ac table.shop_table_responsive tbody td, .tas-ac table.shop_table_responsive tbody th { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 6px; padding: 9px 0 !important; border-top: 1px solid var(--line); text-align: right !important; background: transparent !important; }
	.tas-ac table.shop_table_responsive tbody tr > :first-child { border-top: 0; }
	.tas-ac table.shop_table_responsive tbody tr > :first-child { justify-content: flex-start; color: var(--ink); font-weight: 800; }
	.tas-ac table.shop_table_responsive tbody td::before { content: attr(data-title); float: none; margin-right: auto; color: var(--muted); font-size: 13px; font-weight: 700; text-align: left; }
	.tas-ac table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before, .tas-ac table.shop_table_responsive tbody td.download-file::before { display: none; }
	.tas-ac table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions, .tas-ac table.shop_table_responsive tbody td.download-file { justify-content: flex-end; flex-wrap: wrap; }
	.tas-ac .woocommerce-MyAccount-content form .form-row-first, .tas-ac .woocommerce-MyAccount-content form .form-row-last { display: block; width: auto; margin-right: 0; }
	.tas-ac .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.tas-ac-card, .tas-ac form.lost_reset_password { padding: 24px 20px; border-radius: 20px; }
	.tas-ac.is-out { padding: 24px 0 56px; }
	.tas-ac-auth-side h1 { font-size: 22px; }
}
