.tai-khoan-hop {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: grid;
    place-items: center;
    padding: 28px;
}

.tai-khoan-hop[hidden] {
    display: none;
}

.tai-khoan-hop__nen {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(6, 15, 25, 0.64);
}

.tai-khoan-hop__khung {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 34px;
    width: min(100%, 980px);
    height: min(646px, calc(100vh - 56px));
    height: min(646px, calc(100dvh - 56px));
    min-height: 610px;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.35);
}

.tai-khoan-hop__dong {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

.tai-khoan-hop__dong::before,
.tai-khoan-hop__dong::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 7px;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #7f858d;
}

.tai-khoan-hop__dong::before {
    transform: rotate(45deg);
}

.tai-khoan-hop__dong::after {
    transform: rotate(-45deg);
}

.tai-khoan-hop__tay-nam {
    display: none;
}

.tai-khoan-hop__gioi-thieu {
    display: grid;
    place-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #191919;
    box-shadow: none;
    overflow: hidden;
}

.tai-khoan-hop__anh-dang-nhap {
    display: block;
    width: 90%;
    height: 90%;
    max-height: 90%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    box-shadow: none;
}

.tai-khoan-hop__noi-dung {
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 0;
    min-width: 0;
    padding: 56px 54px 44px 20px;
}

.tai-khoan-hop__noi-dung h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.tai-khoan-hop__tabs {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-self: center;
    width: min(100%, 236px);
    height: 40px;
    margin: 0 0 28px;
    padding: 4px;
    border: 0;
    border-radius: 999px;
    background: #f6f7fa;
}

.tai-khoan-hop__tabs::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 2);
    border-radius: 999px;
    background: #fb5b20;
    box-shadow: 0 4px 12px rgba(251, 91, 32, 0.22);
    transform: translateX(0);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tai-khoan-hop__tabs.is-dang-ky::before {
    transform: translateX(100%);
}

.tai-khoan-hop__tabs button {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #8a8f98;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-shadow: none;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    transition: color 180ms ease;
}

.tai-khoan-hop__tabs button.is-active {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.tai-khoan-hop__mang-xa-hoi {
    display: grid;
    gap: 26px;
    min-width: 0;
    margin-top: 26px;
}

.tai-khoan-hop__mang-xa-hoi[hidden] {
    display: none;
}

.tai-khoan-hop__google {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #d9dee6;
    border-radius: 999px;
    background: #ffffff;
    color: #191919;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(24, 28, 35, 0.06);
}

.tai-khoan-hop__google:hover,
.tai-khoan-hop__google:focus {
    color: #191919;
    text-decoration: none;
    border-color: #c7ced8;
    box-shadow: 0 12px 28px rgba(24, 28, 35, 0.1);
}

.tai-khoan-hop__google-bieu-tuong {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
}

.tai-khoan-hop__google-bieu-tuong svg {
    display: block;
    width: 20px;
    height: 20px;
}

.tai-khoan-hop__phan-cach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: #8a919c;
    font-size: 12px;
    font-weight: 620;
    line-height: 1;
}

.tai-khoan-hop__phan-cach::before,
.tai-khoan-hop__phan-cach::after {
    content: "";
    display: block;
    height: 1px;
    background: #e3e7ee;
}

.tai-khoan-hop__form {
    display: none;
    gap: 14px;
    min-width: 0;
    margin: 0;
}

.tai-khoan-hop__form.is-active {
    display: grid;
}

.tai-khoan-hop__thong-bao {
    min-height: 38px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #eef5ff;
    color: #24405f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.tai-khoan-hop__thong-bao[hidden] {
    display: none;
}

.tai-khoan-hop__thong-bao.is-loi {
    background: #fff0ed;
    color: #9b2c19;
}

.tai-khoan-hop__thong-bao.is-thanh-cong {
    background: #edf8f1;
    color: #1f6b3a;
}

.tai-khoan-hop__form label {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin: 0;
}

.tai-khoan-hop__form label > span:first-child {
    color: #151515;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.tai-khoan-hop__truong-mat-khau {
    position: relative;
    display: block;
    min-width: 0;
}

.tai-khoan-hop__truong-mat-khau .input_box_1 {
    padding-right: 54px;
}

.tai-khoan-hop__truong-mat-khau input.is-an-mat-khau:not(:placeholder-shown) {
    -webkit-text-security: disc;
}

.tai-khoan-hop__hien-mat-khau {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #a8adb4;
    line-height: 1;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transform: translateY(-50%);
    appearance: none;
}

.tai-khoan-hop__hien-mat-khau:hover,
.tai-khoan-hop__hien-mat-khau:focus {
    background: transparent;
    color: #a8adb4;
    box-shadow: none;
}

.tai-khoan-hop__hien-mat-khau span {
    display: block;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("../../icon/eye-off-2-outline-svgrepo-com.svg") center / contain no-repeat;
    mask: url("../../icon/eye-off-2-outline-svgrepo-com.svg") center / contain no-repeat;
    transform-origin: center;
    transform: rotate(0deg);
}

.tai-khoan-hop__hien-mat-khau.is-hien-mat-khau span {
    transform: rotate(180deg);
}

.tai-khoan-hop__tuy-chon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #61666f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.tai-khoan-hop__tuy-chon label {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 7px;
    color: inherit;
    font: inherit;
}

.tai-khoan-hop__tuy-chon input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #fb5b20;
}

.tai-khoan-hop__tuy-chon button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    text-shadow: none;
    text-transform: none;
    cursor: pointer;
    appearance: none;
}

.tai-khoan-hop__nut {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    margin: 4px 0 0;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    box-shadow: none;
    appearance: none;
}

.tai-khoan-hop .input_box_1 {
    font-size: 13px;
}

.tai-khoan-hop .input_box_1::placeholder {
    font-size: 12px;
}

.tai-khoan-hop__form[data-tai-khoan-form="dang_ky"] .tai-khoan-hop__nut {
    margin-top: 10px;
}

.tai-khoan-hop__form.is-dang-gui .tai-khoan-hop__nut {
    opacity: 0.72;
    cursor: wait;
}

.tai-khoan-xac-nhan-dang-xuat {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: grid;
    place-items: center;
    padding: 24px;
}

.tai-khoan-xac-nhan-dang-xuat[hidden] {
    display: none;
}

.tai-khoan-xac-nhan-dang-xuat__nen {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(6, 15, 25, 0.46);
}

.tai-khoan-xac-nhan-dang-xuat__khung {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    width: min(100%, 390px);
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
    text-align: center;
}

.tai-khoan-xac-nhan-dang-xuat__khung h2,
.tai-khoan-xac-nhan-dang-xuat__khung p {
    margin: 0;
}

.tai-khoan-xac-nhan-dang-xuat__khung h2 {
    color: #111827;
    font-size: 20px;
    font-weight: 760;
    line-height: 1.2;
}

.tai-khoan-xac-nhan-dang-xuat__khung p {
    color: #5f6673;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.tai-khoan-xac-nhan-dang-xuat__hanh-dong {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.tai-khoan-xac-nhan-dang-xuat__huy,
.tai-khoan-xac-nhan-dang-xuat__xac-nhan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 720;
    line-height: 1;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
}

.tai-khoan-xac-nhan-dang-xuat__huy {
    border: 1px solid #d9dee6;
    background: #ffffff;
    color: #111827;
}

.tai-khoan-xac-nhan-dang-xuat__xac-nhan {
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
}

.tai-khoan-xac-nhan-dang-xuat__huy:hover,
.tai-khoan-xac-nhan-dang-xuat__huy:focus {
    border-color: #cfd5dd;
    background: #f6f7f9;
    color: #111827;
    box-shadow: none;
}

.tai-khoan-xac-nhan-dang-xuat__xac-nhan:hover,
.tai-khoan-xac-nhan-dang-xuat__xac-nhan:focus {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
    box-shadow: none;
}

.tai-khoan-xac-nhan-gan-don {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: grid;
    place-items: center;
    padding: 24px;
}

.tai-khoan-xac-nhan-gan-don__nen {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 25, 0.5);
}

.tai-khoan-xac-nhan-gan-don__khung {
    position: relative;
    display: grid;
    gap: 16px;
    width: min(100%, 470px);
    padding: 28px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.tai-khoan-xac-nhan-gan-don__khung h2,
.tai-khoan-xac-nhan-gan-don__khung p,
.tai-khoan-xac-nhan-gan-don__khung dl,
.tai-khoan-xac-nhan-gan-don__khung dd {
    margin: 0;
}

.tai-khoan-xac-nhan-gan-don__khung h2 {
    color: #111827;
    font-size: 22px;
    font-weight: 760;
    line-height: 1.25;
}

.tai-khoan-xac-nhan-gan-don__khung p {
    color: #5f6673;
    font-size: 14px;
    line-height: 1.5;
}

.tai-khoan-xac-nhan-gan-don__khung dl {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    background: #f7f8fa;
}

.tai-khoan-xac-nhan-gan-don__khung dl > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
}

.tai-khoan-xac-nhan-gan-don__khung dt,
.tai-khoan-xac-nhan-gan-don__khung dd {
    color: #303743;
    font-size: 14px;
    line-height: 1.4;
}

.tai-khoan-xac-nhan-gan-don__khung dt {
    font-weight: 600;
}

.tai-khoan-xac-nhan-gan-don__khung dd {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 720;
}

.tai-khoan-xac-nhan-gan-don__thong-bao {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff0ea;
    color: #c2410c !important;
}

.tai-khoan-xac-nhan-gan-don__thong-bao[hidden] {
    display: none;
}

.tai-khoan-xac-nhan-gan-don__hanh-dong {
    display: grid;
    gap: 10px;
}

.tai-khoan-xac-nhan-gan-don__gan,
.tai-khoan-xac-nhan-gan-don__bo-qua {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.2;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
}

.tai-khoan-xac-nhan-gan-don__gan {
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
}

.tai-khoan-xac-nhan-gan-don__bo-qua {
    border: 1px solid #d9dee6;
    background: #ffffff;
    color: #111827;
}

.tai-khoan-xac-nhan-gan-don__gan:hover,
.tai-khoan-xac-nhan-gan-don__gan:focus {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
    box-shadow: none;
}

.tai-khoan-xac-nhan-gan-don__bo-qua:hover,
.tai-khoan-xac-nhan-gan-don__bo-qua:focus {
    border-color: #cfd5dd;
    background: #f6f7f9;
    color: #111827;
    box-shadow: none;
}

.tai-khoan-xac-nhan-gan-don.is-dang-gui button {
    opacity: 0.68;
    cursor: wait;
}

@media (max-width: 860px) {
    .tai-khoan-hop .input_box_1 {
        font-size: 16px;
    }

    .tai-khoan-hop {
        align-items: end;
        padding: 54px 0 0;
    }

    .tai-khoan-hop__khung {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        height: auto;
        min-height: min(640px, calc(100vh - 54px));
        min-height: min(640px, calc(100dvh - 54px));
        max-height: calc(100vh - 54px);
        max-height: calc(100dvh - 54px);
        padding: 0;
        border-radius: 28px 28px 0 0;
        overflow-y: auto;
    }

    .tai-khoan-hop__tay-nam {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 4;
        display: block;
        height: 52px;
        cursor: grab;
        touch-action: none;
        user-select: none;
    }

    .tai-khoan-hop__tay-nam::before {
        content: "";
        position: absolute;
        top: 12px;
        left: 50%;
        width: 56px;
        height: 5px;
        border-radius: 999px;
        background: #d2cec8;
        transform: translateX(-50%);
    }

    .tai-khoan-hop__khung.is-dang-keo,
    .tai-khoan-hop__khung.is-dang-dong-bang-keo {
        overflow-y: hidden;
    }

    .tai-khoan-hop__gioi-thieu {
        display: none;
    }

    .tai-khoan-hop__dong {
        display: none;
    }

    .tai-khoan-hop__noi-dung {
        padding: 84px 24px calc(40px + env(safe-area-inset-bottom));
    }

    .tai-khoan-xac-nhan-dang-xuat {
        align-items: end;
        padding: 0;
    }

    .tai-khoan-xac-nhan-dang-xuat__khung {
        width: 100%;
        padding: 30px 22px calc(24px + env(safe-area-inset-bottom));
        border-radius: 24px 24px 0 0;
    }

    .tai-khoan-xac-nhan-dang-xuat__khung::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        width: 56px;
        height: 5px;
        border-radius: 999px;
        background: #d2d6dc;
        transform: translateX(-50%);
    }

    .tai-khoan-xac-nhan-gan-don {
        align-items: end;
        padding: 0;
    }

    .tai-khoan-xac-nhan-gan-don__khung {
        width: 100%;
        padding: 32px 22px calc(24px + env(safe-area-inset-bottom));
        border-radius: 24px 24px 0 0;
    }

    .tai-khoan-xac-nhan-gan-don__khung::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        width: 56px;
        height: 5px;
        border-radius: 999px;
        background: #d2d6dc;
        transform: translateX(-50%);
    }
}


