.UIContactUs {
        margin-bottom: var(--margin-bottom);
        box-shadow: var(--box-shadow);
        padding: var(--padding-box);
        border-radius: var(--rounded);
        background: var(--color-white);
        border: var(--default-border);
}
.UIContactUs .Head {
        padding: 0;
        text-align: center;
        display: block;
        margin-bottom: 30px;
        display: none;
}
.UIContactUs .Head .Title {
        text-align: center;
        display: inline-block;
        /* display: none; */
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        position: relative;
        padding: 4px 0;
        margin: 0;
        color: #1a8853;
}
.UIContactUs .Head .Title::after {
        content: "";
        display: block;
        width: 70px;
        border-bottom: 5px solid #d6a733;
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
}
.UIContactUs .InfoError {
        background-color: transparent;
        border: 0 none;
        height: 20px;
        padding: 5px 0;
}
.UIContactUs .divInfo{
        color: red;
        font-size: 14px;
        background: #ffe3af;
        padding: 10px;
}
.UIContactUs .InfoError .Msg {
        color: Red;
        font-size: 20px;
        font-family: 'Roboto Condensed', sans-serif;
}
.UIContactUs .FormBody {
        width: 100%;
}
.UIContactUs .FormBody .FormContact {
        width: 100%;
}
.UIContactUs .FormBody .FormContact .LabelText 
{
        font-size: 16px;
        height: 30px;
        padding: 5px 0;
}
.UIContactUs .FormBody .FormContact .InputText .InputFied {
        width: 100%;
        padding: 8px;
        border-radius: 3px;
        border: 1px solid var(--bs-gray-400);
        outline: none;
}
.UIContactUs .FormBody .FormContact .InputContact {
}
.UIContactUs .FormBody .FormContact .InputContact .Content {
        height: 90px;
        width: 100%;
        border-radius: 5px;
        border: 1px solid var(--bs-gray-400);
        padding: 5px;
}
.UIContactUs .SubmitForm {
        padding: 15px;
        text-align: center;
}
.UIContactUs .SubmitForm .btnSubmit {
        background: #f1f1f1;
        border-radius: 4px;
        border:none;
        color: #2c4e8b;
        font-size: 16px;
        padding: 8px 35px;
        /* text-transform: uppercase; */
        margin: 15px 0;
        display: inline-table;
        cursor:pointer;
        font-weight: 500;
        display: inline-block;
}
.UIContactUs .SubmitForm .btnSubmit:first-child{
        background: #ce1126;
        color: #fff;
}
td.InputText {
        line-height: 0;
}
.UIContactUs .FormBody .FormContact input, .UIContactUs .FormBody .FormContact textarea {
        font-size: 14px;
}
td.InputText input {
        border-radius: 5px;
        border: 1px solid var(--bs-gray-400);
        width: 100%;
        padding: 8px;
}
.UIContactUs .FormBody .FormContact td {
        padding: 5px 0;
        font-size: 16px;
        color: #212529;
}
.UIContactUs .gvwAnswer {
        width: 100%;
}
.UIContactUs input[type='file']::-webkit-file-upload-button {
        visibility: hidden;
}
.UIContactUs input[type='file']::before {
        content: 'Chọn file';
        background: #FFFFFF;
        /* Grey 5 */
        border: 1px solid #2c4e8b;
        box-sizing: border-box;
        border-radius: 6px;
        font-family: Roboto;
        font-style: normal;
        font-weight: 500;
        font-size: 13px;
        line-height: 15px;
        text-transform: uppercase;
        /* Grey 5 */
        color: #2c4e8b;
        padding: 10px 16px
}
.UIContactUs input[type='file']:hover::before {
        border-color: black;
}
.UIContactUs input[type='file']:active::before {
        background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}
.UIContactUs input[type='file']{
        padding: 10px 0;
        border: none;
}
.UIContactUs .Title {
        /* overflow: hidden; */
        padding: 0px 0;
        text-align: justify;
        margin-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        /* border-bottom: 1px solid #f1f1f1; */
        position: relative;
        padding-bottom: 10px;
}
.UIContactUs .Title span{
        font-family: 'Inter';
        font-size: var(--label-size);
        font-weight: var(--label-weight);
        line-height: 20px;
        text-align: left;
        color: var(--vass-red);
        margin-left: 20px;
        position: relative;
        text-transform: uppercase;
        letter-spacing: -1px;
}
.UIContactUs .Title:before {
        width: 3px;
        height: 16px;
        border-radius: 9px;
        position: absolute;
        content: '';
        background: var(--color-red);
        left: 0;
        top: 2px;
}
@media only screen and (max-width: 768px){
        div.UIContactUs {
                margin: var(--padding-res);
                margin-top: 0;
                max-width: calc(100% - var(--padding-double));
                margin-bottom: 10px;
                padding: var(--padding-box-mb) !important;
                padding-top: 10px !important;
        }
}
.UIContactUs table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.UIContactUs td {
    vertical-align: top;
    padding-top: 10px;
}

.UIContactUs .Alert {
    text-align: left;
}

.UIContactUs .lblAlert {
    display: block;
    padding: 6px 0;
    color: #0f5132;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    /* display: none; */
}

.UIContactUs input[type="text"],
.UIContactUs textarea {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Quan trọng để không bị vỡ layout */
}

.UIContactUs input[type="text"]:focus,
.UIContactUs textarea:focus {
    background-color: #fff;
    border-color: #3b82f6; /* Màu xanh trendy */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.UIContactUs ::placeholder {
    color: #a0aec0;
    opacity: 1;
}

.UIContactUs td.item {
    width: 100%; /* Chia đều không gian */
    display: block;
}

.UIContactUs td.item:first-child {
    /* padding-right: 10px; */
}
.UIContactUs td.item:last-child {
    /* padding-top: 10px; */
}

.UIContactUs .itemSubmit {
    text-align: right; /* Căn nút sang phải */
    padding-top: 10px;
}

.UIContactUs .lnkSubmit,
.UIContactUs .lnkClear {
    display: inline-block;
    padding: 6px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; 
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    cursor: pointer;
}

.UIContactUs .lnkSubmit {
    background: var(--vass-red);
    color: #ffffff;
    margin-right: 10px;
}

.UIContactUs .lnkSubmit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.UIContactUs .lnkClear {
    background-color: #f3f4f6;
    color: #6b7280;
}

.UIContactUs .lnkClear:hover {
    background-color: #e5e7eb;
    color: #374151;
}

@media (max-width: 768px) {
    .UIContactUs td.item {
        display: block;
        width: 100%;
        padding: 0 !important;
        margin-bottom: 15px;
    }
    
    .UIContactUs .itemSubmit {
        text-align: center;
        padding: 10px 0;
    }
    
    .UIContactUs .lnkSubmit,
    .UIContactUs .lnkClear {
        text-align: center;
        box-sizing: border-box;
    }
        .UIContactUs .item input[type="text"], .UIContactUs .itemComment textarea{
                padding: 6px 10px;
        }
}