.ntg-page-account {
    min-height: 60vh;
    padding-block: 1rem 3rem;
    line-height: 1.5;
}

.ntg-page-account .ntg-account-breadcrumb {
    margin: 0 0 1rem;
    padding: 0;
    background: transparent;
    font-size: .875rem;
}

.ntg-page-account .ntg-account-breadcrumb .active,
.ntg-page-account .ntg-account-heading p,
.ntg-page-account .ntg-account-form small,
.ntg-page-account .ntg-account-setup small {
    color: var(--ntg-muted);
}

.ntg-page-account .ntg-account-heading { margin-bottom: 1.25rem; }
.ntg-page-account .ntg-page-title { margin: 0 0 .5rem; line-height: 1.2; }
.ntg-page-account .ntg-account-heading p { margin: 0; }
.ntg-page-account .ntg-panel { box-shadow: 0 2px 4px #27191b08; }
.ntg-page-account .ntg-panel h2 { margin: 0 0 .85rem; font-size: 1.125rem; font-weight: 750; }

.ntg-page-account .ntg-account-auth-card {
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
    padding: clamp(1rem, 4vw, 2rem);
}

.ntg-page-account .ntg-account-logo {
    display: block;
    max-width: 100%;
    margin-bottom: 1.5rem;
    object-fit: contain;
    object-position: left;
}

.ntg-page-account .ntg-account-auth-card .ntg-button { width: 100%; }
.ntg-page-account .ntg-account-switch { margin: 1rem 0 0; text-align: center; }

.ntg-page-account .ntg-account-layout,
.ntg-page-account .ntg-account-content,
.ntg-page-account .ntg-account-overview {
    display: grid;
    min-width: 0;
    gap: 1rem;
    align-content: start;
}

.ntg-page-account .ntg-account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    align-self: start;
    padding: .375rem;
}

.ntg-page-account .ntg-account-nav a {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    border-radius: .55rem;
    padding: .375rem .65rem;
    color: var(--ntg-text);
    font-size: .875rem;
    font-weight: 700;
}

.ntg-page-account .ntg-account-nav a:hover,
.ntg-page-account .ntg-account-nav a[aria-current] {
    background: var(--ntg-soft);
    color: var(--ntg-accent-hover);
}

.ntg-page-account .ntg-account-form { max-width: 34rem; }
.ntg-page-account .ntg-account-form .form-group { margin: 0 0 1rem; }

.ntg-page-account .ntg-account-form label {
    margin: 0 0 .35rem;
    font-weight: 650;
}

.ntg-page-account .ntg-account-form .form-control {
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: .55rem .75rem;
    border: 1px solid #837c80;
    border-radius: .55rem;
    background-color: var(--ntg-bg);
    color: var(--ntg-text);
    font-size: 1rem;
}

.ntg-page-account .ntg-account-form .form-control[readonly] { background: #f2f0f0; }
.ntg-page-account .ntg-account-form small { display: block; margin-top: .35rem; font-size: .875rem; }
.ntg-page-account .ntg-account-required { color: var(--ntg-accent-hover); }

.ntg-page-account .ntg-account-password {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
}

.ntg-page-account .ntg-account-password-toggle {
    min-width: 3.5rem;
    min-height: 44px;
    border: 1px solid #837c80;
    border-radius: .55rem;
    background: var(--ntg-bg);
    color: var(--ntg-accent-hover);
    font: inherit;
    font-weight: 700;
}

.ntg-page-account .ntg-account-password-toggle:hover { background: var(--ntg-soft); }

.ntg-page-account .ntg-account-login-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .25rem .75rem;
    margin: 0 0 .75rem;
}

.ntg-page-account .ntg-account-login-options a,
.ntg-page-account .ntg-account-form .ntg-account-check {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .5rem;
    margin: 0;
}

.ntg-page-account .ntg-account-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--ntg-accent);
}

.ntg-page-account .ntg-button { min-height: 44px; white-space: normal; }
.ntg-page-account .ntg-account-form .ntg-button { min-width: 8rem; }
.ntg-page-account .ntg-button[aria-busy] { position: relative; }
.ntg-page-account .ntg-account-idle-label { visibility: hidden; }
.ntg-page-account .ntg-account-loading-label { position: absolute; inset-inline: .4rem; }
.ntg-page-account .ntg-account-danger:not(:hover):not(:disabled) {
    background: var(--ntg-bg);
    color: var(--ntg-accent-hover);
    border-color: var(--ntg-accent-hover);
}

.ntg-page-account #thongbao:empty { display: none; }
.ntg-page-account .alert { margin: 0; }
.ntg-page-account .ntg-account-auth-card #thongbao:not(:empty),
.ntg-page-account .g-recaptcha { margin-bottom: 1rem; }

.ntg-page-account .ntg-account-note {
    padding: .875rem;
    margin-block: 1rem;
    border: 1px solid var(--ntg-border);
    border-radius: .55rem;
    background: var(--ntg-soft);
}

.ntg-page-account .ntg-account-note p { margin: 0; }
.ntg-page-account .ntg-account-note strong + p { margin-top: .25rem; }

.ntg-page-account .ntg-account-details { margin-bottom: 1.25rem; }
.ntg-page-account .ntg-account-details > div {
    display: grid;
    gap: .25rem;
    padding-block: .65rem;
    border-bottom: 1px solid var(--ntg-border);
}

.ntg-page-account .ntg-account-details dt { color: var(--ntg-muted); }
.ntg-page-account .ntg-account-details dd { margin: 0; overflow-wrap: anywhere; }
.ntg-page-account .ntg-account-details dd a { margin-left: .35rem; }

.ntg-page-account .ntg-account-balance {
    margin-bottom: .5rem;
    color: var(--ntg-accent-hover);
    font-size: 1.5rem;
    font-weight: 750;
}

.ntg-page-account .ntg-account-badge {
    display: inline-block;
    max-width: 100%;
    margin: .25rem .25rem .25rem 0;
    padding: .2rem .55rem;
    border-radius: .45rem;
    background: #f2f0f0;
    color: #494247;
    font-size: .875rem;
    font-weight: 700;
}

.ntg-page-account .ntg-account-badge-on { background: #e5f4ec; color: #17623b; }
.ntg-page-account .ntg-account-empty { margin: 0; color: var(--ntg-muted); }
.ntg-page-account .ntg-account-empty i { margin-right: .25rem; }

.ntg-page-account .ntg-account-method {
    display: grid;
    gap: .75rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: start;
}

.ntg-page-account .ntg-account-method-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: .55rem;
    background: var(--ntg-soft);
    color: var(--ntg-accent-hover);
    font-size: 1.125rem;
}
.ntg-page-account .ntg-account-method p { margin: 0 0 .35rem; }
.ntg-page-account .ntg-account-method .ntg-button { grid-column: 2; justify-self: start; }

.ntg-page-account .ntg-account-steps { padding-left: 1.35rem; }
.ntg-page-account .ntg-account-steps li + li { margin-top: .75rem; }
.ntg-page-account .ntg-account-setup {
    display: grid;
    min-width: 0;
    align-items: center;
    justify-items: start;
    gap: .75rem;
    margin-block: .65rem;
}

.ntg-page-account .ntg-account-qr {
    width: min(100%, 13rem);
    aspect-ratio: 1;
    border: 1px solid var(--ntg-border);
    border-radius: .55rem;
    background: var(--ntg-bg);
}

.ntg-page-account .ntg-account-qr svg { display: block; width: 100%; height: auto; }
.ntg-page-account .ntg-account-key {
    display: block;
    padding: .5rem;
    margin-block: .25rem;
    border-radius: .55rem;
    background: var(--ntg-soft);
    color: var(--ntg-accent-hover);
    overflow-wrap: anywhere;
}

.ntg-page-account .ntg-account-history { margin: 0; }
.ntg-page-account .ntg-account-history td { overflow-wrap: anywhere; }
.ntg-page-account .ntg-account-cell-label { display: none; }

@media (max-width: 399.98px) {
    .ntg-page-account .ntg-account-auth-card { padding-inline: .75rem; }
}

@media (max-width: 575.98px) {
    .ntg-page-account .ntg-account-history,
    .ntg-page-account .ntg-account-history tbody,
    .ntg-page-account .ntg-account-history tr { display: block; }
    .ntg-page-account .ntg-account-history thead { position: absolute; clip-path: inset(50%); }
    .ntg-page-account .ntg-account-history tbody tr {
        padding: .5rem .75rem;
        margin-bottom: .5rem;
        border: 1px solid var(--ntg-border);
        border-radius: .55rem;
    }
    .ntg-page-account .ntg-account-history tr:last-child { margin-bottom: 0; }
    .ntg-page-account .ntg-account-history td {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
        gap: .5rem;
        padding: .35rem 0;
        border: 0;
        text-align: left;
    }
    .ntg-page-account .ntg-account-cell-label { display: inline; font-weight: 700; }
}

@media (min-width: 576px) {
    .ntg-page-account .ntg-account-overview,
    .ntg-page-account .ntg-account-details > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntg-page-account .ntg-account-setup { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
    .ntg-page-account .ntg-account-method { grid-template-columns: 3rem minmax(0, 1fr) auto; }
    .ntg-page-account .ntg-account-method .ntg-button { grid-column: auto; align-self: center; }
}

@media (min-width: 992px) {
    .ntg-page-account .ntg-account-layout { grid-template-columns: 13rem minmax(0, 1fr); }
    .ntg-page-account .ntg-account-nav { display: grid; }
    .ntg-page-account .ntg-account-nav a { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
    .ntg-page-account .ntg-account-breadcrumb a,
    .ntg-page-account .ntg-account-switch a,
    .ntg-page-account .ntg-account-content .ntg-panel a:not(.ntg-button),
    .ntg-page-account .alert .close {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .ntg-page-account .alert .close {
        justify-content: center;
        min-width: 44px;
        padding: 0;
    }
    .ntg-page-account .alert-dismissible { padding-right: 3.25rem; }
}
