@charset "UTF-8";
/* ============================================================
   Section 7 — Form đăng ký tư vấn
   Nguồn: section-7/style.css — toàn bộ scope trong .section-7
   ============================================================ */
/* reCAPTCHA Enterprise chạy invisible (không có checkbox) — badge Google tự
   gắn thẳng vào cuối <body>, nằm NGOÀI .section-7 nên phải ẩn ở phạm vi toàn
   trang, không scope theo section được. Bù lại bằng dòng disclosure text ở
   .consult-form__privacy. */
.grecaptcha-badge {
  visibility: hidden;
}

.section-7 {
  /* Biến :root gốc → scope theo section */
  --ink: #000000;
  --subtle: #5e5c62;
  --line: #e4e4e4;
  --brand-orange: #fdb814;
  --error: #e6483e;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
.section-7,
.section-7 *,
.section-7 *::before,
.section-7 *::after {
  box-sizing: border-box;
}
.section-7.consult-section {
  position: relative;
  overflow: hidden;
}
.section-7 .bootstrap-select.form-control.ocb {
  background: transparent;
}
.section-7 .consult-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section-7 .consult-section__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
  display: block;
}
.section-7 .consult-section__bg-img--mobile {
  display: none;
}
.section-7 {
  /* Ảnh mờ dần thành trắng ở nửa trái để chữ/form đọc được rõ, giữ ảnh rõ bên phải. */
}
.section-7 .consult-section__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 40%, #ffffff 60%);
}
.section-7 .consult-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0 60px;
}
.section-7 .consult-section__title {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.section-7 .consult-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 470px;
  max-width: 100%;
}
.section-7 {
  /* ---------- Text field: dùng nguyên markup + class thật của VIB
   (.form_group > .floating-label > .floating-input + label) nên toàn bộ
   style (border, floating label, trạng thái :disabled/.invalid) đã có sẵn
   trong form_style.css — không cần override gì thêm ở đây. ---------- */
  /* ---------- Select "Nhà đầu tư"/"Tên dự án": dùng đúng bootstrap-select
   thật của VIB (03-common-plugins.js) qua addDataDropdow(), UI (nút, panel,
   ô tìm kiếm, dấu check) hoàn toàn do form_style.css/form_mortgage.css/
   bootstrap-select tự vẽ. Trạng thái lỗi cũng vậy: highlight() add class
   "invalid" thẳng lên <select> là khớp sẵn "select.invalid ~ .bootstrap-
   select .dropdown-toggle" (viền đỏ) và "select ~ span.invalid" (text lỗi)
   — cả 2 đều có sẵn trong form_style.css, không cần override gì thêm. ---------- */
  /* ---------- Footer: privacy note + nút gửi ---------- */
}
.section-7 .consult-form__footer {
  display: flex;
  align-items: center;
  gap: 30px;
}
.section-7 .consult-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: var(--subtle);
}
.section-7 .consult-form__privacy img {
  flex-shrink: 0;
}
.section-7 .consult-form__privacy a {
  color: inherit;
  text-decoration: underline;
}
.section-7 .consult-form__submit {
  flex-shrink: 0;
  min-width: 125px;
  height: 48px;
  padding: 10px 30px;
  border: none;
  border-radius: 999px;
  background: var(--brand-orange);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.section-7 .consult-form__submit:hover {
  opacity: 0.9;
}
.section-7 .consult-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.section-7 .consult-form__status {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  min-height: 20px;
}
.section-7 .consult-form__status[data-state=success] {
  color: #00b366;
}
.section-7 .consult-form__status[data-state=error] {
  color: var(--error);
}
.section-7 {
  /* ---------- Success view (thay chỗ form sau khi submit thành công) ---------- */
}
.section-7 .consult-success {
  padding-top: -20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 520px;
  max-width: 100%;
}
.section-7 .consult-success__advisor-intro + .consult-success__card {
  margin-top: -10px;
}
.section-7 .consult-success__icon {
  display: block;
}
.section-7 .consult-success__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.section-7 .consult-success__body,
.section-7 .consult-success__advisor-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.section-7 .consult-success__body a {
  color: inherit;
}
.section-7 .consult-success__card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ffffff;
}
.section-7 .consult-success__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}
.section-7 .consult-success__advisor-name {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.section-7 .consult-success__advisor-branch {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.2;
  color: var(--subtle);
}
.section-7 .consult-success__card-logo {
  flex-shrink: 0;
}
.section-7 .consult-success__advisor-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
}
.section-7 .consult-success__advisor-row img {
  flex-shrink: 0;
}
.section-7 .consult-success__advisor-row--phone {
  text-decoration: underline;
}
.section-7 .consult-success [data-new-request-btn] {
  align-self: flex-end;
}
@media only screen and (min-width: 1140px) {
  .section-7 .consult-section__inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media (max-width: 767px) {
  .section-7 .consult-success {
    width: 100%;
  }
  .section-7 .consult-section__bg-img--desktop {
    display: none;
  }
  .section-7 .consult-section__bg-img--mobile {
    display: block;
  }
  .section-7 .consult-section__fade {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 27%, #ffffff 50%);
  }
  .section-7 .consult-section__inner {
    padding: 60px 20px 300px;
  }
  .section-7 .consult-section__title {
    font-size: 28px;
  }
  .section-7 .consult-form {
    width: 100%;
  }
  .section-7 .consult-form__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .section-7 .consult-form__submit {
    align-self: flex-end;
  }
}
.section-7 .select_ocb .ocb.bootstrap-select > .dropdown-toggle {
  background: transparent !important;
}

@media only screen and (min-width: 1025px) {
  .section-7 .consult-form__submit:hover {
    background: black;
    color: white;
  }
}/*# sourceMappingURL=section-7.css.map */