/* ===== HEADER TỔNG ===== */

.news-headerduan {
  background:
    linear-gradient(rgba(0, 60, 71, 0.75), rgba(0, 60, 71, 0.75)),
    url(/src/docs/images/common/project/caurongdanang.jpg) center / cover no-repeat;
  /* background: url(/src/docs/images/common/project/caurongdanang.jpg); */
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}
.project-titleduan {
  font-size: 26px;
  line-height: 1.3;
  color: #e5b85a;
  margin-bottom: 8px;
  font-weight: 600;
}
.site-header {
  background: #fff;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.project-descduan {
  max-width: 760px;
  margin: auto;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: #f1f1f1;
}

.tieudeduantong {
  font-size: 24px;
  color: #003c47;
  margin-bottom: 11px;
  line-height: 30px;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}
.mucphongthuy {
  padding: 50px 18px 18px 0px;
  text-align: center;
  color: #000;
}
.mucphongthuymota {
  max-width: 760px;
  margin: auto;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: #003c47;
}

.tieudephongthuy {
  font-size: 20px;
  color: #003c47;
  font-weight: bold;
  margin-bottom: 7px;
}
.tieudeptct {
  font-size: 17px;
  color: #e5b85a;
  margin-bottom: 15px;
  line-height: 30px;
  font-weight: 600;
}

.tieudemucpt {
  font-size: 26px;
  color: #e5b85a;
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 37px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  padding-bottom: 70px;
  margin-top: 0px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 25px 20px;
  transition: transform 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* đẩy nút xuống dưới */
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-5px);
}

.tool-card img {
  height: 60px;
  margin-bottom: 15px;
}

.tool-card h3 {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bold;
}

.tool-card p {
  font-size: 14px;
  color: #555;
  min-height: 60px;
  /* đảm bảo đoạn mô tả không bị co */
}

.tool-card a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #003c47;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.tool-card a:hover {
  background-color: #0fb9b1;
}

.flexnav .touch-button .navicon {
  position: relative;
  top: 20px;
  font-size: 9px;
  left: 0;
}
/* ===== icon công cụ  ===== */

/* ===== ICON ===== */
.iconpt {
  width: 63px;
  height: 63px;
  stroke: #0f766e;      /* xanh BĐS */
  stroke-width: 1.8;
  fill: none;
  transition: transform .25s ease, stroke .25s ease;
}

.iconpt-accent {
  fill: #facc15;        /* vàng phong thuỷ */
  stroke: none;
}

/* ===== GRID TOOL ===== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
	margin-bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .tool-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
	margin-bottom: 40px;
  }
}

/* ===== CARD ===== */
.tool-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: box-shadow .25s ease, transform .25s ease;
}
.tool-card h3 {
    font-size: 21px;
    margin: 10px 0;
    font-weight: bold;
}
.tool-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.tool-card:hover .icon {
  stroke: #ca8a04;
  transform: translateY(-2px) scale(1.04);
}

.tool-card figure {
  margin: 0 0 12px;
}

.tieudephongthuy {
  font-size: 1.05rem;
  margin: 8px 0 6px;
}

.tool-card p {
  font-size:1.6rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 10px;
}

.tool-card a {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.tool-card a:hover {
  text-decoration: underline;
}

/* ===== ĐANG PHÁT TRIỂN ===== */
.tool-card.developing {
  opacity: .6;
}

.tool-card.developing a {
  pointer-events: none;
  color: #9ca3af;
}

/* ===== Hết css icon công cụ  ===== */
@media (min-width: 668px) {
  ul.flexnav > li > .touch-button {
    top: 23px;
    left: 50%;
    color: #fff;
    width: 15px;
    height: 15px;
    margin-left: -8px;
  }
}

/* ===== HEADER TỔNG ===== */

.mucphongthuy {
  padding: 50px 18px 18px 0px;
  text-align: center;
  color: #000;
}
.mucphongthuymota {
  max-width: 760px;
  margin: auto;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: #003c47;
}

.tieudephongthuy {
  font-size: 20px;
  color: #003c47;
  font-weight: bold;
  margin-bottom: 7px;
}

.tieudeptct {
  font-size: 17px;
  color: #e5b85a;
  margin-bottom: 15px;
  line-height: 30px;
  font-weight: 600;
}

.tieudemucpt {
  font-size: 26px;
  color: #0fb9b1;
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 37px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  padding-bottom: 70px;
  margin-top: 0px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 25px 20px;
  transition: transform 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* đẩy nút xuống dưới */
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-5px);
}

.tool-card img {
  height: 60px;
  margin-bottom: 15px;
}

.tool-card h3 {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bold;
}

.tool-card p {
  font-size: 14px;
  color: #555;
  min-height: 60px;
  /* đảm bảo đoạn mô tả không bị co */
}

.tool-card a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #003c47;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.tool-card a:hover {
  background-color: #0fb9b1;
}

.loban-application {
  margin: 30px auto;
  padding: 60px 25px;
  background: linear-gradient(180deg, #003c47, #003c47);
  border-radius: 16px;
  max-width: 1200px;
  color: #f1f1f1;
}

.loban-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.loban-header h2 {
  font-size: 30px;
  color: #0fb9b1;
  margin-bottom: 15px;
  line-height: 1.4;
}

.loban-header p {
  font-size: 16px;
  color: #d0d0d0;
  line-height: 1.7;
}

.loban-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.loban-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.loban-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

.loban-item h3 {
  font-size: 18px;
  color: #0fb9b1;
  margin-bottom: 12px;
  line-height: 1.5;
}

.loban-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #e0e0e0;
}

/* hếtLỖ BAN */

.tren-duoi {
  padding-top: 10px;
  padding-bottom: 10px;
}

#content {
  max-width: 700px;
  margin: 0 auto;
  background: #003c47;
  /* nền tối hơn để chữ trắng nổi bật */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  color: #f1f1f1;
}

.tieudexemnha {
  font-size: 22px;
  text-align: center;
  color: #ffe4b5;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Input và select chung */
form input[type="text"],
form select {
  width: 100%;
  height: 44px;
  margin-bottom: 20px;
  padding: 0 15px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}

/* Fix màu chữ gợi ý input */
form input::placeholder {
  color: #dddddd;
}

/* Focus input/select */
form input[type="text"]:focus,
form select:focus {
  outline: none;
  border-color: #ffc107;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Style cho OPTION dropdown */
form select option {
  background-color: #1e1e1e;
  color: #ffffff;
}

/* Submit button */
.buttonFengShui {
  width: 100%;
  height: 45px;
  margin-top: 3rem;
  background: linear-gradient(to right, #0fb9b1, #0fb9b1);
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.btn-cancel-select-info:hover {
  background: linear-gradient(to right, #d2b48c, #003c47);
}

.buttonFengShui i {
  margin-right: 6px;
}

/* Kết quả */
.result-block img {
  max-width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 29px;
}

#content a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  border: none;
  background: none;
  padding: 0;
}

#content,
#content p,
#content li,
#content span {
  color: #f8f8f8;
}

#content strong,
#content b {
  color: #ffe4b5;
  /* vàng sáng dễ đọc */
}

#content .huong-tot {
  color: #ff5c5c;
  /* đỏ tươi nổi bật cho hướng tốt */
}

#content .huong-xau {
  color: #ccc;
  /* trắng xám đậm hơn chút cho đoạn phụ */
}

#main {
  position: relative;
  z-index: 1;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.form-row select,
.form-row input[type="text"] {
  flex: 1;
  padding: 8px;
  font-size: 14px;
}
.gender-group {
  display: flex;
  gap: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  color: white;
}

.gender-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
}

.gender-group input[type="radio"] {
  accent-color: #ffd700;
  width: 16px;
  height: 16px;
}

.gender-group label:hover {
  color: #ffd700;
}

.xem-huong-nha {
  margin: 70px auto;
  padding: 60px 25px;
  max-width: 1200px;
  border-radius: 18px;
  margin-bottom: 0px;
}

.xem-huong-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 50px;
}

.xem-huong-header h2 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.4;
}

.xem-huong-header p {
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
}

.xem-huong-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.xem-huong-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  border-left: 5px solid #0fb9b1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.xem-huong-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.xem-huong-item h3 {
  font-size: 18px;
  color: #0fb9b1;
  margin-bottom: 12px;
  line-height: 1.5;
  font-weight: bold;
}

.xem-huong-item p {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}

.body-select-info-fengshui {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.body-select-info-fengshui .suggestions-info {
  width: 100%;
}
.title-body-select-fengshui p {
  padding: 0.5rem;
}
.select-wrapper-info-select {
  position: relative;
  width: 100%;
  pointer-events: "auto";
  cursor: "pointer";
}
.input-info-select {
  width: 100%;
  height: 4rem;
  position: relative;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: #fff;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.169);
  background-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  display: block;
  cursor: pointer;
}
.input-info-select::placeholder {
  color: #5c5e61;
}
.icon-CaretDown-select {
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.icon-CaretDown-select.active {
  transform: rotate(0deg);
}
/* .icon-CaretDown-select::before {
  content: "\e901";
} */
.suggestions-info {
  position: absolute;
  display: none;
  top: 7rem;
  padding: 0.5rem 1rem;
  max-height: 22rem;
  height: auto;
  overflow: auto;
  z-index: 30;
  background: #fff;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 20px;
  box-sizing: border-box;
  transition: 0.3s ease;
}
.suggestions-info i {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  font-weight: 600;
  color: #374151;
}
.suggestions-info .suggestion-item {
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.suggestions-info .suggestion-item.active {
  background-color: #88888847;
}
.suggestions-info .suggestion-item:hover {
  background-color: #f0f0f0;
}
.box-suggestions-info {
  position: relative;
}
.body-select-info-fengshui .suggestions-info {
  width: 100%;
}
.box-input-search-info {
  position: sticky;
  width: 100%;
  top: -1rem;
  background-color: #fff;
  z-index: 10;
  padding: 1rem 0rem;
}
.input-search-info {
  position: sticky;
  top: 0;
  width: 100%;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: #3e4246;
  font-size: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.169);
  background-color: transparent;
  padding: 0.7rem 4rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  background-color: #fff;
}
.input-search-info:hover {
  background-color: rgba(0, 0, 0, 0.169);
}
.suggestion-item {
  padding: 10px 20px;
  font-weight: 500;
}
.suggestion-item:hover {
  cursor: pointer;
  border: 2px solid #a4a4a4;
  border-radius: 5px;
  background-color: #f3f4f6;
}
.suggestion-item span {
  color: #003c47 !important;
}
.cancel-select-info.active .btn-cancel-select-info {
  border: 1px solid #3e4143;
  border-radius: 20px;
  color: #0d1011;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(40, 44, 46, 0.078);
  cursor: pointer;
}
.cancel-select-info.active .btn-cancel-select-info:hover {
  background-color: #940000;
  border-color: #c20000;
}
.cancel-select-info.active {
  position: sticky;
  display: flex;
  flex-direction: row-reverse;
  bottom: -8px;
  background: #fff;
  z-index: 20;
  padding: 0.5rem;
}
.cancel-select-info {
  display: none;
}
.result-block-fengshui {
  display: none;
}
.result-block-fengshui.active {
  display: flex;
  text-align: center;
  flex-direction: column;
  margin-top: 3rem;
}

.result-block-fengshui.active img {
  margin: 3rem 0;
}
.result-block-fengshui.active h3 {
  margin: 1rem 0;
}
.result-block-fengshui.active .notify-fengshui {
  font-size: 13px;
  text-align: center;
  margin-top: 20px;
  color: #f8f8f8;
}
.result-block-fengshui.active .notify-fengshui b {
  color: #c20000 !important;
}
.fengshui-buildhouse .report-container {
  margin-top: 3rem;
}
.fengshui-buildhouse .report-container .report-header {
  margin-bottom: 2rem;
}
.card-fengshui p {
  text-align: left;
}
.evaluation-box {
  background-color: #f6fff6;
  margin-top: 2rem;
}
.evaluation-box h2 {
  padding-top: 2rem;
  font-weight: 600;
}
.evaluation-box p,
.borrow.borrowbox p {
  color: #3e4143 !important;
  padding: 0 2rem 2rem 2rem;
  text-align: left;
}
.evaluation-box p strong,
.borrow.borrowbox p strong {
  color: #e5b85a !important;
}
.box-rent-age {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.borrow {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.borrow.borrowbox h3 {
  margin-top: 2rem;
}
.notify-rent-age {
  margin-top: 2rem;
}
.ritual-list {
  margin-top: 1.5rem;
}
.ritual-list ul {
  padding-left: 1.5rem;
  text-align: left;
}
.ritual-list ul li {
  margin-bottom: 1rem;
}
.info-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}
.fs-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.fs-basic ul {
  padding-left: 18px;
}
.fs-basic ul li b,
.fs-result p b {
  color: #003c47 !important;
}
.fs-basic ul li,
.fs-result p {
  color: #3e4143 !important;
  font-weight: 600;
}

.fs-result {
  text-align: center;
}
.fs-result.bad {
  border-left: 6px solid #e74c3c;
  background: #fff5f5;
}

.fs-result.good {
  border-left: 6px solid #2ecc71;
  background: #f4fff8;
}

.fs-score {
  font-size: 22px;
  font-weight: bold;
}

.fs-detail summary {
  cursor: pointer;
  font-weight: bold;
  margin: 8px 0;
  color: #003c47;
}
.fs-detail p,
.fs-detail ul li,
.fs-note p {
  color: #374151 !important;
}
.title-age-first-footing {
  font-size: 2.5rem;
  font-weight: 600;
}
#result-age-first-footing h2 {
  font-size: 2rem;
  color: #ffe4b5 !important;
  text-align: left;
  margin-top: 3rem;
}
.user-info {
  text-align: left;
}

.user-info li {
  margin-bottom: 1rem;
}

#result-age-first-footing .note {
  font-style: italic;
  font-size: 1rem;
}
#result-age-first-footing .detail-item {
  text-align: left;
}
#result-age-first-footing .detail-item ul{
  font-size: 1.25rem;
}

#result-ground-break-date b {
  color: #003c47;
}
#result-ground-break-date p {
  color: #1e1e1e;
  font-size: 1.5rem;
}
#result-ground-break-date .subtitle {
  color: #f8f8f8;
  font-weight: 600;
  margin-top: 2rem;
  font-size: 2rem;
}
#result-ground-break-date .card-title {
  color: #1e1e1e;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
#result-ground-break-date small,
#result-ground-break-date li {
  color: #1e1e1e;
  font-weight: 600;
}
#result-ground-break-date .fs-insight {
  margin-top: 2rem;
}
#result-ground-break-date .lucky-hours span {
  color: #003c47;
  font-weight: 600;
}
#result-ground-break-date .list-rent-age {
  line-height: 1.8;
  color: #f8f8f8;
  margin-top: 2rem;
}
#result-ground-break-date .progess-rent-age {
  margin-top: 2rem;
}
#result-ground-break-date .progess-rent-age li {
  line-height: 1.8;
  color: #f8f8f8;
}
#result-ground-break-date .fs-disclaimer p {
  color: #f8f8f8;
}
