.consultation-form {
    display: flex;
    width: 1170px;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-radius: 24px;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    max-width: 100%;
    background-color: #fff;
    border: none;
}

.form-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.form-title {
    color: #000;
    text-align: center;
    width: 100%;
    font: 700 32px/48px "Be Vietnam Pro", sans-serif;
    margin: 0;
}

.form-description {
    color: #9b9b9b;
    text-align: center;
    width: 100%;
    font: 400 14px/21px "Be Vietnam Pro", sans-serif;
    margin: 0;
}

.personal-info-row,
.rental-info-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    align-self: stretch;
    border: none;
    padding: 0;
    margin: 0;
}

.input-group {
    height: 55px;
    flex: 1 0 0;
    position: relative;
}

.input-group input{
    border-radius: 9px;
}
.input-border {
    display: flex;
    width: 100%;
    height: 48px;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 7px;
}

.input-border::after {
    content: '';
    width: 100%;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid #c0c0c0;
    box-sizing: border-box;
}

.form-input,
.form-select {
    display: flex;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    align-items: center;
    position: absolute;
    left: 0;
    top: 7px;
    border: 1px solid #c0c0c0;
    border-radius: 10px;
    background-color: transparent;
    color: #252525;
    font: 400 14px/24px "Be Vietnam Pro", sans-serif;
    box-sizing: border-box;
    outline: none;
}

.form-input::placeholder {
    color: #979aa0;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #979aa0;
    cursor: pointer;
}

.form-select:focus,
.form-input:focus {
    border-color: #1ecb33;
}
.form-input.error,.form-select.error {
    border-color: #ed1c24;
}

.form-select option {
    color: #252525;
}

.select-group {
    position: relative;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 19px;
    pointer-events: none;
    z-index: 1;
}

.chevron-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.input-label {
    display: inline-flex;
    padding: 0 4px;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    left: 12px;
    top: 0;
    background-color: #fff;
    color: #252525;
    text-transform: capitalize;
    white-space: nowrap;
    font: 400 12px/16px "Be Vietnam Pro", sans-serif;
    z-index: 1;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.checkbox-wrapper {
    display: flex;
    padding: 4px 0;
    justify-content: center;
    align-items: center;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-label {
    cursor: pointer;
}

.checkbox-visual {
    display: flex;
    width: 20px;
    height: 20px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1.6px solid #a1a4ac;
    box-sizing: border-box;
    position: relative;
    background-color: #fff;
    transition: all 0.2s ease;
}

.checkbox-input:checked + .checkbox-label .checkbox-visual {
    background-color: #ed1c24;
    border-color: #ed1c24;
}

.checkbox-check {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6L5 9L10 3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-input:checked + .checkbox-label .checkbox-check {
    opacity: 1;
}

.privacy-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.privacy-content {
    align-self: stretch;
    color: #323539;
    font: 400 14px/21px "Be Vietnam Pro", sans-serif;
    margin: 0;
}

.privacy-link {
    color: #ed1c24;
    font-weight: 600;
    cursor: pointer;
}

.privacy-link:hover {
    text-decoration: none;
}

.submit-button {
    display: flex;
    height: 48px;
    padding: 10px 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 1000px;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #ed1c24;
    border: none;
    color: #fff;
    text-align: center;
    font: 600 18px/27px "Be Vietnam Pro", sans-serif;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: #d1181f;
}

.submit-button:active {
    background-color: #b8151b;
}

/* Focus styles for accessibility */
.form-input:focus,
.form-select:focus,
.checkbox-input:focus + .checkbox-label .checkbox-visual,
.submit-button:focus {
    /*outline: 2px solid #ed1c24;*/
    outline-offset: 2px;
}

/* Form validation styles */
/*.form-input:invalid,*/
/*.form-select:invalid {*/
    /*border-color: #ed1c24;*/
/*}*/

/*.form-input:valid,*/
/*.form-select:valid {*/
    /*border-color: #28a745;*/
/*}*/
.form-contactus {
    width: 80%;
    max-width: 1170px;
    padding: 0px !important;
}
.form-contactus .modal-body{
    padding: 0px !important;
}
.form-contactus .modal-content{
    padding: 0px !important;
    border-radius: 24px !important;
    background: #FFF;

    /* 2 */
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.08);
}
.nice-select:after {

    content: none !important;
}

/*policy*/
.privacy-policy-modal {
    align-items: stretch;
    border-radius: 24px;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: start;
    padding: 60px 40px 40px;
}

.policy2-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
}
.policy-header {
    width: 100%;
}

.policy-title {
    color: rgba(0, 0, 0, 1);
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    margin: 0;
}
.policy-content {
    margin-top: 24px;
    width: 100%;
    font-size: 14px;
}

.policy-intro {
    width: 100%;
}

.intro-text {
    color: #020202;
    font-weight: 400;
    line-height: 21px;
    margin: 0;
}

.policy-section {
    margin-top: 20px;
    width: 100%;
    color: #020202;
    font-weight: 400;
}

.policy-section ul{
    margin-left: 25px;
}

.policy-section li{
    list-style: disc;
}

.form-contactus .section-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    color: #020202;
    text-align: left !important;
}

.section-content {
    color: rgba(2, 2, 2, 1);
    line-height: 27px;
    margin: 12px 0 0 0;
}

.section-note {
    margin: 12px 0 0 0;
    color: #020202;
    font-weight: 400;
}

.contact-section {
    display: flex;
    margin-top: 20px;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    font-weight: 400;
    justify-content: start;
}

.contact-info {
    align-self: start;
    display: flex;
    margin-top: 12px;
    align-items: center;
    gap: 8px;
    color: var(--Main-Colors-Accent-Colors-01, #ed1c24);
    white-space: nowrap;
    justify-content: start;
}

.email-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 20px;
    align-self: stretch;
    flex-shrink: 0;
    margin: auto 0;
}

.email-address {
    color: var(--Main-Colors-Accent-Colors-01, #ed1c24);
    align-self: stretch;
    margin: auto 0;
}

.policy-footer {
    align-self: center;
    display: flex;
    margin-top: 24px;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    color: #ed1c24;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    justify-content: start;
}

.close-button {
    border-radius: 1000px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 11px 40px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

@media (max-width: 1200px) {
    .close-button {
        white-space: initial;
        padding: 0 20px;
    }
    .form-contactus .modal-content {
        overflow: auto;
    }
    .form-contactus .modal-body {
        max-height: 70vh;
        overflow: auto;
    }
    .consultation-form {
        padding: 32px 24px;
        gap: 0;
    }
    .form-title {
        color: #000;
        text-align: left;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 36px; /* 150% */
    }
    .form-description {
        color: #9B9B9B;
        text-align: left;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px; /* 150% */
    }
    .form-contactus {
        width: 90%;
        margin: 1.5rem !important;
    }
    .personal-info-row {
        margin-top: 32px;
    }
    .personal-info-row, .rental-info-row {
        flex-direction: column;
        width: 100%;
        gap: 24px;
    }
    .formError .errorInput {
        bottom: -18px;
        font-size: 12px;
    }
    .rental-info-row {
        margin: 16px 0 32px;
    }
    .input-group {
        flex: auto;
    }
    .submit-button {
        margin-top: 32px;
        color: var(--Support-Colors-Neutral-25, #FFF);
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 24px; /* 150% */
    }
    .privacy-content {
        color: var(--text-icons-light-base-main, #323539);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px; /* 150% */
    }
    .privacy-policy-modal {
        padding: 32px 16px 24px;
    }
    .policy-title {
        color: #000;
        text-align: left;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px; /* 150% */
        text-transform: capitalize;
    }
    .policy-content {
        font-size: 12px;
        margin-top: 16px;
    }
    .form-contactus .section-title {
        font-size: 12px;
    }
    .email-address {
        font-size: 12px;
    }
    .policy-footer {
        margin-top: 16px;
    }
}

.close-text {
    align-self: stretch;
    margin: auto 0;
}
.formError {
    position: relative;
}
.formError .errorInput {
    display: none;
    position: absolute;
    bottom: -20px;
    color: #ed1c24;
    font-size: 12px;
    left: 0;
}
/* CSS Variables for consistent theming */
:root {
    --Main-Colors-Accent-Colors-01: #ed1c24;
}
