/* Container 5-5 */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--font-title)!important;
    font-size: 16px !important;
    line-height: 1.7rem !important;
    color:var(--color-text);
}

.contact-container .contact-full-width{
    padding: 0 80px;
    width: 100%;
}
.contact-container #js-contact-step1 input[type=text],
.contact-container #js-contact-step1 textarea{
    font-family: var(--font-title)!important;
    font-size: 16px !important;
    line-height: 1.7rem !important;
    color:var(--color-text);
    background: var(--input-text);
}
.contact-container #js-contact-step1 textarea{
    max-width: 450px;
    padding: 20px;
}

.contact-container .contact-right .contact-intro,
.contact-container .contact-right a,
.contact-intro{
    font-family: var(--font-title)!important;
    font-size: 16px !important;
    line-height: 1.7rem !important;
    color:var(--color-text);
    font-style: italic;
}


#js-contact-step-success{
    width: 100% !important;
    text-align: center;
}

#js-contact-step-success button{
    margin-top:30px !important;
}

.contact-step-intro {
    display: flex;
    width: 100%;
    gap: 20px;
}
.contact-left, .contact-right {
    flex: 1;
    width: 50%;
}
.contact-full-width-1{
    width: 100%;
}

.contact-left, .contact-right {
    flex: 1 1 calc(50% - 15px);
    box-sizing: border-box;
}

/* Div trống bọc border 1px đánh dấu vị trí ảnh */
.img-placeholder-box {
    width: 100%;
    min-height: 180px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    box-sizing: border-box;
}

/* Form Styles */
.contact-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-form-group {
    margin-bottom: 15px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form-group textarea,
.contact-form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.btn-submit-msg, .btn-confirm-msg {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: 0.5s all;
    margin:15px 0;
}
 .btn-confirm{
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 40px;
    margin:0 auto !important;
    display: block;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.5s all;
    margin:15px 0;
}


.btn-submit-msg:hover, .btn-confirm-msg:hover
{
    background-color: var(--btn-bg-hover);
}
.contact-right .btn-step1{
    text-decoration: underline;
    cursor: pointer;
}



.contact-container .contact-right a{
    font-family: var(--font-title) !important;
}

/* Step 2 Review Box */
.review-box {
    border-left: 4px solid var(--color-border);
    padding: 15px;
    margin: 25px 0;
    border-radius: 4px;
}



.btn-link-edit {
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

/* Modal Popup Styles */
.msg-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.msg-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-google {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    color: #777;
}

.wp-login-box input {
    width: 100%;
    padding: 9px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn-login-submit {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.guest-option-box {
    margin-top: 15px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
    border-top: 1px solid #eee;
    padding-top: 12px;
    text-align: left;
}

.guest-option-box a {
    color: #0073aa;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-container .contact-full-width{
    padding: 0!important;
}
       .contact-step-intro {
        flex-direction: column;
        gap: 20px;
    }

    /* Ép 2 cột trái - phải chiếm trọn 100% chiều ngang */
    .contact-left, 
    .contact-right {
        flex: 0 0 100%;
        width: 100%;
    }

    /* Thu nhỏ chiều cao khung ảnh trên mobile để tránh chiếm quá nhiều màn hình */
    .img-placeholder-box {
        min-height: 220px;
    }

    /* Tùy chỉnh padding container cho gọn hơn trên mobile */
    .contact-container {
        padding: 10px;
        gap: 15px;
    }   

}

.review-item{
    margin:10px 20px !important;
    text-align: left;
    display: block;
}

.review-item .review-label{
    font-weight: bold !important;
}
.review-item .review-text-display{
    color:var(--color-text-muted) !important;
}

.review-box {
    padding:0 15px;
}



.contact-form-email,
.contact-form-email input{
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}