body {
    padding: 0;
    margin: 0 !important;
    box-sizing: border-box;
}

.login-wrapper {
    padding: 48px 0;
    background: url(../../images/homepage/bg-login-form.png) no-repeat top center;
    background-size: 100% 100%;
}

.register-wrapper {
    padding: 48px 0;
    background: url(../../images/homepage/bg-register-form.png) no-repeat top center;
    background-size: 100% 100%;
}

.update-wrapper {
    padding: 48px 0;
    background: url(../../images/homepage/bg-update-form.png) no-repeat top center;
    background-size: 100% 100%;
}

.form-block {
    width: 60%;
    margin: 0 auto;
    margin-top: 30px;
}

.login-wrapper-mb,
.register-wrapper-mb,
.add-information-wrapper-mb {
    background-size: cover;
    min-height: 400px;
}

.login-wrapper-mb .form-block,
.register-wrapper-mb .form-block {
    width: 100%;
    scale: 0.8;
    margin-top: 0;
}

.register-wrapper-mb .form-block {
    margin-top: -50px;
}

.add-information-wrapper-mb .form-block {
    width: 100%;
    scale: 0.8;
    margin-top: 0;
}

.title-wrapper {
    width: 50%;
    margin: 0 auto;
    padding-top: 20px;
}

.login-wrapper-mb .title-wrapper,
.add-information-wrapper-mb.title-wrapper,
.register-wrapper-mb .title-wrapper {
    width: 70%;
    padding-top: 30px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
    background: #e65a22;
    background: -webkit-linear-gradient(270deg, white, #fbbc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    border: .5px solid #ffe9c0;
    height: 40px;
    padding: 0 15px;
    border-radius: 8px !important;
    outline: none;
    color: white;
    background: rgb(113,79,34);
    background: linear-gradient(101deg, rgba(113,79,34,1) 0%, rgba(168,135,87,1) 100%);
}

.input-group label.error {
    color: #ff9797;
    font-weight: unset;
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
    background: unset;
    -webkit-text-fill-color: unset;
}

.input-group input:focus {
    outline: red;
}

.input-group input::placeholder {
    color: rgba(238, 238, 238, 0.4);
    opacity: 0.9;
}

.input-group .form-control-select {
    height: 50px;
    border: 2.5px solid #ffcc44;
    width: 100%;
    padding: 0 20px;
    border-radius: 15px !important;
    outline: none;
    background: #d78000;
    color: white;
}

.form-control-select option {
    background-color: #fff;
    color: #000;
}

.submit-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
}

.login-wrapper-mb .submit-block,
.add-information-wrapper-mb .submit-block,
.register-wrapper-mb .submit-block {
    margin-top: 35px;
}

.submit-block button {
    border: none;
    background: unset;
    max-width: 180px;
}

.submit-block button:hover img {
    filter: brightness(1.2);
}

.register-block {
    margin-top: 20px;
    font-size: 14px;
}

.register-block p {
    margin-bottom: 5px;
}

.register-block p:last-child {
    margin-bottom: 0;
}

.register-block a {
    color: #d78000;
}

.register-block a:hover, .register-block a:focus {
    color: #efa942;
}

.bg2_news {
    background-image: url(../../images/auth/bg-auth.png);
    background-position: center;
    background-size: auto;
}

#agency-form {
    display: none;
    margin-top: 40px;
}

#bank-server{
    display: none;
}

.agency-container .agency-name {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 30px;
}

.agency-container .agency-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 1px solid #80808036;
    padding-bottom: 15px;
}

.agency-container .agency-block:last-child {
    border-bottom: none;
}

.agency-container .agency-block .title {
    width: 40%;
    font-weight: bold;
    color: #d78000;
}

.agency-container .agency-block .information {
    width: 60%;
}

.modal-giftcode span {
    font-weight: bold;
    color: red;
}

.modal-giftcode {
    margin: 10px 0;
}

.input-group .captcha-control {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.captcha-control label.error {
    position: absolute;
    top: 100%; /* Di chuyển xuống dưới thẻ div */
    left: 0;
    margin-top: 5px; /* Khoảng cách từ thẻ div đến label */
}

.input-group .captcha-control .reload-icon {
    max-width: 30px !important;
    cursor: pointer;
}

#captcha-image {
    margin: 0 10px;
}

#captcha-image img {
    height: 40px;
    object-fit: scale-down;
}

#captcha_input {
    width: 100%;
}

#form-change-password {
    display: none;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .form-block {
        width: 85%;
        margin-top: 20px;
    }
    .input-group {
        margin-bottom: 20px;
    }
    .submit-block button {
        margin-top: 10px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .login-wrapper-mb .title-wrapper,
    .add-information-wrapper-mb .title-wrapper,
    .register-wrapper-mb .title-wrapper {
        width: 100%;
    }
}
