.line-bt {
    position: absolute;
    width: 140px;
    height: 0px;
    border-bottom: 4px solid #00141d;
    bottom: 0;
}

label {
    font-family: 'Japanese Generic1';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #e52222;
}

.survey {
    position: relative;
    max-width: 1440px;
    padding: 0 120px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-box {
    flex-basis: 50%;
}
.form-box-phone {
    flex-basis: 50%;
}
.head-content {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.head-content p {
    font-size: 31.2px;
    line-height: 66px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #00141d;
    mix-blend-mode: normal;
}

/* image */

.image {
    text-align: center;
    margin-top: clamp(20px, 6%, 70px);
}
.image img {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* form */

.form {
    width: 100%;
    margin-top: clamp(30px, 7.5%, 92px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form .title {
    width: 60%;
    font-size: 16px;
    line-height: 38px;
    text-align: center;
    color: #00202e;
}

.select {
    position: relative;
}

.select p {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    /* background: #f1f1f1; */
    background: #f7fdff;
    border-radius: 7px;
}

.select .icon-down {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
}

.info-list {
    position: absolute;
    right: 0;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(5, 16, 55, 0.1);
    border-radius: 6px;
    list-style: none;
    top: 62px;
}

.info-list li {
    left: 36px;
    top: 8px;
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    padding: 10px 20px;
}

.info-list li:hover {
    color: #4bd3c3;
    cursor: pointer;
}

.select-request {
    display: flex;
    padding: 14px 28px 14px 15px;
    width: 846.14px;
    height: 53px;
    background: #f7fdff;
    border-radius: 7px;
}

.contact-container {
    position: relative;
}

input[type='text'] {
    width: 100%;
    padding: 12px;
    display: inline-block;
    border: none;
    background: #f7fdff;
    border-radius: 7px;
    outline: none;
}
.input-group-form {
    display: flex;
    gap: 20px;
}
textarea {
    width: 100%;
    padding: 0 10px;
    background: #f7fdff;
    border-radius: 7px;
    border: none;
}

/*  */

.policy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 10px;
}
[type='checkbox'],
[type='radio'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    display: inline-block;
    vertical-align: middle;
    background-origin: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
    color: #45beeb;
    background-color: #fff;
    border-color: #6b7280;
    border-width: 1px;
    --tw-shadow: 0 0 #0000;
}

[type='checkbox'] {
    border-radius: 0;
}

[type='radio'] {
    border-radius: 100%;
}

[type='checkbox']:focus,
[type='radio']:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-inset: var(--tw-empty);
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: #45beeb;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
        var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0
        calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
        var(--tw-shadow);
}

[type='checkbox']:checked,
[type='radio']:checked {
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

[type='checkbox']:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

[type='radio']:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

[type='checkbox']:checked:hover,
[type='checkbox']:checked:focus,
[type='radio']:checked:hover,
[type='radio']:checked:focus {
    border-color: transparent;
    background-color: currentColor;
}

[type='checkbox']:indecontactinate {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

[type='checkbox']:indecontactinate:hover,
[type='checkbox']:indecontactinate:focus {
    border-color: transparent;
    background-color: currentColor;
}

.policy .cbox {
    position: absolute;
    top: 10px;
    width: 22px;
    height: 22px;
    border: 1px solid #2d86aa;
    border-radius: 4px;
}
.cbox:focus-visible {
    color: red;
}

.policy a {
    font-family: 'Japanese Generic1';
    font-weight: 400;
    font-size: 12px;
    line-height: 38px;
    color: #2d86aa;
    margin-left: 30px;
}
.policy p {
    margin-bottom: 0;
}
.btn {
    padding: 8px 32px;
    gap: 20px;

    width: 154.07px;
    height: 41px;

    background: #2d86aa;
    border-radius: 25px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn i {
    margin-left: 20px;
}

.select-container {
    position: relative;
    width: 100%;
}

.select-box {
    width: 200px;
    border: none;
    padding: 15px;
    margin: 5px 0 22px 0;
    background: #f7fdff;
    outline: none;
    border-radius: 7px;
    cursor: pointer;
}
.select-box option {
    width: 120px !important; /* Độ rộng của các tùy chọn */
    background-color: #fff;
}

.icon-container {
    width: 50px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 20px;
    cursor: pointer;
}
.psw {
    margin-top: 12px;
}
.icon-container i {
    color: rgba(0, 32, 46, 0.47);
}

.bg-contact-page {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
}
.bg-contact-page-left {
    position: absolute;
    bottom: -400px;
    left: 0;
}
.contact-page-form {
    position: relative;
    margin-bottom: 20%;
    padding-left: clamp(0px, 12%, 210px);
    padding-right: clamp(0px, 12%, 210px);
    width: 100%;
}
.wrapper {
    background-color: #fafafa;
}
.contact-btn {
    position: relative;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 24px 30px;
    gap: 20px;
    height: 22px;
    background: #2d86aa;
    border-radius: 50px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 17px;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid #2d86aa;
    z-index: 1;
    font-family: inherit;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    transform-origin: center right;
    transform: scaleX(0);
    transition: transform 0.25s ease-in-out;
}
.contact-btn .submit-icon {
    display: block;
}
.contact-btn .submit-icon-hover {
    display: none;
}
.contact-btn:hover {
    color: #2d86aa;
}
.contact-btn:hover .submit-icon {
    display: none;
}
.contact-btn:hover .submit-icon-hover {
    display: block;
}
.contact-btn:hover::before {
    transform-origin: center left;
    transform: scaleX(1);
}
.contact-page-link {
    text-decoration: underline !important;
}
.contact-page-link-en {
    margin-left: 0 !important;
}
.select-container select {
    display: none;
}

.select-selected {
    background-color: #f7fdff;
    border: none !important;
}

.select-selected:after {
    position: absolute;
    content: '';
    top: 20px;
    right: 28px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: black transparent transparent transparent;
}
.select-selected.select-arrow-active:after {
    border-color: transparent transparent black transparent;
    top: 20px;
}
.select-items div,
.select-selected {
    padding: 10px 28px 10px 15px;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
    color: #00202e;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.select-items {
    position: absolute;
    border-radius: 6px;
    background: var(--default-white, #fff);
    box-shadow: 0px 4px 10px 0px rgba(5, 16, 55, 0.1);
    top: 100%;
    right: 0;
    z-index: 99;
    color: #00202e;
    width: 287px;
}

.select-items-en {
    width: 340px;
}

.select-hide {
    display: none;
}
.select-items div:hover,
.same-as-selected {
    color: #4bd3c3 !important ;
}
.form-icon-check {
    color: #4bd3c3;
    margin-right: 10px;
    opacity: 0;
}
.same-as-selected .form-icon-check {
    opacity: 1;
}
.select-selected .form-icon-check {
    display: none;
}
.error {
    color: red;
    font-size: 14px;
}
.loading {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #616161;
    opacity: 0.7;
}
.loading-none {
    display: none;
}
.loading-icon {
    width: 40px;
    height: 40px;
    animation: rotate 2s linear infinite;
    position: absolute;
}

/* Modal */

.modal {
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.49);
}
.modal-container {
    display: flex;
    flex-direction: column;
    width: 603px;
    margin: auto;
    padding: 0 20px;
    border-radius: 12px;
    background: #fff;
    z-index: 101;
}
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    align-self: flex-end;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-contents {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
    color: #00141d;
    padding: 0px 68px 26px;
}
.modal-contents h1 {
    font-size: 24px;
}
.modal-contents p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.modal-button-group {
    width: 80%;
    display: flex;
    justify-content: space-between;
}
.modal-button-group button {
    width: 124px;
    height: 42px;
}
.button-cancel {
    border-radius: 21px;
    border: 0.5px solid #2d86aa;
    background-color: white;
    color: #2d86aa;
    text-align: center;
    text-transform: uppercase;
}
.button-confirm {
    border-radius: 21px;
    border: 0.5px solid #2d86aa;
    background-color: #2d86aa;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@media screen and (min-width: 1440px) {
    .survey {
        position: unset;
    }
    .wrapper {
        position: relative;
    }
    .contact-page-form {
        position: unset;
    }
}

@media screen and (max-width: 768px) {
    .survey {
        padding: 0 20px;
    }
    .input-group-form {
        gap: 4px;
    }
    .form .title {
        width: 100%;
    }
    .contact-page-form {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}
