@font-face {
    font-family: 'TikTok Text';
    src: url('../fonts/TikTokText-Bold.woff2') format('woff2'),
        url('../fonts/TikTokText-Bold.woff') format('woff'),
        url('../fonts/TikTokText-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TikTok Text';
    src: url('../fonts/TikTokText-Medium.woff2') format('woff2'),
        url('../fonts/TikTokText-Medium.woff') format('woff'),
        url('../fonts/TikTokText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TikTok Text';
    src: url('../fonts/TikTokText-Regular.woff2') format('woff2'),
        url('../fonts/TikTokText-Regular.woff') format('woff'),
        url('../fonts/TikTokText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: 'TikTok Text', sans-serif;
    background-color: #fff;
    color: #161823;
}
img {
    max-width: 100%;
    height: auto;
}
.navbar {
    padding: 4px 0;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px;
}
.search-form input {
    border: 0;
    background-color: rgba(22, 24, 35, 0.06) !important;
    height: 46px;
    padding: 12px 16px;
    border-radius: 92px 0 0 92px;
}
.search-form button {
    border: 0;
    position: relative;
    height: 46px;
    padding: 0px 16px 4px 12px;
    background-color: rgba(22, 24, 35, 0.06) !important;
    border-radius: 0 92px 92px 0;
}
.search-form button:hover {
    background-color: rgba(22, 24, 35, 0.1) !important;
}
.search-form button:hover svg{
    fill: #161823;
}
.search-form button:before {
    content: "";
    height: 28px;
    width: 1px;
    background-color: rgba(22, 24, 35, 0.12);
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
}
.header-right .btn-login {
    padding: 6px 8px;
    font-weight: 700;
    line-height: 21px;
    border-radius: 4px;
}
.header-right .btn.btn-actions {
    padding: 0;
    border: 0;
    line-height: 1;
}
.header-right .btn-actions svg {
    width: 20px;
    height: 20px;
}
.header-right .btn.btn-actions .profile-avatar {
    width: 32px;
    height: 32px;
}
.dropdown-toggle::after {
    display: none;
}
.dropdown {
    line-height: 1;
}
.dropdown-menu {
    border: 0;
    box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
    padding: 8px 0;
}
.dropdown-menu[data-bs-popper] {
    margin-top: 10px;
}
.dropdown-item {
    padding: 9px 8px 9px 16px;
    color: rgb(22,24,35);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.dropdown-item svg {
    width: 20px;
    height: 20px;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: rgb(22,24,35);
    background-color: rgb(22 24 35 / 5%);
}
main {
    padding: 24px 0;
}
.main-content {
    border-radius: 8px;
    padding: 36px 32px;
    box-shadow: rgba(0, 0, 0, 6%) 0 2px 12px 0;
}
h1.title {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #161823;
    margin: 0 0 20px;
}
.login-prompt, .profile-info {
    min-width: 255px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(22, 24, 35, 3%);
    justify-content: flex-start;
    opacity: .8;
    width: max-content;
    gap: 12px;
    border-radius: 4px;
    cursor: pointer;
}
.profile-info {
    opacity: 1;
    cursor: unset;
}
.profile-avatar {
    border-radius: 50%;
    object-fit: cover;
}
.profile-info .profile-avatar {
    width: 44px;
    height: 44px;
}
.login-prompt span, .profile-info span {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}
.profile-info .name-info {
    display: flex;
    -webkit-box-align: center;
    flex-direction: column;
    color: #000;
    padding-right: 20px;
    border-right: 1px solid rgb(0 0 0 / 12%);
    margin-right: 8px;
}
.btn-logout {
    padding: 0;
    border: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: #fe2c55;
}
.profile-info .nickname-info {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
}
.popover {
    font-family: 'TikTok Text', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    background-color: rgba(51, 51, 51, 0.85);
    border: 0;
}
.popover-arrow {
    display: none !important;
}
.popover-body {
    color: #fff;
    padding: 10px;
}
.recharge-coin-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.recharge-coin-item {
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 16px;
    background-color: #fff;
    border: 1px solid rgb(0 0 0 / 17%);
    gap: 8px;
    cursor: pointer;
}
.recharge-coin-item.active {
    border-color: #fe2c55;
    background-color: rgb(254 44 85 / 10%);
}
.recharge-coin-price {
    display: flex;
    align-items: center;
    font-size: 24px;
    line-height: 1.2;
    color: #202020;
    font-weight: 700;
    gap: 8px;
}
.recharge-coin-cost {
    font-weight: 700;
    font-size: 14px;
    color: rgb(0 0 0 / 48%);
    line-height: 20px;
}
.price-text {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 8px;
    font-size: 16px;
}
button#recharge-button {
    width: 200px;
    height: 46px;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
}
.modal-header {
    align-items: normal;
}
.modal-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}
.security-info {
    font-size: 14px;
    color: #00C853;
}
.modal-header .btn-close {
    background-size: 12px;
    opacity: 1;
    background-color: rgb(0 0 0 / 5%);
    border-radius: 50%;
}
.login-title {
    font-size: 16px;
    font-weight: 600;
    color: #161823;
    margin: 0 0 16px;
}
p.login-note {
    font-size: 14px;
    color: #666;
}
button#login-button {
    font-size: 16px;
    font-weight: 700;
    height: 46px;
}
#rechargeModal .modal-dialog {
    max-width: 764px;
}
.tt-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}
.tk-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-info img {
    width: 24px;
    height: 24px;
}
.list-pttt {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pttt-item {
    display: flex;
    width: 100%;
    border-radius: 4px;
    padding: 24px;
    background-color: #fff;
    border: 1px solid rgb(0 0 0 / 17%);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.pttt-item.active {
    border-color: #fe2c55;
    background-color: rgb(254 44 85 / 10%);
}
label {
    font-weight: 500;
    margin-bottom: 5px;
}
#fnapthe input {
    height: 42px;
}
#fnapthe button {
    font-size: 16px;
    font-weight: 700;
    height: 46px;
}
.alert:empty {
    display: none;
}
.btn-close:focus {
    box-shadow: none;
}
.btn-primary {
    --bs-btn-bg: #fe2c55;
    --bs-btn-border-color: #fe2c55;
    --bs-btn-hover-bg: #e70432;
    --bs-btn-hover-border-color: #e70432;
    --bs-btn-active-bg: #e70432;
    --bs-btn-active-border-color: #e70432;
    --bs-btn-disabled-bg: #fe2c55;
    --bs-btn-disabled-border-color: #fe2c55;
}
.form-control:focus {
    color: #161823;
    box-shadow: none;
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    opacity: .4;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}
@media (max-width: 991px) {
    .recharge-coin-list, .list-pttt {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 575px) {
    .main-content {
        padding: 16px;
    }
    .recharge-coin-list, .list-pttt {
        grid-template-columns: repeat(2, 1fr);
    }
    .recharge-coin-item {
        min-height: 80px;
    }
    .recharge-coin-price {
        font-size: 20px;
    }
    .recharge-coin-price svg {
        width: 24px;
        height: 24px;
    }
}