#res_aflFormWrap {
    text-align: center;
}

#res_aflForm {
    max-width: 520px !important;
    text-align: center;
    margin: auto;
}

.res_afl-child {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    justify-content: space-between;
}

#res_aflForm h3 {
    font-size: 22px;
}

#res_afl_result_wrap {
    padding: 30px 30px 90px 30px;
    margin: 50px 0;
    background-color: #fff;
    border-radius: 25px;
    text-align: center;
}

#res_afl_result_wrap .btn-res_afl-again {
    text-align: center;
    margin-top: 50px;
}

#res_afl_result_wrap #res_afl_result_content,
#res_afl_result_wrap #res_afl_result_content * {
    text-align: left;
    font-family: "Raleway", Sans-serif !important;
}

#res_afl_result_wrap #res_afl_result_content ul {
    list-style-type: none;
    padding-left: 0 !important;
    margin-bottom: 0px;
}

#res_afl_result_wrap #res_afl_result_content ul h6.subtitle {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
    margin-top: 30px;
    line-height: 1.5;
}

#res_afl_result_wrap #res_afl_result_content .title.primary {
    margin-top: 50px;
    margin-bottom: 5px;
}

#res_aflForm .res_afl-child input {
    width: 100%;
    border-radius: 50vh;
    border: 0;
    background-color: #fff !important;
    text-align: center;
}

#res_aflForm .res_afl-child input::placeholder {
    color: #000;
}

#res_aflForm .res_afl-child #fullname {
    width: 60%;
}

#res_aflForm .res_afl-child #username {
    width: 40%;
}

#res_aflForm .res_afl-child #phone,
#res_aflForm .res_afl-child #email {
    width: 50%;
}

.res_afl button {
    text-align: center;
    margin-top: 20px;
    padding: 10px 30px;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    cursor: pointer;
}

#res_afl_result_title .primary,
#res_afl_result_content .primary {
    color: var(--e-global-color-primary) !important;
}

.res_afl button:hover {
    background-color: #0069d9;
    border: 1px solid #0069d9;
}

#error-message,
.error-message {
    margin-top: 10px;
    display: none;
    color: red;
}

.ui-datepicker-title {
    display: flex;
    flex-wrap: nowrap;
}

.ui-datepicker-title select {
    width: 50% !important;
}

.success-notification {
    background-color: #fff;
    /* Màu nền nhẹ nhàng */
    color: #000;
    /* Màu chữ */
    border: 1px solid #fff;
    /* Đường viền */
    padding: 25px 15px;
    /* Khoảng cách bên trong */
    border-radius: 5px;
    /* Bo tròn góc */
    display: flex;
    /* Sử dụng flexbox để căn chỉnh nội dung */
    flex-wrap: wrap;
    align-items: center;
    /* Căn giữa theo chiều dọc */
    margin: 10px 0;
    /* Khoảng cách trên và dưới */
    justify-content: center;
    max-width: 580px;
    margin: auto;
}

.success-icon {
    margin-right: 10px;
    /* Khoảng cách giữa icon và message */
    font-size: 20px;
    /* Kích thước icon */
    width: 100%;
    text-align: center;
    padding: 9px;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--e-global-color-primary) !important;
}

/* .wrap-button-afl {
    display: flex;
    gap: 10px;
    justify-content: center;
} */

.wrap-button-afl-child {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.wrap-button-afl .button-login-afl {
    font-family: "Raleway", Sans-serif !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    color: var(--e-global-color-accent) !important;
    background-color: var(--e-global-color-primary) !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: var(--e-global-color-primary) !important;
    border-radius: 25px 25px 25px 25px !important;
}

.wrap-button-afl .button-login-afl:hover {
    color: var(--e-global-color-accent) !important;
    background-color: #FAC896 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #FAC896 !important;
    border-radius: 25px 25px 25px 25px !important;
}

.success-notification-child {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.success-notification-child p {
    margin-bottom: 0px !important;
    font-size: 17px;
    font-weight: 700;
    color: var(--e-global-color-secondary);
}

.success-message {
    text-align: center;
    font-size: 17px;
}

.success-message p {
    font-size: 17px;
    margin-bottom: 0px !important;
}

.button-success-notification {
    margin-top: 50px !important;
}

.wrap-button-afl .button-login-afl a {
    color: #fff !important;
}

.text-button-afl {
    margin-top: 20px;
    color: #fff;
}

@media(max-width: 768px) {
    #res_aflForm h3 {
        font-size: 23px;
    }

    .res_afl-child {
        margin-top: 5px;
    }

    #res_afl_result_wrap {
        padding: 20px 20px 60px 20px;
    }

    #res_aflFormWrap {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    #res_aflForm .res_afl-child #fullname {
        width: 100%;
    }
    
    #res_aflForm .res_afl-child #username {
        width: 100%;
    }
    
    #res_aflForm .res_afl-child #phone,
    #res_aflForm .res_afl-child #email {
        width: 100%;
    }

    .success-notification-child {
        flex-direction: column;
        gap: 10px;
    }
}