/* Full-page standalone layout: /face-swap */

html,
body.face-swap-page.fs-standalone {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: #080a10;
    color: #f4f6fb;
}

body.fs-standalone.admin-bar {
    padding-top: 0 !important;
}

body.fs-standalone:not(.fs-legal-page) #fs-page-shell,
body.fs-standalone:not(.fs-legal-page) .fs-page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}

/* ─── AIPicto site header ─── */
.fs-site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    background: rgba(8, 10, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.admin-bar .fs-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .fs-site-header {
        top: 46px;
    }
}

.fs-site-header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
}

.fs-site-header-end {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Logo: CSS face-swap icon + AIPicto */
.fs-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #f4f6fb;
    flex-shrink: 0;
}

.fs-logo:hover {
    color: #fff;
}

.fs-logo-mark {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.fs-face {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(145deg, #a29bfe, #6c5ce7);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.45);
}

.fs-face::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    top: 7px;
    left: 8px;
    box-shadow: 8px 0 0 rgba(255, 255, 255, 0.65);
}

.fs-face-a {
    top: 2px;
    left: 2px;
    transform: rotate(-8deg);
    z-index: 2;
}

.fs-face-b {
    bottom: 2px;
    right: 2px;
    transform: rotate(10deg);
    background: linear-gradient(145deg, #00cec9, #0984e3);
    box-shadow: 0 2px 8px rgba(0, 206, 201, 0.4);
    z-index: 1;
}

.fs-swap-ring {
    position: absolute;
    inset: -2px;
    border: 2px solid rgba(162, 155, 254, 0.55);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: fs-logo-spin 4s linear infinite;
}

.fs-swap-ring::before,
.fs-swap-ring::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.fs-swap-ring::before {
    top: -1px;
    right: 6px;
    border-width: 0 4px 5px 4px;
    border-color: transparent transparent #a29bfe transparent;
}

.fs-swap-ring::after {
    bottom: -1px;
    left: 6px;
    border-width: 5px 4px 0 4px;
    border-color: #00cec9 transparent transparent transparent;
}

@keyframes fs-logo-spin {
    to { transform: rotate(360deg); }
}

.fs-logo-type {
    display: flex;
    align-items: baseline;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.fs-logo-ai {
    background: linear-gradient(90deg, #a29bfe, #6c5ce7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fs-logo-picto {
    color: #f4f6fb;
    margin-left: 1px;
}

/* Site nav */
.fs-site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.fs-site-nav-link {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9aa3b8;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.fs-site-nav-link:hover {
    color: #f4f6fb;
    background: rgba(255, 255, 255, 0.06);
}

.fs-site-nav-link.is-active {
    color: #f4f6fb;
    background: rgba(108, 92, 231, 0.22);
}

@media (max-width: 640px) {
    .fs-site-nav {
        display: none;
    }

    .fs-site-header-inner {
        padding: 0.75rem 1rem;
    }

    .fs-logo-type {
        font-size: 1.15rem;
    }
}

/* Blocked credits — still show form */
.fs-blocked-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 118, 117, 0.15), rgba(108, 92, 231, 0.12));
    border: 1px solid rgba(255, 118, 117, 0.35);
}

.fs-blocked-icon {
    font-size: 2rem;
    line-height: 1;
}

.fs-blocked-text {
    flex: 1;
    min-width: 200px;
}

.fs-blocked-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.fs-blocked-text p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--fs-muted);
    line-height: 1.45;
}

.fs-blocked-text a {
    color: var(--fs-accent-2);
    font-weight: 600;
}

.fs-app--no-credits .fs-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.4);
}

.fs-app--no-credits .fs-wizard-form {
    opacity: 0.92;
}

body.fs-standalone:not(.fs-legal-page) .entry-content,
body.fs-standalone:not(.fs-legal-page) .wp-block-post-content,
body.fs-standalone:not(.fs-legal-page) .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fs-app--page {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 3vw, 1.5rem) 3rem;
    min-height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Nội dung chính — gọn, căn giữa */
.fs-app--page > .fs-guest-banner,
.fs-app--page > .fs-low-credit-banner,
.fs-app--page > .fs-blocked-banner,
.fs-app--page > .fs-page-body {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.fs-app--page .fs-history {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.fs-checkout-shell {
    max-width: 920px;
}

.fs-app--page.fs-app--empty {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
}

.fs-app--empty .fs-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.fs-page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 92, 231, 0.35), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 206, 201, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(162, 155, 254, 0.1), transparent),
        #080a10;
    pointer-events: none;
}

.fs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: inherit;
}

.fs-btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

.fs-btn-primary {
    background: linear-gradient(135deg, var(--fs-accent), #5f4fd1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
}

.fs-btn-primary:hover {
    color: #fff;
    filter: brightness(1.08);
}

.fs-btn-ghost {
    background: transparent;
    border-color: var(--fs-border);
    color: var(--fs-text);
}

.fs-btn-ghost:hover {
    background: var(--fs-surface-2);
    color: var(--fs-text);
}

/* Hero — compact, centered */
.fs-page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--fs-border);
}

.fs-hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fs-accent-2);
    margin-bottom: 0.5rem;
}

.fs-page-hero h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.fs-hero-content p {
    margin: 0 auto;
    color: var(--fs-muted);
    max-width: 440px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.fs-hero-stats {
    display: flex;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.fs-hero-stats li {
    text-align: center;
    padding: 0.5rem 0.85rem;
    background: var(--fs-surface);
    border: 1px solid var(--fs-border);
    border-radius: 10px;
    min-width: auto;
}

.fs-hero-stats strong {
    display: inline;
    font-size: 0.9rem;
    color: var(--fs-text);
    margin-right: 0.25rem;
}

.fs-hero-stats span {
    font-size: 0.68rem;
    color: var(--fs-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Workspace — khối form gọn giữa màn hình */
.fs-workspace {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 1rem;
    align-items: start;
    width: 100%;
}

@media (max-width: 960px) {
    .fs-workspace {
        grid-template-columns: 1fr;
    }
}

.fs-form-card,
.fs-preview-card {
    background: var(--fs-surface);
    border: 1px solid var(--fs-border);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.fs-preview-card {
    position: sticky;
    top: 5.5rem;
}

@media (max-width: 960px) {
    .fs-preview-card {
        position: static;
    }
}

/* Wizard tabs */
.fs-wizard-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.fs-wizard-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--fs-border);
    border-radius: 12px;
    background: var(--fs-surface-2);
    color: var(--fs-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-align: left;
}

.fs-wizard-tab:hover {
    border-color: rgba(108, 92, 231, 0.4);
    color: var(--fs-text);
}

.fs-wizard-tab.fs-active {
    border-color: var(--fs-accent);
    background: rgba(108, 92, 231, 0.15);
    color: var(--fs-text);
}

.fs-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    font-size: 0.8rem;
}

.fs-wizard-tab.fs-active .fs-tab-num {
    background: var(--fs-accent);
    color: #fff;
}

.fs-wizard-pane {
    display: none;
    animation: fs-fade-in 0.25s ease;
}

.fs-wizard-pane.fs-active {
    display: block;
}

@keyframes fs-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.fs-pane-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.fs-pane-desc {
    margin: 0 0 1.25rem;
    color: var(--fs-muted);
    font-size: 0.9rem;
}

/* Upload card */
.fs-upload-card {
    display: block;
    position: relative;
    margin-bottom: 1rem;
    cursor: pointer;
}

.fs-upload-card input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.fs-upload-card-inner {
    border: 2px dashed rgba(162, 155, 254, 0.4);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    background: var(--fs-surface-2);
    transition: border-color 0.2s, background 0.2s;
}

.fs-upload-card:hover .fs-upload-card-inner,
.fs-upload-card.fs-has-file .fs-upload-card-inner {
    border-color: var(--fs-accent-2);
    background: rgba(108, 92, 231, 0.06);
}

.fs-upload-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.fs-upload-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.fs-upload-hint {
    font-size: 0.8rem;
    color: var(--fs-muted);
}

.fs-preview--card {
    display: none;
    position: relative;
    margin-top: 0.75rem;
    border-radius: 14px;
    overflow: hidden;
    max-height: 220px;
}

.fs-preview--card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.fs-preview-clear {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

/* Demo grid page */
.fs-demo-grid--large {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    max-height: 240px;
    margin-bottom: 1rem;
}

.fs-demo-item {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    transition: border-color 0.15s, transform 0.15s;
}

.fs-demo-item:hover {
    transform: scale(1.03);
}

.fs-demo-item.fs-selected {
    border-color: var(--fs-accent-2);
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.45);
}

.fs-demo-item .fs-demo-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin: 0;
    border: none;
    border-radius: 0;
}

.fs-demo-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fs-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Summary step */
.fs-summary-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.fs-summary-item {
    text-align: center;
}

.fs-summary-label {
    display: block;
    font-size: 0.75rem;
    color: var(--fs-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fs-summary-preview {
    aspect-ratio: 3/4;
    border-radius: 12px;
    background: var(--fs-surface-2);
    border: 1px solid var(--fs-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-summary-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-summary-empty {
    font-size: 0.8rem;
    color: var(--fs-muted);
}

.fs-summary-arrow {
    font-size: 1.5rem;
    color: var(--fs-accent-2);
    padding-top: 1rem;
}

.fs-submit--hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.15rem 1.5rem;
    font-size: 1.1rem;
}

.fs-submit-icon {
    font-size: 1.25rem;
}

.fs-submit-cost {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 500;
}

.fs-wizard-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fs-border);
}

.fs-wizard-footer .fs-wizard-next {
    margin-left: auto;
}

/* Preview card */
.fs-preview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.fs-preview-card-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fs-muted);
}

.fs-preview-status {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--fs-surface-2);
    color: var(--fs-muted);
    border: 1px solid var(--fs-border);
}

.fs-preview-status.fs-status-running {
    color: var(--fs-warning);
    border-color: rgba(253, 203, 110, 0.4);
}

.fs-preview-status.fs-status-done {
    color: var(--fs-success);
    border-color: rgba(0, 206, 201, 0.4);
}

.fs-preview-stage {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--fs-surface-2);
    border: 1px dashed var(--fs-border);
    margin-bottom: 1rem;
    padding: 1rem;
}

.fs-placeholder-art {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.fs-placeholder-art span {
    width: 48px;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.3), rgba(108, 92, 231, 0.08));
    animation: fs-pulse 1.5s ease-in-out infinite;
}

.fs-placeholder-art span:nth-child(2) { animation-delay: 0.15s; }
.fs-placeholder-art span:nth-child(3) { animation-delay: 0.3s; }

@keyframes fs-pulse {
    0%, 100% { opacity: 0.5; transform: scaleY(0.95); }
    50% { opacity: 1; transform: scaleY(1); }
}

.fs-result-placeholder small {
    display: block;
    margin-top: 0.35rem;
    color: var(--fs-muted);
    font-size: 0.8rem;
}

.fs-result-content {
    width: 100%;
}

.fs-tips {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    color: var(--fs-muted);
}

.fs-tips li {
    padding: 0.35rem 0;
    padding-left: 1.1rem;
    position: relative;
}

.fs-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--fs-accent-2);
}

/* Empty state */
.fs-app--empty {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

.fs-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.fs-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.fs-empty-state h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.fs-empty-state p {
    color: var(--fs-muted);
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.fs-empty-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Alerts on page */
.fs-app--page .fs-guest-banner,
.fs-app--page .fs-low-credit-banner {
    margin-bottom: 1.25rem;
}

/* Chân trang plugin (Điều khoản / Chính sách) — không dùng footer theme */
.fs-site-footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 16, 0.95);
    width: 100%;
}

.fs-site-footer-inner {
    max-width: min(960px, 100%);
    margin: 0 auto;
    padding: 1.25rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .fs-site-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.fs-site-footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: #6b7289;
}

.fs-site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.82rem;
}

.fs-site-footer-nav a {
    color: #9aa3b8;
    text-decoration: none;
}

.fs-site-footer-nav a:hover {
    color: #a29bfe;
}

.fs-site-footer-sep {
    color: #4a5168;
}

body.face-swap-page.fs-standalone .fs-site-header-inner:has(.fs-site-nav:empty),
body.fs-legal-page.fs-standalone .fs-site-header-inner:not(:has(.fs-site-nav)) {
    justify-content: space-between;
}

/* Modal đăng nhập OTP */
.fs-login-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
}

.fs-login-modal[hidden] {
    display: none !important;
}

.fs-login-modal.is-open {
    display: flex !important;
}

.fs-login-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 12, 0.78);
    backdrop-filter: blur(6px);
}

.fs-login-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    max-height: min(90vh, 640px);
    overflow: auto;
    padding: 1.35rem 1.35rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #12151f;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
}

.fs-login-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    color: #9aa3b8;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}

.fs-login-modal-close:hover {
    color: #fff;
}

.fs-login-modal-title {
    margin: 0 0 0.85rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f4f6fb;
}

.fs-login-modal-body .vn-auth-container {
    display: block;
    width: 100%;
}

.fs-login-modal-body .vn-auth-box,
.fs-login-modal-body .vn-auth-box--modal {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0;
    text-align: center;
}

.fs-login-modal-body .vn-auth-box h3 {
    display: none;
}

.fs-login-modal-body .vn-auth-desc {
    margin: 0 0 1.15rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #9aa3b8;
}

.fs-login-modal-body .vn-auth-logo {
    max-height: 52px;
    margin-bottom: 0.85rem;
}

.fs-login-modal-body .vn-input {
    width: 100%;
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.75rem;
    background: #1a1d27;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #f4f6fb;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.fs-login-modal-body .vn-input::placeholder {
    color: #6b7289;
}

.fs-login-modal-body .vn-input:focus {
    outline: none;
    border-color: rgba(162, 155, 254, 0.65);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.fs-login-modal-body .vn-otp-input {
    letter-spacing: 0.35em;
    font-size: 1.15rem;
    text-align: center;
}

.fs-login-modal-body .vn-auth-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6c5ce7, #5f4fd1);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
    transition: filter 0.2s;
}

.fs-login-modal-body .vn-auth-btn:hover:not(:disabled) {
    filter: brightness(1.08);
}

.fs-login-modal-body .vn-auth-btn:disabled {
    background: #3a3f52;
    color: #8b93a8;
    box-shadow: none;
    cursor: not-allowed;
}

.fs-login-modal-body .vn-email-badge {
    margin-bottom: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: #b8c0d0;
}

.fs-login-modal-body #vn-email-display {
    color: #e8ecf4;
    font-weight: 600;
}

.fs-login-modal-body #vn-msg {
    margin-top: 0.85rem;
    font-size: 0.875rem;
    min-height: 1.25rem;
    color: #c5cdd9;
}

.fs-login-modal-body #vn-msg .vn-error {
    color: #ff8a8a;
}

.fs-login-modal-body #vn-msg .vn-success {
    color: #6ee7a8;
}

.fs-login-modal-body .vn-resend {
    margin-top: 0.75rem;
}

.fs-login-modal-body .vn-resend a {
    color: #a29bfe;
    text-decoration: none;
    font-size: 0.82rem;
}

.fs-login-modal-body .vn-resend a:hover {
    color: #c4bcff;
    text-decoration: underline;
}

.fs-login-modal-body .vn-auth-terms {
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    line-height: 1.45;
    color: #7d8699;
}

.fs-login-modal-body .vn-auth-terms a {
    color: #a29bfe;
}

body.fs-login-modal-open {
    overflow: hidden;
}

.fs-blocked-banner button.fs-btn.fs-btn-primary {
    flex-shrink: 0;
}

.fs-guest-login-link {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--fs-accent-2, #a29bfe);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.fs-guest-login-link:hover {
    color: #c4bcff;
}

button.fs-topup-btn--login {
    font-family: inherit;
}
