html, body {
  height: 100%;
  margin: 0;
}

#page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#region-main, #main-content {
  flex: 1; /* Chiếm hết chiều cao còn lại để đẩy footer xuống */
}

.custom-footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: -100px auto 0 auto; /* nằm cao hơn 100px và căn giữa */
    background: #441e0c;
    color: white;
    padding: 20px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    z-index: 1000;
    border-radius: 12px 12px 0 0;
}

.support-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding-right: 20px;
}

.input-row.row-2 {
    display: flex;
    gap: 10px;
}

.input-row.row-2 input {
    width: 100%;
    max-width: 100%;
    flex: 1 1 calc(33.33% - 7px);
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
}

.row-notes textarea {
    flex: 1;
    width: 100%;
    height: 100px;
    resize: none;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
}

.submit-row {
    justify-content: flex-start;
    display: flex;
}

.send-btn {
    background-color: orange;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-box {
    font-size: 14px;
    line-height: 1.6;
}

.custom-footer-wrapper {
    width: 100%;
    background: #4a2614;
    color: #fff;
    padding: 30px 20px;
    margin-top: 100px;
    z-index: -1;
}

.support-box,
.contact-box {
    flex: 1 1 300px;
    padding: 10px;
}

.contact-wrapper {
    border: none; /* Xóa hết viền nếu có */
    border-left: 2px solid rgba(0, 0, 0, 0.2); /* Chỉ hiện bên trái */
    box-shadow: none !important; /* Không đổ bóng */
    padding-left: 20px; /* Tạo khoảng cách nhẹ cho nội dung */
}

#page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#region-main {
    flex-grow: 1;
}

.hotrotructuyen-footer {
    display: flex;
    gap: 15px;
    width: auto; /* hoặc giữ 50px nếu muốn ảnh nhỏ */
}

.hotrotructuyen-footer a {
    display: block;
    width: 35px;
    height: 35px;
}

.hotrotructuyen-footer img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hotrotructuyen-footer img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.7);
}

.hotrotructuyen-footer-mobile {
    display: none;
}

.coppyright-mobile {
    display: none;
}

@media (max-width: 1366px) {
    .input-row.row-3 {
        flex-direction: column;
    }

    .input-row.row-3 input {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

  .contact-wrapper {
    display: none;
  }
 
    .contact-wrapper-mobile {
    margin-top: 15px;
    width: 100%;
    border: none; /* Xóa hết viền nếu có */
    border-top: 2px solid rgba(0, 0, 0, 0.2); /* Chỉ hiện bên trái */
    box-shadow: none !important; /* Không đổ bóng */
}

.hotrotructuyen-footer-mobile {
    justify-content: center; /* 👉 Canh giữa các icon */
    display: flex;
    gap: 15px;
    width: auto; /* hoặc giữ 50px nếu muốn ảnh nhỏ */
}

.hotrotructuyen-footer-mobile a {
    display: block;
    width: 35px;
    height: 35px;
}

.hotrotructuyen-footer-mobile img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hotrotructuyen-footer-mobile img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.7);
}
.coppyright-mobile {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #ccc;
    padding: 10px 0;
}

}