@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #a5b4fc;
    --shopee-orange: #EE4D2D;
    --success-green: #10B981;
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);
    --transition: all .2s cubic-bezier(.4, 0, .2, 1);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #8B5CF6 0%, #EE4D2D 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    margin: 0; padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background: #fdf3ec linear-gradient(170deg, #fff3e6 0%, #fdf0f4 45%, #f0f1fe 100%) no-repeat fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   LAYOUT GỐC (HOANTIEN.CLICK)
   ========================================== */
.minimal-container {
    min-height: 100vh;
    padding-bottom: 80px;
}

.minimal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.header-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.minimal-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.minimal-logo img {
    height: 54px;
    width: auto;
    display: block;
}

.auth-buttons .ant-btn {
    height: 40px;
    border-radius: 8px;
    font-weight: 500;
    padding: 0 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.auth-buttons .btn-guide {
    background: #f1f5f9;
    color: var(--text-secondary);
}

.auth-buttons .btn-guide:hover {
    background: #e2e8f0;
}

.minimal-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.minimal-hero {
    text-align: center;
    margin-bottom: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-banner {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    /* Bo góc bằng CSS (ảnh góc vuông hay đã bo sẵn đều hợp) + bóng mềm ôm theo góc.
       Màu bóng đổi theo từng site qua biến --banner-shadow trong site.css */
    border-radius: 18px;
    box-shadow: 0 12px 28px -10px var(--banner-shadow, rgba(236, 108, 62, .35));
}

.minimal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 16px;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.input-label i { color: var(--primary); }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.smart-input {
    width: 100%;
    height: 52px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    padding: 0 16px;
    outline: none;
}

.smart-input:hover { border-color: var(--primary-light); }
.smart-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px #6366f11a;
}

.smart-input::placeholder { color: var(--text-muted); }

/* Nút Xóa / Dán bên trong input */
.btn-paste, .btn-clear {
    position: absolute;
    right: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: 0.2s;
}
.btn-paste:hover, .btn-clear:hover { background: #e2e8f0; }
.btn-clear { border: none; background: transparent; right: 10px; font-size: 16px; }

/* Nút CTA Gradient Siêu Mượt */
.minimal-cta {
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #8b5cf6, #ee4d2d, #8b5cf6);
    background-size: 200% 200%;
    border: none;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    color: white;
    box-shadow: 0 4px 12px #8b5cf64d, 0 0 #ee4d2d99;
    transition: var(--transition);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    animation: ctaPulse 2.5s ease-in-out infinite, ctaGradient 4s ease infinite;
}

.minimal-cta:before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    animation: ctaShimmer 3.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.minimal-cta:hover:not(:disabled) {
    animation: ctaPulseHover 1.2s ease-in-out infinite, ctaGradient 4s ease infinite;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px #8b5cf680, 0 0 #ee4d2db3;
}

.minimal-cta span, .minimal-cta i { position: relative; z-index: 2; }

@keyframes ctaPulse {
    0%, to { box-shadow: 0 4px 12px #8b5cf64d, 0 0 #ee4d2d99; transform: scale(1); }
    50% { box-shadow: 0 4px 18px #8b5cf666, 0 0 0 10px #ee4d2d00; transform: scale(1.01); }
}
@keyframes ctaPulseHover {
    0%, to { box-shadow: 0 8px 25px #8b5cf680, 0 0 #ee4d2db3; transform: translateY(-2px) scale(1.01); }
    50% { box-shadow: 0 10px 30px #8b5cf699, 0 0 0 12px #ee4d2d00; transform: translateY(-2px) scale(1.02); }
}
@keyframes ctaShimmer { 0% { left: -100%; } 50%, to { left: 100%; } }
@keyframes ctaGradient { 0%, to { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.info-text { font-size: 13px; color: var(--primary); margin-top: 10px; font-weight: 600; text-align: center; }

/* 4 Bước (Steps Inline) */
.steps-inline {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.steps-horizontal-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.step-item-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    position: relative;
    text-align: center;
    flex: 1;
}

.step-item-inline:hover { transform: translateY(-2px); }

.step-number-badge {
    position: absolute;
    top: -4px; left: 50%;
    transform: translateX(-16px);
    width: 20px; height: 20px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
    box-shadow: 0 2px 8px #6366f14d;
}

.step-icon-inline {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    background: #6366f114;
    border-radius: 12px;
    color: var(--primary);
    transition: var(--transition);
    margin: 0 auto;
}

.step-item-inline:hover .step-icon-inline { background: #6366f126; transform: scale(1.1); }
.step-text-inline { font-size: 12px; font-weight: 600; color: var(--text); }
.step-arrow-inline { font-size: 14px; color: var(--text-muted); margin-top: 12px; }

/* Result Box */
.result-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.4s ease-out;
}

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

.success-txt { color: var(--success-green); font-size: 14px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.result-wrapper { display: flex; gap: 10px; }
.result-wrapper .smart-input { background: #f0fdf4; border-color: #86efac; color: #166534; font-weight: 600; }
.btn-copy { background: var(--text); color: var(--white); border: none; padding: 0 20px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.btn-copy:hover { background: #1e293b; }

/* ==========================================
   TRA CỨU VÀ RÚT TIỀN (MODAL, BALANCE CARD)
   ========================================== */
.btn-secondary {
    background: var(--text);
    animation: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-secondary:before { display: none; }
.btn-secondary:hover:not(:disabled) {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.lookup-result-box { margin-top: 20px; animation: fadeIn 0.4s ease-out; }

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}
.balance-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #fef3c7; }
.balance-row:last-child { border-bottom: none; }
.balance-row.balance-available { padding-top: 12px; margin-top: 5px; border-top: 2px dashed #fed7aa; border-bottom: none; }
.balance-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.balance-value { font-size: 16px; font-weight: 700; color: var(--shopee-orange); }

.error-txt {
    color: #ef4444; font-size: 14px; font-weight: 500; text-align: center;
    padding: 12px; background: #fef2f2; border-radius: 8px; border: 1px solid #fca5a5;
}

/* Order List */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
    background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
    padding: 12px 15px; overflow: hidden;
}
.order-header { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.order-main { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-name { font-size: 14px; font-weight: 600; color: var(--text); }
.order-price { font-size: 15px; font-weight: 700; color: var(--shopee-orange); white-space: nowrap; }
.order-sub { display: flex; justify-content: space-between; align-items: center; }
.order-status { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.status-paid { background: #ecfdf5; color: #059669; }
.status-pending { background: #fef3c7; color: #d97706; }
.status-rejected { background: #fef2f2; color: #dc2626; }
.order-toggle { color: var(--text-muted); font-size: 13px; transition: transform .25s ease; }
.order-item.expanded .order-toggle { transform: rotate(180deg); }

/* ===== Banner mời cài (đầu trang) ===== */
.install-banner {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, #f5ecff 0%, #fff3ee 100%);
    border: 1px solid #e9d5ff; border-radius: 14px;
    padding: 10px 12px; margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, .10);
}
.install-banner .ib-icon { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.install-banner .ib-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.install-banner .ib-text strong { font-size: 14px; font-weight: 700; color: var(--text); }
.install-banner .ib-text span { font-size: 12px; color: var(--text-muted); }
.install-banner .ib-install {
    flex-shrink: 0; border: none; cursor: pointer; white-space: nowrap;
    background: var(--shopee-orange); color: #fff; font-weight: 700; font-size: 13px;
    padding: 9px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
    box-shadow: 0 3px 10px rgba(238, 77, 45, .3); transition: transform .15s ease, filter .15s ease;
}
.install-banner .ib-install:hover { transform: translateY(-1px); filter: brightness(1.05); }
.install-banner .ib-close {
    flex-shrink: 0; border: none; background: transparent; color: var(--text-muted);
    cursor: pointer; font-size: 15px; padding: 4px 6px; line-height: 1;
}
@media (max-width: 480px) {
    .install-banner { gap: 10px; padding: 9px 10px; }
    .install-banner .ib-icon { width: 38px; height: 38px; }
    .install-banner .ib-text span { display: none; }
    .install-banner .ib-install { padding: 8px 13px; }
}

/* ===== Popup tự mời cài ===== */
.install-popup-box { max-width: 360px; width: 100%; text-align: center; position: relative; padding: 26px 22px 22px; }
.install-popup-box .modal-close { position: absolute; top: 12px; right: 12px; }
.ipop-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 12px; box-shadow: 0 6px 18px rgba(0,0,0,.15); display: block; }
.ipop-title { font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.ipop-sub { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.ipop-benefits { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; display: inline-block; }
.ipop-benefits li { font-size: 13px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; margin: 7px 0; }
.ipop-benefits li i { color: var(--shopee-orange); margin-top: 3px; }
.ipop-install { width: 100%; background: var(--shopee-orange); }
.ipop-later { display: block; width: 100%; margin-top: 10px; background: none; border: none; color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px; }
.ipop-later:hover { color: var(--text-secondary); }

/* ===== Mời cài đặt PWA ===== */
.install-card {
    background: linear-gradient(135deg, #fff7f4 0%, #fff 60%);
    border: 1px solid #ffe0d4;
    text-align: center;
}
.install-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--shopee-orange);
    background: #fff; border: 1px solid #ffd7c7; border-radius: 999px;
    padding: 5px 12px; margin-bottom: 14px;
}
.install-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.install-sub { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
.install-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; max-width: 460px; margin: 0 auto 18px; }
.install-benefits {
    list-style: none; padding: 0; margin: 0 auto 20px; max-width: 460px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; text-align: left;
}
.install-benefits li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.install-benefits li i { color: var(--shopee-orange); margin-top: 3px; flex-shrink: 0; }
.install-btn { max-width: 420px; margin: 0 auto; background: var(--shopee-orange); }
.install-notif-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin: 12px auto 0; max-width: 420px; width: 100%;
    background: #fff; color: var(--primary); border: 1.5px solid var(--primary-light);
    border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.install-notif-btn:hover:not(:disabled) { background: #eef2ff; border-color: var(--primary); }
.install-notif-btn:disabled { opacity: .7; cursor: default; }
.install-note {
    max-width: 460px; margin: 18px auto 0; text-align: left;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 14px 16px; font-size: 13px; color: var(--text-secondary); line-height: 1.55;
}
.install-note-title { font-weight: 700; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.install-note-title i { color: var(--primary); }
.install-note p { margin: 6px 0; }
.install-note .pf { font-weight: 700; }
.install-note .pf-android { color: #1f9d55; }
.install-note .pf-ios { color: var(--text); }
.install-note-warn { color: #b45309; background: #fff7ed; border-radius: 8px; padding: 8px 10px; margin-top: 10px !important; }
.install-note-warn i { color: #d97706; }
@media (max-width: 560px) {
    .install-benefits { grid-template-columns: 1fr; }
    .install-title { font-size: 19px; }
}

/* Các bước hướng dẫn cài trên iPhone */
.ios-step { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; font-size: 14px; color: var(--text); line-height: 1.5; }
.ios-step-num {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    background: var(--shopee-orange); color: #fff; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

/* ----- Chi tiết đơn (mở khi bấm) ----- */
.order-detail {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .28s ease;
}
.order-detail-inner { overflow: hidden; min-height: 0; }
.order-item.expanded .order-detail { grid-template-rows: 1fr; }
.od-product {
    display: flex; gap: 10px; align-items: center; margin-bottom: 10px;
    margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border);
}
.od-img {
    width: 52px; height: 52px; border-radius: 8px; object-fit: cover;
    border: 1px solid var(--border); flex-shrink: 0; background: #f1f5f9;
}
.od-img-fallback { position: relative; }
.od-img-fallback::after {
    content: "\f03e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 18px;
}
.od-product-info { flex: 1; min-width: 0; }
.od-product-name { font-size: 13px; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.od-product-meta { display: flex; gap: 14px; margin-top: 4px; font-size: 12px; color: var(--text-muted); font-weight: 600; }
.order-more { font-size: 11px; font-weight: 600; color: var(--primary); background: #eef2ff; padding: 1px 6px; border-radius: 20px; margin-left: 4px; white-space: nowrap; }
.od-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.od-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.od-label { color: var(--text-muted); flex-shrink: 0; }
.od-value { color: var(--text); font-weight: 600; text-align: right; word-break: break-word; }
.od-cancel-note { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #fef2f2; color: #dc2626; font-size: 12px; font-weight: 600; line-height: 1.5; display: flex; align-items: flex-start; gap: 6px; }

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px);
    display: flex; justify-content: center; align-items: center;
    z-index: 2000; padding: 20px; animation: fadeIn 0.3s ease-out;
}

.modal-box {
    background: var(--white); border-radius: 20px; padding: 30px;
    max-width: 440px; width: 100%; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease-out; max-height: 90vh; overflow-y: auto;
}

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

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.modal-header h3 { font-size: 18px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.modal-close { background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; color: var(--text-secondary); cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; }
.modal-close:hover { background: #e2e8f0; color: var(--text); }
.modal-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.modal-note { font-size: 12px; color: #d97706; margin-top: 15px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Select Bank dropdown */
select.smart-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}

.withdraw-balance {
    background: linear-gradient(135deg, #ecfdf5, #fff); border: 1px solid #86efac; border-radius: 12px;
    padding: 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.withdraw-balance span { font-size: 14px; color: var(--text-secondary); font-weight: 600; }
.withdraw-balance strong { font-size: 22px; color: var(--success-green); font-weight: 800; }

.btn-success { background: var(--gradient-success); color: white; animation: none; }
.btn-success:before { display: none; }
.btn-success:hover { box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); transform: translateY(-2px); }

/* Toast */
.toast {
    position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%);
    background: var(--text); color: var(--white); padding: 12px 24px;
    border-radius: 30px; font-size: 14px; font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3000; display: flex; align-items: center; gap: 8px;
}
.toast.show { bottom: 30px; }

/* ===== Dải tin cậy dưới banner (social proof) ===== */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 18px;
    margin: 20px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.trust-left { display: flex; align-items: center; gap: 12px; }
.trust-avatars { display: flex; }
.trust-avatars .ta {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    border: 2px solid #fff;
}
.trust-avatars .ta + .ta { margin-left: -8px; }
.ta-shopee { background: #ee4d2d; }
.ta-tiktok { background: #111; }
.ta-lazada { background: #0f146d; }
.trust-text { font-size: 12.5px; color: var(--text-muted); line-height: 1.35; }
.trust-text strong { display: block; font-size: 14px; color: var(--text); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
}
.trust-badges i { color: #f59e0b; }

/* ===== Menu điều hướng header (ẩn trên mobile) ===== */
.main-nav { display: none; }

/* ===== 3 card lối tắt ===== */
.shortcut-cards {
    display: grid;
    /* Số cột = số thẻ đang hiện (thẻ bị ẩn vì site chưa có video/Zalo không chiếm chỗ)
       -> 1 thẻ giãn full, 2 thẻ chia đôi, 3 thẻ chia ba */
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.shortcut-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}
.shortcut-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.shortcut-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.shortcut-pink .shortcut-icon { background: #fdf2f8; color: #db2777; }
.shortcut-green .shortcut-icon { background: #f0fdf4; color: #16a34a; }
.shortcut-blue .shortcut-icon { background: #eff6ff; color: #2563eb; }
.shortcut-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shortcut-body strong { font-size: 14px; font-weight: 700; }
.shortcut-body small { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.shortcut-body em {
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.shortcut-pink .shortcut-body em { color: #db2777; }
.shortcut-green .shortcut-body em { color: #16a34a; }
.shortcut-blue .shortcut-body em { color: #2563eb; }

/* Cuộn tới khối không bị header dính che mất */
#lookup-section, #terms-section, .platform-picker { scroll-margin-top: 84px; }

/* ===== GIAO DIỆN MÀN HÌNH RỘNG (máy tính): 2 cột ===== */
@media (min-width: 1024px) {
    .header-inner { max-width: 1080px; }
    .minimal-content { max-width: 1080px; }
    .minimal-hero { max-width: 720px; margin-left: auto; margin-right: auto; }
    .main-nav { display: flex; align-items: center; gap: 4px; }
    .main-nav a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 9px 14px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition);
    }
    .main-nav a:hover { background: #f1f5f9; color: var(--text); }
    .main-nav a.active { background: #eef2ff; color: var(--primary); }
    /* card lối tắt nằm trong cột trái hẹp hơn -> thu gọn nhẹ */
    .ws-main .shortcut-cards { gap: 10px; }
    .ws-main .shortcut-card { padding: 12px; gap: 10px; flex-direction: column; align-items: center; text-align: center; }
    .ws-main .shortcut-icon { width: 38px; height: 38px; font-size: 15px; }
    .ws-main .shortcut-body { align-items: center; }
    #workspace-section {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0 28px;
    }
    #dash-hero-card { width: 100%; }
    .ws-main { flex: 1.25; min-width: 0; }
    .ws-side { flex: 1; min-width: 0; }
    /* card đầu cột phải không cần đệm trên (inline style có margin-top 20px) */
    .ws-side > #fb-bypass-section { margin-top: 0 !important; }
}

/* Responsive */
@media (max-width: 640px) {
    .minimal-content { padding-top: 14px; }
    .minimal-hero { margin-bottom: 14px; }
    .trust-bar { justify-content: center; text-align: center; padding: 10px 14px; }
    .shortcut-cards { grid-auto-flow: row; grid-template-columns: 1fr; gap: 10px; }
    .shortcut-card { padding: 12px; align-items: center; }
    .minimal-logo img { height: 46px; }
    .float-contact { right: 10px; bottom: 12px; gap: 8px; }
    .float-contact a { width: 38px; height: 38px; font-size: 16px; }
    .float-zalo { font-size: 11px; }
    .minimal-card { padding: 24px 20px; }
    .step-text-inline { font-size: 11px; }
    .step-icon-inline { width: 40px; height: 40px; font-size: 18px; }
    .modal-box { padding: 24px; }
}

/* ==========================================
   SEEDING POPUP STYLES
   ========================================== */
.seeding-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seeding-popup {
    background: white;
    border-left: 4px solid var(--success-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOutDown 0.5s 4.5s forwards;
    opacity: 0;
    max-width: 300px;
}

.seeding-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-green);
    font-size: 16px;
    flex-shrink: 0;
}

.seeding-content {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}

.seeding-content strong {
    color: var(--dark);
    font-weight: 700;
}

.seeding-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    display: block;
}

@keyframes slideUpFade {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOutDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

@media (max-width: 640px) {
    .seeding-container {
        bottom: 10px;
        left: 10px;
        right: 10px;
        align-items: center;
    }
    .seeding-popup {
        max-width: 100%;
        width: calc(100% - 20px);
    }
}

/* ===== Nút liên hệ nổi góc màn hình (Zalo / Facebook) ===== */
.float-contact {
    position: fixed;
    right: 12px;
    bottom: 16px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-contact a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
    transition: transform 0.2s;
}
.float-contact a:hover { transform: scale(1.1); }
.float-zalo { background: #0068ff; font-size: 12px; animation: floatPulseZalo 2s infinite; }
.float-fb { background: #1877f2; animation: floatPulseFb 2s infinite; }
@keyframes floatPulseZalo {
    0% { box-shadow: 0 0 0 0 rgba(0,104,255,0.45); }
    70% { box-shadow: 0 0 0 8px rgba(0,104,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); }
}
@keyframes floatPulseFb {
    0% { box-shadow: 0 0 0 0 rgba(24,119,242,0.45); }
    70% { box-shadow: 0 0 0 8px rgba(24,119,242,0); }
    100% { box-shadow: 0 0 0 0 rgba(24,119,242,0); }
}

/* ===== BỘ CHỌN NỀN TẢNG HOÀN TIỀN (Shopee / TikTok / Lazada) ===== */
.platform-picker { margin-bottom: 20px; }
.platform-picker-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 12px;
}
.platform-picker-title .hot-badge {
    background: #ef4444; color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 6px; letter-spacing: .5px;
}
.platform-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.platform-tile {
    position: relative; border: none; cursor: pointer; padding: 0;
    border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    color: #fff; font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
    outline: 3px solid transparent; outline-offset: 0;
}
.platform-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.16); }
.platform-tile.active { outline-color: #fff; box-shadow: 0 0 0 3px var(--primary), 0 8px 22px rgba(0,0,0,0.18); }
.platform-tile .pt-logo {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; background: rgba(255,255,255,0.18); backdrop-filter: blur(2px);
}
.platform-tile .pt-name { font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.platform-tile.pt-shopee { background: linear-gradient(150deg, #ff7a45, #ee4d2d); }
.platform-tile.pt-tiktok { background: linear-gradient(150deg, #3a1c2b, #69172f); }
.platform-tile.pt-tiktok .pt-logo { background: #000; }
.platform-tile.pt-lazada { background: linear-gradient(150deg, #2dc5ff, #2b50e0); }
.platform-tile .pt-logo svg { display: block; width: 38px; height: 38px; }
.platform-tile.pt-lazada .pt-logo { background: #fff; }
.platform-tile.pt-lazada .pt-logo svg { width: 46px; height: 38px; }
.platform-tile .pt-soon {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.45); color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 6px;
}
.platform-tile:disabled { cursor: not-allowed; opacity: .85; }
.platform-tile:disabled:hover { transform: none; box-shadow: 0 4px 14px rgba(0,0,0,0.10); }
.platform-panel { display: none; }
.platform-panel.active { display: block; }
@media (max-width: 480px) {
    .platform-tile { font-size: 14px; border-radius: 14px; }
    .platform-tile .pt-logo { width: 52px; height: 52px; font-size: 28px; }
    .platform-tile .pt-logo svg { width: 32px; height: 32px; }
    .platform-tile.pt-lazada .pt-logo svg { width: 38px; height: 31px; }
    .platform-tile .pt-name { font-size: 14px; }
}
