body {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400;
    line-height: 1.5;
    background-color: #efefef !important;
}

.background-img {
    background-image: url("/assets/images/bg-img-2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Add this */
    margin: 0 auto;
    height: 45vh;
    width: 35%;
    display: flex;
    flex-direction: column;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}
.body-background {
    background-color: #efefef;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    position: relative;
}

.login-card-container {
    z-index: 50;
}

@media (max-width: 768px) {
    .background-img {
        background-image: url("/assets/images/bg-img-2.jpg");
        background-size: cover;
        background-position: 50% 0;
        width: 100%;
        z-index: 3;
        position: relative;
        display: flex;
        justify-content: center;
    }
}

.background-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    background: linear-gradient(#33539e, rgba(0, 23, 255, 0.1)),
        linear-gradient(rgba(0, 0, 255, 0.2), #6f5f90) !important;
}

.login-card {
    width: 450px;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    margin: auto;
}

.login-card a {
    text-decoration: none;
    color: #3973bf;
    font-size: 14px;
}

.login-card a:hover {
    text-decoration: underline;
}

.login-card input[type="text"],
.login-card input[type="password"],
.login-card select,
.login-card input[type="email"] {
    border: none;
    outline: none;
    border: 1px solid #000 !important;
    color: #000;
    padding-left: 3.5rem;
    border-radius: 100px;
    width: 100%;
    transition: background 0.5s;
    font-size: 14px;
    height: 47px !important;
    transition: all 0.3s ease-in-out;
}

.login-card input:focus {
    background: white;
    color: #000 !important;
    border-color: #000 !important;
}

.login-card button {
    background-image: linear-gradient(to right, #33539e, #6f5f90);
    border: none;
    color: white;
    border-radius: 100px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.5s;
    height: 47px;
    font-size: 14px;
}

.login-card button:hover {
    background: white;
    border: 2px solid #203273 !important;
    color: #203273;
    cursor: pointer;
}

.login-card-logo {
    z-index: 50;
    padding-bottom: 1rem;
}

.login-card-logo img {
    width: 30%;
    background: #fff;
    border-radius: 20px;
    height: 115%;
}

.login-card-logo,
.login-card-header,
.login-card-footer {
    text-align: center;
}

.login-card-header h1,
.login-card-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    margin-top: 0px;
}

.login-card-header h1 + div,
.login-card-header h2 + div {
    font-size: 0.8rem;
    opacity: 0.8;
}

.login-card-header p {
    font-size: 14px;
}

.login-card-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-card-form .form-item {
    position: relative;
}

.login-card-form .form-item .form-item-icon {
    position: absolute;
    top: 14px;
    left: 1.4rem;
    font-size: 1.3rem;
}
.show-hide-password {
    position: absolute;
    top: 14px;
    right: 1.4rem;
    font-size: 1.3rem !important;
    cursor: pointer;
}
.login-card-form .checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
}

.login-card-form .form-item-other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.login-card-footer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
}

.forgot-PW-button {
    background: white !important;
    color: black !important;
    border-radius: 100px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.5s;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 5px;
    height: 47px;
}

.forgot-PW-button:hover {
    background-color: #3973bf !important;
    color: white !important;
    cursor: pointer;
}

.login-card-social {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.login-card-social div {
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.login-card-social-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.login-card-social-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    transition: all 0.5s;
}

.login-card-social-btns a:hover {
    background-color: white;
    transform: scale(1.1);
}

.login-container {
    min-height: 100vh;
    height: fit-content;
}
.btn-fixed {
    position: fixed;
    bottom: 2px;
    left: 0;
    right: 0;
    z-index: 1000;
}
.btn-login-fx {
    color: transparent;
    border: none;
    border-radius: 100px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.5s;
    height: 40px;
    font-size: 14px;
    padding-right: 13px;
    padding-left: 17px;
    font-weight: 700;
    background-clip: text;
    background: linear-gradient(to right, #33539e, #6f5f90);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.s1-box {
    display: flex;
    flex-direction: column;
    row-gap: 10rem;
    width: 100%;
    padding: 2rem;
}

.list-store-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -3rem;
}
.list-store-box {
    padding-top: 15px !important;
    margin-top: -13px !important;
    padding: 20px 10px;
    margin: 0 auto;
    z-index: 123;
    width: 33%;
    background-color: #fff;
    border-radius: 15px;
}
.list-store-ct {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    overflow-y: auto;
    height: 55vh;
}
.card-store {
    width: 100%;
    padding: 5px;
}
.img-size {
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    /* width: 190px; */
    height: 100%;
    border-radius: 10px;
    border: 2px #1253a3 solid;
}
.img-box {
    cursor: pointer;
    border-radius: 10px;
    height: 200px;
    min-height: 100%;
    max-height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-location {
    word-wrap: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    color: #212529;
    height: 50px;
}
.text-location span {
    font-size: 10px !important;
}
.bg-hotline {
    display: flex;
    align-items: center;
    height: 25px;
    background-image: linear-gradient(120deg, #f12711, #f5af19);
    border-radius: 5px;
    padding: 5px;
    border: none;
    width: 50%;
    font-size: 12px;
}
.label-box {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}
.label-box a {
    font-size: 10px;
    color: #fff !important;
}
.bg-hotline span {
    font-size: 10px;
    color: #fff !important;
}
.bg-location {
    display: flex;
    align-items: center;
    height: 25px;
    background-color: #1253a3;
    border-radius: 5px;
    padding: 5px;
    margin-left: 2px;
    border: none;
    width: 50%;
    font-size: 12px;
}
.bg-hotline:hover {
    box-shadow: 0 0 0 0.2rem #f5af19;
}
.bg-location:hover {
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
}
.bg-hotline:active,
.bg-location:active {
    box-shadow: 0 0 0 0.2rem rgba(196, 211, 255, 0.5);
}
.bg-location span {
    color: #fff !important;
    font-size: 10px;
}
.store-infomation {
    padding-top: 10px;
    padding-bottom: 5px;
}
.store-infomation span {
    font-size: 13px;
}
.direct-css {
    position: absolute;
    top: 10px;
    left: calc(50% - 17.5px);
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 50%;
}

.icon-location {
    width: 35px;
    height: 35px;
    border: 1px #ccc solid;
    border-radius: 50%;
}
@media screen and (max-width: 400px) {
    .label-box {
        flex-direction: column;
        align-items: center;
    }
    .bg-hotline {
        width: 70%;
        margin-bottom: 2px;
    }
    .bg-location {
        width: 70%;
        margin-left: 0;
    }
}

@media screen and (min-width: 1024px) {
    .btn-login-fx {
        /* width: 20%; */
    }
}
@media screen and (min-width: 576px) {
    .btn-login-fx {
        /* width: 25%; */
    }
}

.bd-radius {
    border-radius: 20px !important;
}

.modal.show .modal-dialog {
    transition: none !important;
}
.modal-no-acc {
    background-color: rgba(0, 0, 0, 0.5);
}

.alg-login-btn {
    margin-top: -30% !important;
}

@media (max-width: 768px) {
    /* body {
    padding: 2rem 0;
  } */

    .login-card {
        width: 100%;
        padding: 1.5rem;
    }
}
@media screen and (max-width: 1440px) {
    .background-img {
        width: 40% !important;
    }
    .s1-box {
        display: flex;
        flex-direction: column;
        row-gap: 7rem;
        width: 100%;
        padding: 2rem;
        margin-top: 5vh;
    }
}
@media screen and (max-width: 1440px) {
    .background-img {
        height: 50vh;
    }
    .list-store-container {
        margin-top: -4rem;
    }
    .list-store-box {
        width: 38%;
    }
    .login-container {
        min-height: 100vh;
        height: fit-content;
        margin-bottom: 7rem;
    }
    .alg-login-btn {
        margin-top: -18% !important;
    }
}
@media screen and (max-width: 1140px) {
    .background-img {
        width: 45% !important;
    }
    .list-store-box {
        width: 42%;
    }
}
@media screen and (max-width: 990px) {
    .background-img {
        width: 60% !important;
    }
    .list-store-box {
        width: 55%;
    }
}
@media screen and (max-width: 576px) {
    .background-img {
        width: 100% !important;
        height: 40vh;
    }
    .list-store-box {
        width: 95%;
    }
    .btn-login-fx {
        font-size: 12px;
    }
    .icon-promotion span {
        font-size: 12px !important;
    }
    .s1-box {
        row-gap: 6rem;
        margin-top: 0vh;
    }
    .list-store-container {
        height: 60vh;
        margin-top: -1rem;
    }
    .list-store-ct {
        height: 60vh;
    }
    .img-box {
        height: 180px;
        max-height: 100%;
    }
    .img-size {
        height: 176px;
        max-height: 100%;
    }
}
@media screen and (max-width: 576px) and (max-height: 700px) {
    .list-store-container {
        margin-top: -1rem;
    }
}
@media screen and (min-height: 1180px) {
    .background-img {
        height: 35vh;
    }
    .list-store-container {
        margin-top: -3rem;
    }
    .list-store-ct {
        height: 65vh;
    }
}
@media screen and (max-height: 800px) {
    .s1-box {
        margin-top: 0vh;
    }
    .list-store-container {
        margin-top: -2rem;
    }
    .list-store-ct {
        height: 50vh;
    }
}
@media (min-width: 1125px) and (min-height: 2436px) {
    .img-box {
        height: 180px;
        max-height: 100%;
    }
    .img-size {
        height: 176px;
        max-height: 100%;
    }
    .bg-hotline,
    .bg-location {
        height: 30px;
    }
}
@media screen and (max-width: 375px) {
    .fz-wsp {
        white-space: normal;
        font-size: 12px;
    }
    .img-box {
        height: 150px;
        max-height: 100%;
    }
    .img-size {
        height: 146px;
        max-height: 100%;
    }
}
@media screen and (max-height: 630px) {
    .s1-box {
        row-gap: 7rem;
    }
}
@media screen and (min-width: 1500px) and (min-height: 830px) {
    .login-card-logo{
        margin-top: -30px !important;
        padding-bottom: 4rem !important;
    }
}

@media screen and (min-width: 1500px) {
    .login-card-logo{
        margin-top: -30px !important;
        padding-bottom: 2rem;
    }
}

.remember-customer {
    position: relative;
    top: 1px;
}