html {
    scroll-behavior: smooth;
}
.guide-badge-pill i, .g-nav-pill i {
    width: 14px;
    text-align: center;
    display: inline-block;
}
main#main-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}
.guide-wrapper {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 32px 16px 80px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    font-family: inherit;
}

.guide-hero {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 30px;
}
.guide-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.06);
    border: 1px solid rgba(24, 24, 27, 0.14);
    color: #18181b;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
[data-theme="dark"] .guide-badge-pill {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fafafa;
}
.guide-main-title {
    font-size: clamp(24px, 3.8vw, 32px);
    font-weight: 900;
    color: var(--text, #0f172a);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-align: center;
}
[data-theme="dark"] .guide-main-title {
    color: #f8fafc;
}
.guide-subtitle {
    font-size: 14.5px;
    color: var(--text-muted, #64748b);
    max-width: 600px;
    margin: 0 auto 18px;
    line-height: 1.6;
    text-align: center;
}
[data-theme="dark"] .guide-subtitle {
    color: #94a3b8;
}

.guide-nav-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px auto 0;
    width: 100%;
}
.g-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 11px;
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border, #e2e8f0);
    color: var(--text, #1e293b);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.g-nav-pill:hover {
    color: #18181b;
    border-color: #52525b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .g-nav-pill {
    background: #111114;
    border-color: rgba(255, 255, 255, 0.085);
    color: #e4e4e7;
    box-shadow: none;
}
[data-theme="dark"] .g-nav-pill:hover {
    color: #fafafa;
    border-color: #fafafa;
    background: #18181c;
}

.guide-card {
    width: 100% !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
    margin: 0 auto 24px !important;
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border, #e2e8f0);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.035);
    transition: border-color 0.2s, box-shadow 0.2s;
    scroll-margin-top: 86px;
}
[data-theme="dark"] .guide-card {
    background: #111114;
    border-color: rgba(255, 255, 255, 0.085);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.guide-card:hover {
    border-color: rgba(24, 24, 27, 0.25);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1.5px solid var(--border, #f1f5f9);
}
[data-theme="dark"] .guide-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.085);
}
.guide-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.g-badge-purple { background: linear-gradient(135deg, #18181b, #27272a); }
.g-badge-green  { background: linear-gradient(135deg, #059669, #10b981); }
.g-badge-amber  { background: linear-gradient(135deg, #d97706, #f59e0b); }
.g-badge-blue   { background: linear-gradient(135deg, #2563eb, #06b6d4); }

.guide-header-text {
    flex: 1;
    min-width: 0;
}
.guide-card-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}
.tag-purple { background: rgba(24, 24, 27, 0.08); color: #18181b; }
.tag-green  { background: rgba(16, 185, 129, 0.1); color: #059669; }
.tag-amber  { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.tag-blue   { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
[data-theme="dark"] .tag-purple { background: rgba(255, 255, 255, 0.08); color: #e4e4e7; }
[data-theme="dark"] .tag-green  { background: rgba(52, 211, 153, 0.15); color: #34d399; }
[data-theme="dark"] .tag-amber  { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }
[data-theme="dark"] .tag-blue   { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }

.guide-card-title {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--text, #0f172a);
    margin: 0 0 4px;
    line-height: 1.35;
}
[data-theme="dark"] .guide-card-title {
    color: #f1f5f9;
}
.guide-card-desc {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin: 0;
    line-height: 1.5;
}
[data-theme="dark"] .guide-card-desc {
    color: #94a3b8;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
}
.guide-step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 16px;
    border-radius: 13px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    transition: all 0.18s ease;
}
[data-theme="dark"] .guide-step-item {
    background: #18181c;
    border-color: #27272a;
}
.guide-step-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(3px);
}
[data-theme="dark"] .guide-step-item:hover {
    background: #202026;
    border-color: #3f3f46;
}
.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #18181b, #27272a);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
}
.step-content {
    flex: 1;
    min-width: 0;
}
.step-content h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text, #0f172a);
    margin: 0 0 3px;
    line-height: 1.35;
}
[data-theme="dark"] .step-content h4 {
    color: #f1f5f9;
}
.step-content p {
    font-size: 13px;
    color: var(--text-muted, #475569);
    margin: 0;
    line-height: 1.55;
}
[data-theme="dark"] .step-content p {
    color: #94a3b8;
}
.guide-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #18181b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s;
}
.guide-inline-link:hover {
    color: #27272a;
}
[data-theme="dark"] .guide-inline-link {
    color: #e4e4e7;
}
[data-theme="dark"] .guide-inline-link:hover {
    color: #fafafa;
}

.guide-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
}
.guide-sub-card {
    background: #f8fafc;
    border: 1.5px solid #eef2f6;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.2s ease;
}
[data-theme="dark"] .guide-sub-card {
    background: #18181c;
    border-color: #27272a;
}
.guide-sub-card:hover {
    border-color: rgba(24, 24, 27, 0.28);
    transform: translateY(-2px);
}
.sub-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.sub-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.sub-card-head h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text, #0f172a);
    margin: 0 0 2px;
}
[data-theme="dark"] .sub-card-head h4 {
    color: #f1f5f9;
}
.sub-card-head span {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    display: block;
}
[data-theme="dark"] .sub-card-head span {
    color: #94a3b8;
}

.guide-bullet-list {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--text-muted, #475569);
    line-height: 1.7;
}
[data-theme="dark"] .guide-bullet-list {
    color: #a1a1aa;
}
.guide-bullet-list li {
    margin-bottom: 4px;
}
.guide-bullet-list strong {
    color: var(--text, #0f172a);
}
[data-theme="dark"] .guide-bullet-list strong {
    color: #f1f5f9;
}

.guide-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
    margin-top: 14px;
    width: 100%;
    box-sizing: border-box;
}
.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1.5px solid rgba(245, 158, 11, 0.28);
}
.alert-icon {
    font-size: 18px;
    color: #d97706;
    margin-top: 2px;
    flex-shrink: 0;
}
[data-theme="dark"] .alert-icon {
    color: #fbbf24;
}
.alert-content > strong:first-child {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 3px;
}
[data-theme="dark"] .alert-content > strong:first-child {
    color: #fcd34d;
}
.alert-content p {
    font-size: 12px;
    color: #78350f;
    margin: 0;
    line-height: 1.55;
}
.alert-content p strong {
    display: inline !important;
    font-size: inherit;
    font-weight: 800;
    margin: 0;
}
[data-theme="dark"] .alert-content p {
    color: #fde68a;
}

.guide-policy-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.policy-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    transition: all 0.2s ease;
}
[data-theme="dark"] .policy-item {
    background: #18181c;
    border-color: #27272a;
}
.policy-item:hover {
    transform: translateX(3px);
}
.policy-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.policy-text h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text, #0f172a);
    margin: 0 0 3px;
}
[data-theme="dark"] .policy-text h4 {
    color: #f1f5f9;
}
.policy-text p {
    font-size: 12.5px;
    color: var(--text-muted, #475569);
    margin: 0;
    line-height: 1.55;
}
[data-theme="dark"] .policy-text p {
    color: #94a3b8;
}

.guide-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}
.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 13px;
    background: #f8fafc;
    border: 1.5px solid #eef2f6;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
}
[data-theme="dark"] .contact-box {
    background: #18181c;
    border-color: #27272a;
}
.contact-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.cb-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #ffffff !important;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.cb-fb .cb-icon   { background: linear-gradient(135deg, #0084ff, #a033ff) !important; }
.cb-fb:hover      { border-color: rgba(24, 119, 242, 0.4); }

.cb-zalo .cb-icon { background: linear-gradient(135deg, #0068ff, #00a8ff) !important; }
.cb-zalo:hover    { border-color: rgba(0, 104, 255, 0.4); }

.cb-email .cb-icon { background: linear-gradient(135deg, #ea4335, #f87171) !important; }
.cb-email:hover    { border-color: rgba(234, 67, 53, 0.4); }

.cb-time .cb-icon  { background: linear-gradient(135deg, #10b981, #059669) !important; }

.cb-info {
    flex: 1;
    min-width: 0;
}
.cb-type {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
[data-theme="dark"] .cb-type {
    color: #94a3b8;
}
.cb-val {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text, #0f172a);
    word-break: break-all;
    line-height: 1.3;
}
[data-theme="dark"] .cb-val {
    color: #f8fafc;
}
.cb-desc {
    display: block;
    font-size: 11px;
    color: #18181b;
    font-weight: 600;
    margin-top: 2px;
}
[data-theme="dark"] .cb-desc {
    color: #e4e4e7;
}
.cb-arrow {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.2s;
}
.contact-box:hover .cb-arrow {
    color: #18181b;
    transform: translateX(3px);
}
[data-theme="dark"] .contact-box:hover .cb-arrow {
    color: #e4e4e7;
}
.cb-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
[data-theme="dark"] .cb-badge-live {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}
.cb-badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: livePulse 1.6s infinite ease-in-out;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

@media (max-width: 768px) {
    .guide-wrapper { padding: 20px 12px 48px !important; }
    .guide-card { padding: 20px 16px; border-radius: 15px; margin-bottom: 18px !important; }
    .guide-card-header { gap: 12px; margin-bottom: 16px; padding-bottom: 14px; }
    .guide-icon-badge { width: 42px; height: 42px; font-size: 18px; border-radius: 11px; }
    .guide-card-title { font-size: 16.5px; }
    .guide-grid-2 { grid-template-columns: 1fr; gap: 10px; }
    .guide-contact-grid { grid-template-columns: 1fr; gap: 10px; }
    .guide-nav-pills { gap: 6px; }
    .g-nav-pill { padding: 6px 12px; font-size: 11.5px; }
}
