/* Profile Css */
.main__app.profile {
    position: relative;
}
.profile__box {
    text-align: center; 
    color: #fff;   
    box-shadow: 0 0 20px rgb(0 0 0 / 50%);
    padding: 0 10px 20px;
    margin: 0 -10px;
    border-radius: 5px;
    overflow: hidden;
}

.profile__img {
    margin-top: 20px;
    width: 180px;
    height: 160px;    
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    margin-bottom: 12px;
    object-fit: fill;
}

.profile__box h2 {
    color: #fff305;
}

.profile__box h2 span {
    font-size: 10px;
    text-transform: uppercase;
    background-color: #fafafa;
    padding: 2px 6px;
    border-radius: 9px;
    position: relative;
    bottom: 2px;
    border: 1px solid;
}

.profile__box h4 {
    margin-bottom: 6px;
}

.profile__badge {
    padding: 2px 0;
    border-radius: 20px;
    user-select: none;
    cursor: default;
}

.profile__level {
    font-size: 14px;
    margin: 16px -10px;
    padding: 4px 12px;
    background: linear-gradient(-45deg, #123456 0%, #13212f 35%, #123456 100%);
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.profile__level-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile__level-head > span:first-child {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    background: -webkit-linear-gradient(#fff305, #b2d2e4);
    -webkit-text-fill-color: transparent;
    user-select: none;
    -webkit-background-clip: text;
}

.profile__level-process {
    width: 100%;
    height: 12px;
    background-color: #1f1d2bb0;
    border-radius: 10px;
    margin: 6px 0;
    box-shadow: 0 0 3px #cccc;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 1px;
}

.profile__level-process--child {
    background: linear-gradient(90deg, #c54242 0%, #cb6868 35%, #9982ba 100%);
    width: calc(100% - 1px);
    height: 10.5px;
    border-radius: 10px;
    transition: .2s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
}

.profile__level-head > span ~ span {
    color: #cccc;
}

.profile__level-head > span ~ span > b {
    color: #d0dce3;
}

.profile__level-content {
    text-align: center;
    color: #ccc;
    font-size: 12px;
    font-style: italic;
}

.profile__level svg {
    color: #c54242;
}

.profile__self {
    margin-top: 30px;
    background-color: #1f1d2b;
    font-size: 14px;
    padding: 10px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile__copy-link {
    background-color: #c54242;
    padding: 2px 4px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.profile__copy-link:hover {
    text-shadow: 0 0 5px #aaa;
}

.profile__slide {
    display: flex;
    background-color: #1f1d2b;
    margin-bottom: 20px;
    color: #fff;
}

.profile__slide-list {
    padding: 4px 16px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.profile__slide-list.active {
    background-color: #c54242;
    color: #f8f0f0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.169);
}

.profile__content-item {
    opacity: 0;
    transform: translateX(127%);
    transition: 0.2s ease;    
    position: absolute;
    z-index: -1;
}

.profile__content-item.active {    
    opacity: 1;
    transform: unset;
    position: unset;
    z-index: unset;
}

.profile__content-item--stats {
    background-color: #1f1d2b;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: relative;
    padding: 12px 20px;
    min-height: 90px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.profile__content-item--stats > span {
    font-size: 18px;
    font-weight: bold;
}

.profile__content-item--stats p {
    margin-top: auto;
    font-size: 15px;
}

.profile__content-item--stats p span {
    font-size: 12px;
    font-style: italic;
}

.profile__content-item--stats i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

.profile__content-item--stats i svg {
    width: 40px;
    color: #fff305;
}

.profile__content-item--box {
    margin-top: 20px;
    background-color: #1f1d2b;
    padding: 12px 20px;
    min-height: 190px;
    border-radius: 6px;
    color: #fff;
}

.profile__content-item--box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile__content-item--box-top span {
    font-size: 18px;
    font-weight: bold;
}

.profile__content-item--box-top span svg {
    width: 19px;
    color: #fff305;
    margin: 0 6px 0 0;
}

.profile__content-item--box-top a {
    text-decoration: none;
    color: #fff305;
}

.profile__content-item--box-top a:hover {
    text-decoration: underline;
}

.profile__content-item--box-bot {
    margin-top: 27px;
    max-height: 400px;
    overflow-y: auto;
}

.profile__content-item--box-bot li {
    list-style: none;
    display: flex;
    align-items: center;    
    padding: 16px 6px;
    transition: 0.2s linear;
}

.profile__content-item--box-bot li:hover {
    background-color: #1d30423a;
}

.profile__content-item--box-bot li div {
    display: flex;
    align-items: center;
    width: calc(100% - 50px);
}

.profile__content-item--box-bot li a {
    text-decoration: none;
    color: #eee;
    font-weight: bold;
}

.profile__content-item--box-bot li span {
    color: #cccc;
    margin-right: 4px;
    display: inline-block;
    margin-left: auto;
    font-size: 14px;
}

.profile__content-item--box-bot li img {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 50%;
    border: 1px solid ;
    object-fit: fill;
}

.profile__content-item--title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 40px;
}

.profile__content-item--title svg {
    width: 24px;
}

.profile__content-item--form {
    width: 100%;
    padding: 0 20px;
}

.profile__content-item--group {
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.avt__system {
    position: absolute;
    bottom: -12px;
    font-size: 10px;
    color: #8bb5e2;
    cursor: pointer;
    font-weight: bold;
}

.avt__system-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1f1d2b;
    padding: 8px 16px;
    min-width: 480px;
    min-height: 320px;
    z-index: 3;
    border-radius: 4px;
    box-shadow: 0 0 10px rgb(204 204 204 / 3%);
    text-align: center;
    z-index: 11;
    display: none;
}

.avt__system-box--overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1234560c;
    z-index: 10;
    display: none;
}

.avt__system-box.show, 
.avt__system-box.show ~ .avt__system-box--overlay {
    display: block;
}

.avt__system-box--head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f48273;
    margin-bottom: 20px;
    position: relative;
}

.avt__system-box--body {
    margin-bottom: 12px;
}

.avt__system-box--list {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    overflow-y: auto;
    max-width: 480px;
}

.avt__system-box--list::-webkit-scrollbar {
    height: 10px;
}

.avt__system-box--list > img {
    height: auto;
    width: 80px;
    margin: 0 12px;
    border: 1px solid #f48273;
    border-radius: 4px;
    cursor: pointer;
}

.avt__system-box--list > img.active {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border: 2px solid #9491e4;
}

.avt__system-box--preview {
    position: relative;
    user-select: none;
}

.avt__system-box--preview > img {
    width: 320px;
    height: 280px;
}

.avt__system-box--preview > i {
    color: #fafafa;
}

.avt__system-box--preview > i > svg {
    width: 50px;
    height: 50px;
}

.avt__system-box--foot {
    margin-bottom: 12px;
}

.avt__system-box--foot > button {
    background-color: #c54242;
    color: #eee;
}

.avt__system-box--foot > button:hover {
    filter: brightness(1.1);
}

.avt__system:hover {
    filter: brightness(1.1);
}

.profile__content-item--group span {
    display: block;
    min-width: 120px;
}

.profile__content-item--input {
    flex: 1;
    background-color: #1f1d2bad;
    padding: 10px 12px;
}

.profile__content-item--input.disabled {
    color: #eee;
    background-color: #1f1d2b57;
    cursor: no-drop;
}

.profile__content-item--group button {
    margin-left: auto;
    width: 30%;
    font-size: 16px;
    background-color: #c54242;
    color: #eee;
}

.fav-item__btn--delete {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 4px;
    border-radius: 4px;
    border: 0;
    padding: 0px 10px;
    font-size: 10px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    text-transform: uppercase;
    transition: .2s linear;
}

.fav-item__btn--delete:hover {
    box-shadow: 0 0 10px #1c1b1b47;
    transform: scale(1.1);
}

.profile__content-item--toggle {
    width: 60px;
    height: 25px;
    background-color: #fafafaa6;
    border-radius: 50px;
    padding: 3px;
    transition: 0.2s linear;
    box-sizing: content-box;
    cursor: pointer;
}

.profile__content-item--toggle .spinner {
    background-color: #123456a8;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    transition: 0.2s linear;
}
.profile__content-item--toggle.active {
    background-color: #c74e4e;
}
.profile__content-item--toggle.active .spinner {
    transform: translateX(33px);
    background-color: #fafafa;
}
.setting {
    justify-content: space-between;
    margin-bottom: 20px;
}
#link_profile {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 9px;
    resize: none;
    line-height: 36px;
}

.profile__content-item--search {
    color: #fafafa;
    margin-bottom: 20px;
    text-align: center;
}

.profile__content-item--search input {
    padding: 4px 12px;
    margin: 0 10px;
}

.profile__badge.tvm {
    border: 1px solid #6f8ba72b;
    background-color: #123456;
    color: #eee;
    box-shadow: 0 0 8px rgb(8 33 55 / 72%);
    text-shadow: 0 0 5px #2c495e;
}

.profile__badge.donghanh {
    border: 1px solid #a01d7545;
    background-color: #123456;
    color: #f82eae;
    box-shadow: 0 0 8px rgb(2 11 6 / 72%);
    text-shadow: 0 0 5px #110e23;
}

.profile__badge.thanthiet {
    text-shadow: 0 0 5px #6300ff;
    box-shadow: 0 0 8px #8a35f352;
    border-radius: 0;
    border: 2px solid;
    color: #ffffff;
    background: linear-gradient(-45deg, #c352e9 0%, #2688f1 35%, #62b8da 100%);
    font-weight: bold;
}

.profile__badge.triky {
    text-shadow: 0 0 5px #48093b;
    box-shadow: 0 0 8px rgb(46 135 127 / 72%);
    border: 1px solid #44082c2b;
    color: #73f598;
    font-weight: bold;
    background: linear-gradient(-45deg, #795a7c 0%, #147972 35%, #b94ca3 100%);
    border-radius: 0;
    border: solid;
}

.profile__badge.vip {
    box-shadow: 0 0 9px #ffffff52;
    text-shadow: 0 0 5px #0000;
    border: 2px solid #29e69d;
    text-transform: uppercase;
    font-weight: bold;
    background: -webkit-linear-gradient(45deg, #c39def 27%, #e6dacb 44%, #a7ccf0 50%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

/**Light mode*/
div.light-mode .profile__box {
    color: #123456;
    box-shadow: 0 0 20px rgb(215 205 205 / 50%);
}
div.light-mode .profile__box h2 {
    color: #a59d03;
}
div.light-mode .profile__img {
    box-shadow: 0 0 10px rgb(217 203 203 / 50%);
}
div.light-mode .profile__self,
div.light-mode .profile__slide {
    background-color: var(--primary-color);
}
div.light-mode .profile__copy-link {
    color: #eee;
}
div.light-mode .profile__slide {
    color: #123456;
}
div.light-mode .profile__content-item--stats {
    color: #e94d78;
    background-color: transparent;
    box-shadow: 0 0 10px #b1a3a394;
}
div.light-mode .profile__content-item--stats p {
    color: #123456;
}
div.light-mode .profile__content-item--box-top span,
div.light-mode .profile__content-item--box-top span i svg {
    color: #e94d78;
}
div.light-mode .profile__content-item--box {
    background-color: var(--primary-color);
    color: #123456;
    box-shadow: 0 0 10px #b1a3a394;
}
div.light-mode .profile__content-item--box-top span svg,
div.light-mode .profile__content-item--box-top a {
    color: #123456;
}
div.light-mode .profile__content-item--box-bot li a {
    color: #2f4862;
}
div.light-mode .profile__content-item--title,
div.light-mode .profile__content-item--group {
    color: #123456;
}
div.light-mode .profile__content-item--input {
    color: #123456;
    background-color: #f7f7f7;
}
div.light-mode .profile__content-item--input.disabled {
    background-color: rgb(241 227 227 / 71%);
}
div.light-mode .profile__content-item--box-bot li span {
    color: #847d7dcc;
}
div.light-mode .profile__content-item--box-bot li:hover {
    background-color: #f9f9f9;
}
div.light-mode .profile__content-item--toggle {
    border: 1px solid #ccc;
}
div.light-mode .profile__level {
    background: linear-gradient(-45deg, #ec8d8d 0%, #eca7a7 35%, #9982ba 100%);
    box-shadow: 0 0 3px #7a7172;
}
div.light-mode .profile__level-head > span ~ span {
    color: #342b2bcc;
}
div.light-mode .profile__level-head > span ~ span > b {
    color: #383e44;
}
div.light-mode .profile__level-content {
    color: #0a1723;
}
div.light-mode .profile__level-process {
    background-color: #f7f7f7;
    box-shadow: 0 0 3px #e94d78;
}
div.light-mode .profile__content-item--stats i svg {
    color: #e94d78;
}
div.light-mode .profile__content-item--search {
    color: #123456;
}
div.light-mode .profile__content-item--search input {
    background-color: #fafafa;
    color: #123456;
}
div.light-mode .profile__self i {
    color: #959191!important;
}
div.light-mode .profile__box h2 span {
    border-color: #fff3f3;
}
div.light-mode .profile__badge.tvm {
    color: #123456;
    text-shadow: 0 0 5px #b1ccdf;
    box-shadow: 0 0 8px rgb(232 209 209 / 72%);
    border: 1px solid #0826442b;
    background-color: #f7f7f7;
}
div.light-mode .profile__badge.donghanh {
    color: #a23d71;
    text-shadow: 0 0 5px #7b8595;
    box-shadow: 0 0 8px rgb(103 253 240 / 72%);
    border: 1px solid #44082c2b;
    background-color: #f7f7f7;
}
div.light-mode .profile__badge.thanthiet {
    text-shadow: 0 0 5px #6300ff;
    box-shadow: 0 0 8px #8a35f352;
    border-radius: 0;
    border: 2px solid;
    color: #ffffff;
    background: linear-gradient(-45deg, #c352e9 0%, #2688f1 35%, #62b8da 100%);
    font-weight: bold;
}
div.light-mode .profile__badge.triky {
    text-shadow: 0 0 5px #ea07bb;
    box-shadow: 0 0 8px #35f36b52;
    color: #35f36b;
    font-weight: bold;
    background: linear-gradient(-45deg, #795a7c 0%, #147972 35%, #b94ca3 100%);
    border-radius: 0;
    border: 2px solid;
}
div.light-mode .profile__badge.vip {
    box-shadow: 0 0 6px #c6ee7294;
    text-shadow: 0 0 5px #00000012;
    border: 2px solid #29e69d;
    text-transform: uppercase;
    font-weight: bold;
    background: -webkit-linear-gradient(45deg, #883edd 27%, #daa462 44%, #6aa8e5 50%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}