@media screen and (min-width: 960px){
    .sellhome{
        display: flex;
        flex-direction: row;
    }
    .sell_cell{
        width: 48%;
    }
}
@media screen and (min-width: 760px) and (max-width: 959px){
    .sellhome{
        display: flex;
        flex-direction: column;
    }
    .sell_cell{
        width: 48%;
    }
}
@media screen and (max-width: 759px){
    .sellhome{
        display: flex;
        flex-direction: column;
    }
    .sell_cell{
        width: 100%;
    }
}
.sellhome{
    width: 100%;
    padding-bottom: 20px;
}
.sell_cell{
    display: flex;
    flex-direction: column;
    background-color: rgb(221, 222, 248);
    border-radius: 12px;
    border: 0.5px solid white;
    padding: 6px;
}
.contactrow{
    display: flex;
    flex-direction: row;
    padding-left: 20px;
}
.symbolcontact{
    color: red;
    padding: 6px;
}
.textcontact{
    padding: 6px;
}


/* Container tổng bao bọc form */
.feedback-container {
    width: 100%;
    max-width: 800px; /* Giới hạn độ rộng tối đa để form cân đối */
    margin: 25px auto;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Thanh tiêu đề - Đồng bộ tone màu tối của menu cũ */
.feedback-header {
    background: #2c2c2c; /* Màu nền xám đen sang trọng, đồng bộ layout */
    color: #ffffff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-icon {
    color: #BD955C; /* Icon màu vàng đồng làm điểm nhấn công nghệ */
    flex-shrink: 0;
}

/* Thân của form */
.feedback-body {
    padding: 20px;
    box-sizing: border-box;
}

.feedback-intro {
    font-size: 15px;
    color: #444444;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.5;
}

.feedback-intro strong {
    color: #BD955C;
}

/* Hệ thống Grid cho 3 nút chọn đánh giá */
.feedback-rating-grid {
    display: grid;
    grid-template-columns: repeat(3, 100fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* Từng ô chọn đánh giá */
.rating-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fdfdfd;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
    transition: all 0.2s ease;
    user-select: none;
    box-sizing: border-box;
}

/* Ẩn nút radio mặc định thô kệch của trình duyệt */
.rating-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Tạo ô checkbox vuông custom theo hình ảnh thiết kế */
.rating-box {
    width: 16px;
    height: 16px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    margin-right: 10px;
    display: inline-block;
    position: relative;
    background: #ffffff;
    transition: all 0.2s ease;
}

/* Hiệu ứng khi người dùng hover qua ô chọn */
.rating-item:hover {
    border-color: #BD955C;
    background: #fffcf8;
}

/* Khi ô được Chọn (Checked) */
.rating-item input[type="radio"]:checked + .rating-box {
    background-color: #BD955C;
    border-color: #BD955C;
}

/* Thêm dấu tích chữ V màu trắng bên trong khi được chọn */
.rating-item input[type="radio"]:checked + .rating-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.rating-item input[type="radio"]:checked {
    font-weight: 600;
}

/* Khung nhập văn bản */
.feedback-input-group {
    margin-bottom: 20px;
}

#feedbackText {
    width: 100%;
    height: 110px;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    resize: vertical; /* Cho phép khách kéo giãn chiều cao nếu viết dài */
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

/* Khi khách hàng click vào viết chữ */
#feedbackText:focus {
    border-color: #BD955C;
    outline: none;
    box-shadow: 0 0 4px rgba(189, 149, 92, 0.2);
}

/* Khu vực nút bấm */
.feedback-action {
    text-align: right;
}

/* Nút gửi màu vàng đồng đúng chuẩn nhận diện */
.btn-submit-feedback {
    background-color: #BD955C;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hiệu ứng di chuột vào nút gửi */
.btn-submit-feedback:hover {
    background-color: #a47d46;
}

.btn-submit-feedback:active {
    transform: scale(0.98); /* Hiệu ứng lún nút nhẹ khi bấm */
}

/* Tự động chuyển đổi giao diện mượt mà trên Mobile dưới 600px */
@media screen and (max-width: 600px) {
    .feedback-rating-grid {
        grid-template-columns: 100fr; /* Chuyển thành 3 hàng dọc xếp chồng lên nhau */
        gap: 8px;
    }
    .feedback-header {
        font-size: 14px;
        padding: 12px 15px;
    }
    .feedback-body {
        padding: 15px;
    }
    .btn-submit-feedback {
        width: 100%; /* Nút gửi chiếm trọn màn hình trên điện thoại cho dễ bấm */
        text-align: center;
    }
}