/* FGStudio ID: shared account and authentication surfaces. */
body.fg-id {
    --fg-ink: #202b3c;
    --fg-muted: #657184;
    --fg-line: #e2e6ec;
    --fg-action: #f26b21;
    --fg-link: #b74710;
    --fg-danger: #b42318;
    --fg-success: #226747;
    margin: 0;
    min-height: 100vh;
    background: #f5f6f8;
    color: var(--fg-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}
.fg-id, .fg-id * { box-sizing: border-box; }
.fg-id a { color: var(--fg-link); }
.fg-id a:hover { color: #8e360b; }
.fg-id h1, .fg-id h2, .fg-id h3, .fg-id h4 { color: var(--fg-ink); line-height: 1.3; text-align: left; }
.fg-id img { max-width: 100%; }
.fg-id button, .fg-id input, .fg-id select, .fg-id textarea { font: inherit; }
.fg-id button, .fg-id a, .fg-id input, .fg-id select, .fg-id textarea { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.fg-id :focus-visible { outline: 3px solid #f5ba93; outline-offset: 3px; }
.fg-id .fg-skip-link { position: fixed; left: 16px; top: -100px; z-index: 1100; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--fg-ink); }
.fg-id .fg-skip-link:focus { top: 12px; }
.fg-id .fg-site-header.bg_navbar { background: #fff !important; border-bottom: 1px solid var(--fg-line); padding: 12px 0; }
.fg-id .fg-site-header > .container-lg { max-width: 1200px; gap: 24px; }
.fg-id .fg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg-ink); font-size: 21px; font-weight: 700; letter-spacing: -.5px; margin: 0; }
.fg-id .fg-brand .logo { width: 38px; height: 38px; object-fit: contain; }
.fg-id .fg-brand strong { color: var(--fg-link); font-weight: 700; }
.fg-id .nav_nft .navbar-nav { align-items: center; gap: 4px; }
.fg-id .nav_nft ul li a.menu_nav { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; letter-spacing: .1px; color: #4b586b !important; }
.fg-id .nav_nft ul li a.menu_nav b { font-weight: 650; }
.fg-id .nav_nft ul li a.menu_nav:hover, .fg-id .nav_nft ul li a.menu_nav.active { background: #fff3eb; color: var(--fg-link) !important; }
.fg-id .navbar-toggler { border: 1px solid var(--fg-line); border-radius: 8px; padding: 7px 9px; margin: 0; }
.fg-id .menu_drop { margin: 0; min-width: 0; }
.fg-id .menu_drop ul li a.user { color: var(--fg-ink) !important; border: 1px solid var(--fg-line); border-radius: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 9px 12px !important; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.fg-id .menu_drop .menu_drop_list { border: 1px solid var(--fg-line); border-radius: 10px; padding: 5px; box-shadow: 0 8px 24px rgba(32,43,60,.08); }
.fg-id .menu_drop .menu_drop_list li a { border: 0; border-radius: 6px; font-size: 14px; text-align: left; }
.fg-id .login_FGS { min-height: 0; overflow: visible; }
.fg-id .bg_top, .fg-id .bg_bottom { display: none; }
.fg-id .bg_login { margin-bottom: 0; }
.fg-id .fg-site-footer { background: transparent; border-top: 1px solid var(--fg-line); padding: 24px 0; margin-top: auto; }
.fg-id .text_company p { font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #566173; }
.fg-id .text_company span { font-size: 12px; line-height: 1.65; color: #737d8d; margin-bottom: 3px; }
.fg-id .text_company span a { color: var(--fg-link); }

/* Shared content hierarchy. */
.fg-id .fg-card { width: 100%; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 4px 18px rgba(32,43,60,.035); }
.fg-id .fg-card + .fg-card { margin-top: 20px; }
.fg-id .fg-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid #edf0f4; }
.fg-id .fg-card-header h2, .fg-id .fg-card-header h3 { font-size: 19px; font-weight: 700; margin: 0; padding: 0; border: 0; }
.fg-id h2.fg-card-header { justify-content: flex-start; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.fg-id h2.fg-card-header .material-icons { font-size: 23px !important; color: #758193; }
.fg-id .fg-page-header { margin: 0 0 22px; }
.fg-id .fg-page-header h1 { font-size: 27px; font-weight: 700; letter-spacing: -.6px; margin: 0 0 7px; }
.fg-id .fg-page-header p { color: var(--fg-muted); margin: 0; }
.fg-id .fg-section-title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.fg-id .fg-muted { color: var(--fg-muted); }
.fg-id .fg-field-hint { display: block; font-size: 12px; color: var(--fg-muted); line-height: 1.5; margin-top: 7px; }
.fg-id .fg-important { color: var(--fg-danger) !important; font-weight: 700 !important; }
.fg-id .fg-alert-danger, .fg-id .fg-alert-success { padding: 13px 16px; border: 1px solid; border-radius: 10px; margin: 0 0 18px; overflow-wrap: anywhere; }
.fg-id .fg-alert-danger { color: var(--fg-danger); background: #fff3f1; border-color: #f0c6c0; font-weight: 700; }
.fg-id .fg-alert-success { color: var(--fg-success); background: #eff8f3; border-color: #cbe4d5; }
.fg-id .fg-alert-danger p, .fg-id .fg-alert-success p { color: inherit; margin: 0; font-weight: inherit; }
.fg-id .fg-alert-danger a, .fg-id .fg-alert-success a { color: inherit; font-weight: 700; text-decoration: underline; }
.fg-id .fg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; width: 100%; margin: 0; }
.fg-id .fg-form-grid > * { min-width: 0; }
.fg-id .fg-span-full { grid-column: 1 / -1; }
.fg-id .fg-field label { display: block; font-size: 14px; color: var(--fg-ink); font-weight: 600; margin-bottom: 7px; }
.fg-id .form-control, .fg-id .form-select, .fg-id .input_style,
.fg-id .bg_login .id_login .text_input input:not([type="checkbox"]):not([type="radio"]),
.fg-id .bg_info .info_thongtin .info_tt input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px;
    border: 1px solid #d6dce5; border-radius: 9px; background-color: #fff;
    color: var(--fg-ink); font-size: 16px; line-height: 1.5; box-shadow: none;
}
.fg-id .form-control:focus, .fg-id .form-select:focus, .fg-id .input_style:focus { border-color: #ed9b6f; box-shadow: 0 0 0 3px rgba(242,107,33,.12); outline: none; }
.fg-id .form-control[readonly], .fg-id .form-control:disabled, .fg-id .input_style[readonly] { background-color: #f5f6f8; color: #657184; }
.fg-id input::placeholder, .fg-id textarea::placeholder { color: #8a94a3; opacity: 1; }
.fg-id input[type="checkbox"], .fg-id input[type="radio"] { accent-color: var(--fg-action); flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; }
.fg-id .btn { border-radius: 9px; padding: 10px 16px; min-height: 44px; font-weight: 650; font-size: 14px; line-height: 1.5; }
.fg-id .btn-primary, .fg-id .btn_submit { background: var(--fg-action); border: 1px solid var(--fg-action); color: #202b3c; font-weight: 700; box-shadow: none; }
.fg-id .btn-primary:hover, .fg-id .btn-primary:focus, .fg-id .btn_submit:hover, .fg-id .btn_submit:focus { background: #ed5d0f; border-color: #ed5d0f; color: #162030; }
.fg-id .btn_submit { height: auto; min-height: 46px; line-height: 1.5; border-radius: 9px; letter-spacing: 0; padding: 11px 18px; }
.fg-id .btn-link { padding: 6px 4px; min-height: 34px; background: transparent; border-color: transparent; color: var(--fg-link); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.fg-id .btn-outline-secondary, .fg-id .btn-default, .fg-id .btn-secondary { color: #4e5c6e; background: #fff; border: 1px solid #d6dce5; }
.fg-id .btn-outline-secondary:hover, .fg-id .btn-default:hover, .fg-id .btn-secondary:hover { background: #f1f3f6; color: var(--fg-ink); }
.fg-id .btn-outline-primary { color: var(--fg-link); background: #fff; border: 1px solid #df9b71; }
.fg-id .btn-outline-primary:hover, .fg-id .btn-outline-primary:focus { color: #8e360b; background: #fff0e5; border-color: #cd7945; }
.fg-id .btn:disabled { opacity: .6; cursor: not-allowed; }
.fg-id .fg-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 3px; }
.fg-id .fg-form-actions > .btn-primary { flex: 1; }
.fg-id .fg-auth-page .fg-form-actions > button, .fg-id .fg-auth-page .fg-form-actions > a { width: 100%; }
.fg-id .fg-form-options { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; }
.fg-id .fg-form-options label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; }
.fg-id .fg-form-options .form-check { display: flex; align-items: center; gap: 8px; padding-left: 0; margin: 0; }
.fg-id .fg-form-options .form-check-input { float: none; margin: 0; }
.fg-id .table-responsive { width: 100%; overflow-x: auto; border-radius: 10px; border: 1px solid var(--fg-line); }
.fg-id .table { color: var(--fg-ink); font-size: 14px; margin-bottom: 0; }
.fg-id .table > :not(caption) > * > * { padding: 13px 14px; border-color: #e7ebf0; vertical-align: middle; }
.fg-id .table thead th { background: #f6f7f9; color: #596679; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fg-id .table tbody td { width: auto; max-width: none; overflow: visible; overflow-wrap: break-word; }
.fg-id .modal-backdrop { z-index: 1040; }
.fg-id .modal-content { border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 16px 48px rgba(32,43,60,.16); }
.fg-id .modal-header, .fg-id .modal-footer { border-color: #edf0f4; padding: 16px 20px; }
.fg-id .modal-body { padding: 20px; }
.fg-id .modal-title { font-size: 18px; font-weight: 700; color: var(--fg-ink); }
.fg-id .modal-header .close { border: 0; background: transparent; color: #657184; font-size: 25px; padding: 0 5px; margin-right: 10px; }

/* Authentication pages. */
.fg-id.fg-auth { display: flex; flex-direction: column; }
.fg-id .fg-auth-main { flex: 1; width: 100%; }
.fg-id .fg-auth-page { width: 100%; padding: 38px 20px 46px; }
.fg-id .fg-auth-card { width: 100%; max-width: 720px; margin: 0 auto; background: #fff; padding: 30px 34px; border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 6px 24px rgba(32,43,60,.04); }
.fg-id .fg-login .fg-auth-card { max-width: 480px; }
.fg-id .fg-auth-heading { margin-bottom: 22px; }
.fg-id .fg-auth-heading h1 { color: var(--fg-ink); font-size: 29px; font-weight: 750; letter-spacing: -.7px; margin: 4px 0 8px; }
.fg-id .fg-auth-heading p { color: var(--fg-muted); font-size: 14px; margin: 0; }
.fg-id .fg-eyebrow { color: var(--fg-link); font-size: 11px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.fg-id .fg-age-card { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid #efc9c3; border-radius: 11px; background: #fff6f4; color: var(--fg-danger); margin-bottom: 22px; }
.fg-id .fg-age-mark { flex: 0 0 auto; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.fg-id .fg-age-card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--fg-danger); }
.fg-id .fg-age-card strong, .fg-id .fg-age-card b { font-weight: 750; }
.fg-id .fg-age-card > div > strong, .fg-id .fg-age-card > div > small { display: block; }
.fg-id .fg-age-card > div > small { margin-top: 3px; font-size: 12px; color: #94605a; }
.fg-id .fg-steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; padding: 0 0 22px; margin: 0 0 24px; list-style: none; border-bottom: 1px solid var(--fg-line); }
.fg-id .fg-steps-four { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.fg-id .fg-steps li { display: grid; grid-template-columns: 32px minmax(0,1fr); column-gap: 9px; align-content: start; color: #798494; }
.fg-id .fg-step-number { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; grid-row: 1 / span 2; border-radius: 50%; border: 1px solid #dce2e9; background: #f5f6f8; color: #758193; font-size: 13px; font-weight: 700; }
.fg-id .fg-steps strong { font-size: 13px; line-height: 1.35; font-weight: 650; }
.fg-id .fg-steps small { font-size: 11px; margin-top: 2px; line-height: 1.4; }
.fg-id .fg-steps li > div > strong, .fg-id .fg-steps li > div > small { display: block; }
.fg-id .fg-steps .is-current { color: var(--fg-ink); }
.fg-id .fg-steps .is-current .fg-step-number { color: #a94310; background: #fff0e5; border-color: #f0bf9f; }
.fg-id .fg-steps .is-complete { color: var(--fg-success); }
.fg-id .fg-steps .is-complete .fg-step-number { color: var(--fg-success); background: #ecf6f0; border-color: #c6dfd0; }
.fg-id .fg-form-section { width: 100%; }
.fg-id .fg-form-section h2 { font-size: 18px; font-weight: 700; margin: 0 0 7px; }
.fg-id .fg-form-section > p { margin: 0 0 20px; color: var(--fg-muted); font-size: 13px; }
.fg-id .fg-form-section .fg-form-grid { margin-top: 18px; }
.fg-id .fg-captcha-row { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.fg-id .fg-captcha-row > .fg-field { flex: 1; min-width: 0; }
.fg-id .fg-captcha-row input { flex: 1; min-width: 0; }
.fg-id .fg-captcha-row img { display: block; width: 200px; height: 50px; max-width: 100%; object-fit: contain; background: #f5f6f8; border: 1px solid var(--fg-line); border-radius: 8px; }
.fg-id .fg-captcha-row > :last-child:not(input) { flex: 0 0 200px; min-width: 0; }
.fg-id .fg-verified-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 18px 0; padding: 13px 15px; border: 1px solid #cbe4d5; border-radius: 10px; background: #eff8f3; color: var(--fg-success); }
.fg-id .fg-verified-card p { margin: 0; color: inherit; font-size: 13px; }
.fg-id .fg-verified-card strong { font-weight: 750; }
.fg-id .fg-verified-card > div > small, .fg-id .fg-verified-card > div > strong { display: block; }
.fg-id .fg-verified-card > div > small { font-size: 12px; margin-bottom: 2px; }
.fg-id .fg-verified-card .btn-link { color: var(--fg-success); }
.fg-id .fg-consent { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #e7ebf0; border-radius: 10px; background: #f7f8fa; padding: 13px 14px; font-size: 13px; line-height: 1.6; }
.fg-id .fg-consent label { margin: 0; font-size: 13px; font-weight: 400; }
.fg-id .fg-consent a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.fg-id .fg-auth-note { font-size: 13px; text-align: center; color: var(--fg-muted); margin: 22px 0 0; }
.fg-id #RegistrationMessage:empty { display: none; }
.fg-id #RegistrationMessage:not(:empty) { font-size: 13px; font-weight: 650; line-height: 1.55; margin: 0 0 18px; }
.fg-id.fg-auth .bg_login .id_login { display: block; width: 100%; max-width: 720px; margin: 32px auto 40px; padding: 28px; border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 6px 24px rgba(32,43,60,.04); }
.fg-id.fg-auth .bg_login .id_login .logo { padding-bottom: 18px; }
.fg-id.fg-auth .bg_login .id_login .logo img { width: 60px; height: auto; }
.fg-id.fg-auth .bg_login .id_login .text_log p.dn_text { color: var(--fg-ink); font-weight: 700; }
.fg-id.fg-auth .bg_login .id_login .text_log { margin-bottom: 15px; }
.fg-id.fg-auth .bg_login .id_login > section { width: 100%; }

/* Signed-in account shell and legacy view compatibility. */
.fg-id .fg-site-shell { min-height: 100vh; }
.fg-id .fg-account-main { margin: 0; padding: 30px 0 40px; flex: 1; }
.fg-id .fg-account-main > .container { width: 100%; max-width: 1200px; }
.fg-id .fg-account-grid { display: grid; grid-template-columns: 270px minmax(0,1fr); align-items: start; gap: 24px; }
.fg-id .bg_info .info.fg-account-sidebar { width: auto; float: none; margin: 0; padding: 23px 18px 15px; border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 4px 18px rgba(32,43,60,.035); }
.fg-id .fg-account-sidebar > a .user { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 16px; }
.fg-id .bg_info .fg-account-sidebar p.id { margin: 0 0 7px; padding: 0 4px; font-size: 13px; color: #4b586b; overflow-wrap: anywhere; }
.fg-id .bg_info .fg-account-sidebar p.fcoin { margin: 17px 0 14px; padding: 12px 8px; border-radius: 9px; background: #fff4eb; text-align: center; color: var(--fg-ink); }
.fg-id .fg-account-sidebar .fcoin img { width: 22px; height: 22px; object-fit: contain; margin-right: 5px; }
.fg-id .bg_info .fg-account-sidebar .napthe a, .fg-id .bg_info .fg-account-sidebar .napthe a:hover { display: block; height: auto; min-height: 44px; padding: 10px 14px; margin-bottom: 17px; line-height: 1.5; border-radius: 9px; background: var(--fg-action) !important; color: var(--fg-ink) !important; font-size: 14px; font-weight: 700; }
.fg-id .fg-account-sidebar .info_tinhnang { padding-top: 12px; border-top: 1px solid #edf0f4; }
.fg-id .fg-account-sidebar .info_tinhnang a { gap: 9px; padding: 11px 10px; margin-bottom: 4px; border-radius: 8px; color: #586578; font-size: 13px; font-weight: 600; }
.fg-id .fg-account-sidebar .info_tinhnang a .icon { font-size: 21px !important; color: #798497; }
.fg-id .fg-account-sidebar .info_tinhnang a:hover, .fg-id .fg-account-sidebar .info_tinhnang a.active { background: #fff0e5; color: #a94310; }
.fg-id .fg-account-sidebar .info_tinhnang a.active .icon { color: #b95218; }
.fg-id .fg-sidebar-toggle { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--fg-line); border-radius: 9px; background: #f8f9fb; color: var(--fg-ink); font-size: 13px; font-weight: 650; }
.fg-id .fg-account-content { min-width: 0; }
.fg-id .fg-account-content > .col-lg-8, .fg-id .fg-account-content > .col-lg-9, .fg-id .fg-account-content .info_left { width: 100%; max-width: 100%; float: none; margin: 0; }
.fg-id .fg-account-content .info_thongtin { width: 100%; padding: 24px; margin: 0 0 20px; border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 4px 18px rgba(32,43,60,.035); }
.fg-id .fg-account-content .main { padding: 24px; margin: 0 0 20px; border: 1px solid var(--fg-line); border-radius: 16px; box-shadow: 0 4px 18px rgba(32,43,60,.035); }
.fg-id .fg-account-content .info_thongtin h3 { font-size: 20px; color: var(--fg-ink); font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; }
.fg-id .fg-account-content .info_thongtin p { color: #657184; margin-bottom: 16px; font-size: 14px; line-height: 1.6; }
.fg-id .fg-account-content .info_thongtin .info_tt { margin-bottom: 18px; padding-bottom: 18px; }
.fg-id .fg-account-content .info_thongtin .info_tt h4 { font-size: 13px; letter-spacing: 0; margin-bottom: 7px; }
.fg-id .fg-account-content .title_name { margin: 0 0 20px; }
.fg-id .fg-account-content .capnhat_tt { width: 100%; max-width: 560px; margin: 22px auto 0; }
.fg-id .fg-account-content .btn_guima { align-self: flex-end; float: none; width: calc(33.333333% - 12px); margin-left: 12px; height: 46px; padding: 9px 12px; line-height: 1.5; border: 1px solid #f1c7ae; border-radius: 9px; background: #fff0e5; color: #a94310; box-shadow: none; font-size: 13px; font-weight: 700; }
.fg-id .fg-account-content .btn_guima:hover { background: #ffe1ca; color: #87350b; }
.fg-id .fg-account-content .nap_sanpham { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0 0 24px; }
.fg-id .fg-account-content .nap_sanpham > .title_nap,
.fg-id .fg-account-content .nap_sanpham > .col-12,
.fg-id .fg-account-content .nap_sanpham > form,
.fg-id .fg-account-content .nap_sanpham > .row { grid-column: 1 / -1; min-width: 0; }
.fg-id .fg-account-content .nap_sanpham > br { display: none; }
.fg-id .fg-account-content .nap_sanpham > .title_nap { display: flex; align-items: center; gap: 8px; color: var(--fg-ink); border: 0; padding: 0; margin: 8px 0 6px; font-size: 15px; font-weight: 700; }
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan,
.fg-id .fg-account-content .nap_sanpham .list_nap_bank { width: 100%; min-width: 0; margin: 0; padding: 15px 12px; border: 1px solid var(--fg-line); border-radius: 10px; box-shadow: none; background: #fff; text-align: center; }
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan:hover,
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan.active,
.fg-id .fg-account-content .nap_sanpham .list_nap_bank:hover,
.fg-id .fg-account-content .nap_sanpham .list_nap_bank.active { border: 1px solid #ec945f; box-shadow: inset 0 0 0 1px #ec945f; background: #fff8f2; }
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan img { width: auto; max-width: 100%; height: 60px; object-fit: contain; margin: 4px auto; padding: 4px; }
.fg-id .fg-account-content .nap_sanpham .list_nap_bank img { width: auto; max-width: 100%; height: 40px; object-fit: contain; }
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan h4 { font-size: 14px; line-height: 1.5; margin: 5px 0 8px; text-align: center; font-weight: 700; }
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan span { font-size: 12px; margin: 0; }
.fg-id .fg-account-content .nap_sanpham .list_nap_thanhtoan span.vnd { background: transparent; margin: 0; padding: 4px 0; }
.fg-id .fg-account-content .showthongso { color: var(--fg-muted); font-size: 12px; margin-top: 8px; }
.fg-id .fg-account-content .progress-bar-container { padding: 0; margin: 5px 0 20px; }
.fg-id .fg-account-content .progress_html { width: 108px; height: 108px; color: var(--fg-success); background: radial-gradient(closest-side,#fff 80%,transparent 81% 100%),conic-gradient(#438563 calc(var(--progress-value) * 1%),#e9efeb 0); animation: none; }
.fg-id .fg-account-content .progress_html .percentage-label { font-size: 22px; font-weight: 750; }
.fg-id .fg-account-content .progress_html progress { position: absolute; visibility: visible; width: 1px; height: 1px; clip-path: inset(50%); }
.fg-id .fg-account-content .fg-alert-danger p, .fg-id .fg-account-content .fg-alert-success p { color: inherit; margin: 0; font-weight: inherit; }
.fg-id .fg-account-content .fg-card a.capnhat { min-height: 40px; padding: 9px 15px !important; border: 1px solid var(--fg-action) !important; border-radius: 9px !important; background: var(--fg-action) !important; color: var(--fg-ink) !important; font-size: 13px !important; font-weight: 700; line-height: 1.5; box-shadow: none !important; }
.fg-id .fg-account-content .fg-card a.capnhat:hover { background: #ed5d0f !important; border-color: #ed5d0f !important; color: #162030 !important; box-shadow: none !important; }
.fg-id .fg-account-content form .form-check { display: flex; align-items: flex-start; gap: 8px; }
.fg-id .fg-account-content form .form-check-label { display: inline-flex; align-items: flex-start; gap: 8px; margin: 0; }
.fg-id .fg-account-content form .form-check-input { float: none; flex: 0 0 17px; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--fg-action); }
.fg-id .fg-account-content form .form-check-input:checked { background-color: var(--fg-action); border-color: var(--fg-action); }
.fg-id #PackagePick .list_nap_thanhtoan .vnd { font-size: 16px; line-height: 1.5; font-weight: 700; }
.fg-id #RechageForm .form-check { display: grid; grid-template-columns: 17px minmax(0,1fr) auto; gap: 10px; align-items: start; padding-left: 0; }
.fg-id #RechageForm #additionalLink { margin-left: 4px; text-decoration: underline; text-underline-offset: 3px; }

/* Terms and privacy share readable document navigation. */
.fg-id .fg-legal-page { width: 100%; max-width: 1160px; padding: 36px 20px 48px; margin: 0 auto; }
.fg-id .fg-legal-page > header { margin-bottom: 25px; }
.fg-id .fg-legal-page > header h1 { font-size: 32px; font-weight: 750; letter-spacing: -.7px; margin: 0 0 10px; }
.fg-id .fg-legal-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 24px 0 28px; }
.fg-id .fg-legal-highlights > * { padding: 17px 18px; border: 1px solid var(--fg-line); border-radius: 12px; background: #fff; min-width: 0; }
.fg-id .fg-legal-highlights > .fg-card { margin: 0; box-shadow: none; }
.fg-id .fg-legal-highlights > a:hover { border-color: #e8b18d; background: #fffaf6; }
.fg-id .fg-legal-highlights > a > .fg-important { display: block; margin-bottom: 8px; font-size: 12px; }
.fg-id .fg-legal-highlights strong { display: block; font-size: 14px; margin-bottom: 5px; color: var(--fg-ink); }
.fg-id .fg-legal-highlights p { margin: 0; color: var(--fg-muted); font-size: 13px; }
.fg-id .fg-legal-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 28px; align-items: start; }
.fg-id .fg-legal-nav { position: sticky; top: 22px; padding: 18px 16px; border: 1px solid var(--fg-line); border-radius: 12px; background: #fff; max-height: calc(100vh - 44px); overflow-y: auto; }
.fg-id .fg-legal-nav h2 { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .8px; margin: 0 0 12px; color: var(--fg-muted); }
.fg-id .fg-legal-nav ul, .fg-id .fg-legal-nav ol { list-style: none; margin: 0; padding: 0; }
.fg-id .fg-legal-nav a { display: block; padding: 8px 9px; border-radius: 7px; color: #586578; font-size: 13px; line-height: 1.45; }
.fg-id .fg-legal-nav a:hover, .fg-id .fg-legal-nav a:focus { background: #fff0e5; color: var(--fg-link); }
.fg-id .fg-legal-document { min-width: 0; padding: 28px 32px; background: #fff; border: 1px solid var(--fg-line); border-radius: 16px; color: #465367; font-size: 15px; line-height: 1.8; overflow-wrap: break-word; }
.fg-id .fg-legal-document [style] { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; }
.fg-id .fg-legal-document p { margin: 0 0 15px; text-align: left !important; }
.fg-id .fg-legal-document ul, .fg-id .fg-legal-document ol { padding-left: 22px; margin: 0 0 18px; }
.fg-id .fg-legal-document li { margin-bottom: 8px; }
.fg-id .fg-legal-document strong { color: var(--fg-ink); font-weight: 700; }
.fg-id .fg-legal-document a { color: var(--fg-link); text-decoration: underline; text-underline-offset: 3px; }
.fg-id .fg-legal-section { scroll-margin-top: 24px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--fg-line); }
.fg-id .fg-legal-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.fg-id .fg-legal-section > h2 { margin: 0 0 18px; color: var(--fg-ink); font-size: 19px; font-weight: 750; letter-spacing: -.3px; }
.fg-id .fg-legal-intro { padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--fg-line); }
.fg-id .fg-policy-callout { padding: 18px 20px; margin: 20px 0; border: 1px solid #efd7d1; border-left: 3px solid var(--fg-danger); border-radius: 8px; background: #fff8f6; color: #465367; }
.fg-id .fg-policy-callout > h3, .fg-id .fg-policy-callout > p > strong { color: var(--fg-danger); }
.fg-id .fg-policy-callout p:last-child, .fg-id .fg-policy-callout ul:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
    .fg-id .fg-site-header > .container-lg { gap: 12px; }
    .fg-id .nav_nft { padding-top: 12px; }
    .fg-id .nav_nft .navbar-nav { align-items: stretch; gap: 2px; }
    .fg-id .nav_nft ul li a.menu_nav { padding: 10px; }
    .fg-id .menu_drop { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--fg-line); }
    .fg-id .menu_drop ul li a.user { max-width: none; width: 100%; }
    .fg-id .fg-account-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .fg-id .fg-account-main { padding: 22px 0 30px; }
    .fg-id .bg_info .info.fg-account-sidebar { padding: 18px; }
    .fg-id .fg-account-sidebar > a .user { display: none; }
    .fg-id .bg_info .fg-account-sidebar p.id { padding: 0; }
    .fg-id .bg_info .fg-account-sidebar p.fcoin { text-align: left; margin: 12px 0; }
    .fg-id .fg-account-sidebar .info_tinhnang { margin-top: 12px; }
    .fg-id .fg-legal-layout { grid-template-columns: 200px minmax(0,1fr); gap: 20px; }
    .fg-id .fg-legal-document { padding: 24px; }
}
@media (max-width: 767px) {
    .fg-id .fg-auth-page { padding: 24px 16px 32px; }
    .fg-id .fg-auth-card { padding: 24px; }
    .fg-id .fg-legal-page { padding: 26px 16px 34px; }
    .fg-id .fg-legal-highlights { grid-template-columns: 1fr; gap: 10px; }
    .fg-id .fg-legal-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .fg-id .fg-legal-nav { position: static; max-height: none; padding: 16px; }
    .fg-id .fg-legal-nav ul, .fg-id .fg-legal-nav ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px 8px; }
    .fg-id .fg-account-content .btn_guima { width: 100%; margin-left: 0; }
    .fg-id .fg-account-content .nap_sanpham { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .fg-id .fg-account-content .info_tt span.fg-alert-success { display: inline-flex; align-items: center; gap: 5px; margin: 10px 0 0; padding: 10px 12px; }
    .fg-id #actionlogsTable, .fg-id #loginlogsTable { min-width: 600px; }
    .fg-id #actionlogsTable td:nth-child(3), .fg-id #loginlogsTable td:nth-child(2) { white-space: nowrap; }
}
@media (max-width: 575px) {
    .fg-id .fg-site-header { padding-left: 4px; padding-right: 4px; }
    .fg-id .fg-brand { font-size: 19px; }
    .fg-id .fg-brand .logo { width: 33px; height: 33px; }
    .fg-id .fg-auth-card { padding: 22px 18px; border-radius: 14px; }
    .fg-id .fg-auth-heading h1 { font-size: 25px; }
    .fg-id .fg-form-grid { grid-template-columns: minmax(0,1fr); gap: 17px; }
    .fg-id .fg-age-card { padding: 12px; gap: 10px; }
    .fg-id .fg-age-mark { font-size: 24px; }
    .fg-id .fg-steps { gap: 10px; padding-bottom: 18px; margin-bottom: 20px; }
    .fg-id .fg-steps-four { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 14px; }
    .fg-id .fg-steps li { grid-template-columns: 27px minmax(0,1fr); column-gap: 7px; }
    .fg-id .fg-step-number { width: 27px; height: 27px; font-size: 12px; }
    .fg-id .fg-steps strong { font-size: 12px; }
    .fg-id .fg-captcha-row { flex-wrap: wrap; gap: 10px; }
    .fg-id .fg-captcha-row > .fg-field, .fg-id .fg-captcha-row > input { flex: 1 0 100%; }
    .fg-id .fg-captcha-row > :last-child:not(input) { flex: 0 1 200px; }
    .fg-id .fg-form-options { flex-wrap: wrap; }
    .fg-id .fg-form-actions { align-items: stretch; }
    .fg-id .fg-form-actions > .btn { width: 100%; }
    .fg-id #RechageForm .form-check { grid-template-columns: 17px minmax(0,1fr); }
    .fg-id #RechageForm #additionalLink { grid-column: 2; margin-left: 0; }
    .fg-id .fg-card, .fg-id .fg-account-content .info_thongtin, .fg-id .fg-account-content .main { padding: 20px 16px; border-radius: 14px; }
    .fg-id .fg-card-header { flex-wrap: wrap; }
    .fg-id .fg-page-header h1 { font-size: 24px; }
    .fg-id .fg-legal-page > header h1 { font-size: 27px; }
    .fg-id .fg-legal-document { padding: 22px 18px; font-size: 14px; }
    .fg-id .fg-legal-nav ul, .fg-id .fg-legal-nav ol { grid-template-columns: minmax(0,1fr); }
    .fg-id .fg-legal-section > h2 { font-size: 19px; }
    .fg-id .fg-site-footer { padding: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .fg-id *, .fg-id *::before, .fg-id *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
