body {
  background: #ffffff;
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

#printable2 .col-8 .row {
  margin-right: -15px !important;
  margin-left: -15px !important;
}

.interaction_custom input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc; /* Màu viền */
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

/* Khi checkbox được tích vào */
.interaction_custom input[type="checkbox"]:checked {
  background-color: #b29433;
  border-color: #b29433;
}

.text-interaction-stem {
  color: #b29433;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Thêm dấu check */
.interaction_custom input[type="checkbox"]:checked::before {
  content: "✔";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.page {
  margin: 0 auto;
  width: 315mm;
}

.sp-tab-bar .sp-tab-item-disable {
  padding: 5px 20px;
  margin-right: 15px;
  background: #b29433; /* Màu xám cho trạng thái disabled */
  color: #fff;
  border-radius: 40px;
  cursor: not-allowed; /* Hiển thị con trỏ khi disabled */
  transition: all 0.1s;
}

.sp-page-header {
  align-items: center;
  background-color: #937416;
  color: white;
  display: flex;
  padding: 0;
}

.sp-table .sp-header {
  background-color: #b29433;
  /*white-space: nowrap;*/
}

@media print {
  body {
    background-color: #fff !important;
  }
}
.sp-table .sp-header-highlight {
  background-color: #41d98d;
  border-left: 1px solid white;
  border-right: 1px solid white;
  color: white;
  font-size: 1rem;
  padding: 1px;
}

.sp-table .sp-header-vertical {
  background-color: #b29433;
}

.sp-cell-highlight {
  background-color: #fffcef;
}

.sp-cell {
  border-color: #b29433;
}

.sp-cell > td {
  border-color: #b29433;
}

.sp-cell table {
  width: 100%;
}

.sp-heading-title {
  color: #b29433;
  font-size: 0.525rem;
  font-weight: bold;
}

.sp-stem {
  font-size: 0.625rem;
}

.sp-useful-god {
  background-color: #8a8089;
  border-radius: 6px;
  color: white;
  padding: 0 6px;
}

.sp-gold-button {
  background-color: #b29433;
  border: 1px solid #b29433;
}

.sp-row {
  margin: 10px;
}

.sp-sub-text {
  font-size: 1rem;
  font-style: italic;
}

.sp-btn-sm {
  border: 1px solid white;
  border-radius: 3px;
  color: white;
  padding: 1px;
  padding-left: 5px;
  padding-right: 5px;
}

.sp-btn-sm:hover {
  background: #41d98d;
  border: 1px solid #41d98d;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
  text-decoration: none;
}

.sp-link {
  color: white;
}

.sp-link:hover {
  color: white;
}

.qimen-chart-container {
  border: 2px solid lightgrey;
  border-radius: 10px;
  margin-top: 10px;
  padding: 10px;
}

.sp-bazi-text {
  color: #b29433;
  font-weight: bold;
}

.sp-heading-text {
  color: #b29433;
  font-size: 28px;
  font-weight: bold;
}

.sp-clickable:hover {
  color: #41d98d;
  cursor: pointer;
}

.sp-main-10god {
  color: #b29433;
  font-size: 0.825rem;
  font-weight: bold;
  /*white-space: nowrap;*/
}

.sp-main-stem {
  color: #937416;
  font-size: 0.825rem;
  font-weight: bold;
}

.sp-sub-10god {
  color: black;
  font-size: 0.825rem;
  /*white-space: nowrap;*/
}

.sp-favourable-activity {
  color: red;
  font-size: 0.825rem;
  padding-left: 10px;
}

.guidance-video {
  background-image: url(/Content/Icons/video-icon.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 20px;
}

.video-row {
  min-height: 50px;
}

.sp-logo {
  max-width: 300px;
  width: 100%;
}

.sp-right-border {
  border-right: 1px solid #b29433 !important;
}

.sp-left-border {
  border-left: 1px solid #b29433 !important;
}

.pillar-marker {
  border: 1px;
  border-color: darkgrey;
  border-style: solid;
  font-size: 14px;
  height: 100%;
  margin: 0 10px 0 0;
  padding: 5px 0;
  text-align: center;
  white-space: nowrap;
  writing-mode: vertical-lr;
}

.login-page {
  background: #937416;
  color: #fff;
  min-height: calc(100vh - 84px);
}
.login-page .login-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 480px;
  padding: 50px 15px;
}
.login-page .login-container .input {
  border-color: #fff;
  border-radius: 25px;
  line-height: 25px;
  outline: none;
  padding: 10px 20px;
}
.login-page .login-container .btn {
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  line-height: 20px;
  padding: 10px 20px;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.login-page .login-container .btn-forget-password {
  color: inherit;
  margin: 10px 0 20px 30px;
}
.login-page .login-container .btn-product-hint {
  background: #ebebeb;
  border-radius: 20px;
  color: #937416;
  margin-top: 10px;
}
.login-page .login-container .login-hint {
  font-size: 14px;
  font-style: italic;
  margin: 20px 0 0;
}
.login-page .login-container .product-hint {
  border-top: 1px solid #fff;
  margin-top: 50px;
  padding-top: 50px;
  text-align: center;
}
.login-page .login-container .text-error {
  color: #dd2e21;
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
}
.login-page .login-container .error-message {
  color: #937416;
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
}
.login-page .login-container .logo {
  margin-top: 20px;
  max-width: 100%;
  width: 400px;
}
.login-page .btn-forget-password {
  color: inherit;
  margin: 10px 0 20px 30px;
}
.login-page .btn-switch-mode {
  cursor: pointer;
}
.login-page .btn-submit {
  background: transparent !important;
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff !important;
  margin: 0 auto;
  min-width: 250px;
}
.login-page .mt-30 {
  margin-top: 30px;
}
.login-page .mt-10 {
  margin-top: 10px;
}

.inputFrm {
  background: #fff;
  border-radius: 25px;
  margin: 20px auto;
  max-width: 980px;
  padding: 50px;
}
.inputFrm-title {
  color: #937416;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
.inputFrm-title-desc {
  display: block;
  text-align: center;
}
.inputFrm .search-box {
  padding: 0;
  position: relative;
  text-align: right;
}
.inputFrm .search-box .input {
  border: 2px solid #937416;
  border-radius: 10px;
  height: 40px;
  outline: none;
  padding: 0 10px;
  width: 250px;
}
.inputFrm .search-box .fa-search {
  position: absolute;
  right: 10px;
  top: 10px;
}

footer {
  color: #9c9c9c;
}
footer > .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  max-width: 980px;
}
footer a {
  color: inherit;
}
footer .logo {
  height: 80px;
}
footer .logo-text {
  color: #cbcbcb;
  font-size: 40px;
  font-weight: bold;
}
footer .info {
  text-align: right;
}
footer-item {
  color: inherit;
  padding: 0 5px;
}

.topbar {
  align-items: center;
  display: flex;
  padding: 10px 0;
}
.topbar .flex-1 {
  flex: 1;
}
.topbar .btn-topbar {
  color: #9c9c9c;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
}
.topbar .dropdown-wrapper {
  align-items: center;
  cursor: pointer;
  display: flex;
  margin-left: auto;
  position: relative;
}
.topbar .dropdown-wrapper .fa-caret-down {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.topbar .dropdown-wrapper .dropdown-menu-custom {
  display: none;
  font-size: 16px;
  min-width: 180px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 3;
}
.topbar .dropdown-wrapper .dropdown-menu-custom ul {
  background: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
  list-style: none;
  padding-left: 0;
}
.topbar .dropdown-wrapper .dropdown-menu-custom ul > li > a:hover {
  color: #333;
  text-decoration: none;
}
.topbar .dropdown-wrapper .dropdown-item-custom > a {
  align-items: center;
  color: #333;
  display: flex;
  font-weight: normal;
  padding: 10px;
}
.topbar .dropdown-wrapper .dropdown-item-custom > a:hover {
  background: #f6f6f6;
}
.topbar .dropdown-wrapper .dropdown-item-custom > a > img {
  height: 16px;
  width: 20px !important;
}
.topbar .dropdown-wrapper .dropdown-item-custom > a > span {
  margin-left: 8px;
}
.topbar .dropdown-wrapper:hover .dropdown-menu-custom {
  display: block;
}

.nav-top {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #000;
}
.nav-top li {
  width: 70px;
  font-size: 10px;
  margin: 10px;
}
.nav-top li:hover {
  opacity: 0.5;
}
.nav-top li p {
  margin: 5px 0;
  text-align: center;
}
.nav-top li a {
  color: #333;
  text-decoration: none;
}
.nav-top li img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .nav-top li {
    width: 80px;
    margin: 5px;
  }
  .nav-top li p {
    width: 80px;
    font-size: 13px;
  }
}
.btn-language {
  align-items: center;
  border: 1px solid #333;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  margin: 15px;
  padding: 10px;
  width: 250px;
}
.btn-language.selected {
  box-shadow: 0 0 32px -8px rgba(0, 74, 36, 0.9);
}
.btn-language > img {
  height: 80px;
  width: 80px;
}

.btn-language-select {
  background: #937416;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  padding: 10px;
}

.text-red {
  color: #dd2e21;
}

.select-relationship {
  border-radius: 10px;
  font-size: 18px;
  outline: none;
  padding: 5px 5px 5px 35px;
  max-width: 100%;
}
.select-relationship-wrapper {
  position: relative;
}
.select-relationship-wrapper .fa-user-friends {
  color: #333;
  left: 10px;
  position: absolute;
  top: 0;
}
.select-relationship-wrapper .fa-leaf {
  color: #333;
  left: 10px;
  position: absolute;
  top: 0;
}

.btn-action-wrapper .btn-action {
  background: #b29433 !important;
  border: 1px solid #b29433;
  border-radius: 5px;
  color: #fff;
  line-height: 20px;
  padding: 10px;
  text-transform: uppercase;
  width: 300px;
}
.btn-action-wrapper .btn-unlock {
  background: rgba(40, 167, 69, 0.5) !important;
  border-color: rgba(40, 167, 69, 0.5);
  font-weight: normal;
}
.btn-action-wrapper p {
  margin-bottom: 0;
}

.btn-unlock-wrapper.d-none {
  display: none;
}

.sp-tab-bar {
  display: flex;
  margin-top: 10px;
}
.sp-tab-bar .sp-tab-item {
  padding: 5px 20px;
  margin-right: 15px;
  background: #b29433;
  color: #fff;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.1s;
}
.sp-tab-bar .sp-tab-item:hover {
  background: #937416;
}

.qimen-destiny-heading {
  padding: 5px 10px;
  margin: 10px -15px 2px;
  background: #937416;
  color: #fff;
  text-align: center;
}
.qimen-destiny-detail {
  display: flex;
}
.qimen-destiny-detail .actions {
  width: 180px;
}
.qimen-destiny-detail .content {
  flex: 1;
  text-align: center;
}
.qimen-destiny-detail .content .title {
  display: inline-block;
  padding: 5px 20px;
  background: #333;
  color: #fff;
}
.qimen-destiny-detail .select {
  width: 50px;
}
.qimen-destiny-detail .select-year {
  width: 70px;
}
.qimen-destiny-detail .chart-type {
  margin-top: 2px;
  padding: 5px 20px;
  width: 120px;
  background: #9c9c9c;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.1s;
}
.qimen-destiny-detail .chart-type:hover {
  background: #937416;
}
.qimen-destiny-detail .chart-type.active {
  background: #b29433;
}
.qimen-destiny-dynamic-palace {
  display: flex;
  margin-top: 15px;
}
.qimen-destiny-dynamic-palace .palace-item {
  flex: 1;
}
.qimen-destiny-dynamic-palace .palace-item:not(:last-child) {
  border-right: 1px solid #333;
}
.qimen-destiny-dynamic-palace .palace-item h3 {
  font-size: 16px;
  font-weight: bold;
}
.qimen-destiny-dynamic-palace .palace-item .circle {
  margin: 0 auto;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  background: #b29433;
  color: #fff;
}

@media screen and (max-width: 767px) {
  body > .container {
    padding: 0;
  }
  .page {
    margin: 0 15px;
  }
  .heading-container {
    margin: 0;
    width: 100%;
  }
  .topbar-left {
    display: flex;
    flex-direction: column;
  }
  footer > .container {
    flex-direction: column;
    text-align: center;
  }
  .inputFrm {
    border-radius: 0;
    padding: 20px 10px;
  }
  .qimen-chart-container > .row {
    flex-direction: column;
  }
  .qimen-chart-container > .row > [class^="col-"] {
    max-width: 100%;
  }
}
@media screen and (min-width: 768px) {
  body > .container {
    margin: 0 auto;
    padding: 0;
    width: 285em;
  }
}
.member-limit {
  position: relative;
}
.member-limit .limit-bg {
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.member-limit .limit-bg .img-icon {
  width: 20%;
}
.member-limit .limit-bg p {
  color: #fff;
  font-size: 1rem;
  padding-top: 20px;
}
.member-limit .limit-bg .limit-title {
  text-align: center;
}
.member-limit .limit-bg .limit-title a {
  display: block;
  width: 60%;
  margin: 0 auto;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #41d98d;
  color: #fff;
  text-decoration: none;
}

.table-hiddenStem .text-center {
  font-size: 0.625rem;
}
.table-hiddenStem .sp-chinese-character-sub {
  font-size: 1rem;
}
.table-hiddenStem .sp-chinese-character-main {
  font-size: 1.5rem;
}

.colorActive {
  background-color: #41d98d !important;
}

.hidden-stems {
  display: none;
}

.qimen-destiny-heading {
  padding: 5px 10px;
  margin: 10px 0 2px;
  background: #937416;
  color: #fff;
  text-align: left;
}

.structure-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.structure-wrapper .structure-item {
  width: 48%;
  height: 540px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
}
.structure-wrapper .structure-item .structure-title {
  position: absolute;
  right: 10px;
  top: 10px;
  text-align: center;
}
.structure-wrapper .structure-item .structure-title h3 {
  background-color: #b29433;
  color: #fff;
  width: 100px;
  font-size: 15px;
  padding: 10px;
}
.structure-wrapper .structure-item .structure-title h4 {
  background-color: #b29433;
  color: #fff;
  width: 100px;
  font-size: 12px;
  padding: 10px;
}

.btn-primary {
  background-color: #937416 !important;
}

.shen-sha p {
  font-size: 0.7rem;
  padding: 4px;
  line-height: 1;
} /*# sourceMappingURL=personal-bazi.css.map */

.top-menu {
  position: absolute;
  top: 40px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px;
  z-index: 1000;
  min-width: 150px;
}

.menu-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
}
.header-menu {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 5px;
  gap: 10px;
}

.header-menu img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.header-menu p {
  margin: 0;
  font-size: 14px;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.header-menu:hover {
  text-decoration: none;
}

.menu-grid li {
  text-align: center;
}

.menu-grid img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-bottom: 5px;
}

.menu-grid p {
  font-size: 12px;
  color: #333;
}

@media screen and (max-width: 767.98px) {
  .top-menu {
    position: absolute;
    top: 40px;
    right: 10px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    z-index: 1000;
    min-width: 150px;
  }

  .menu-grid {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
  }
}

.logoBazi {
  img {
    height: 40px;
  }
}
.gmail-svg-button {
  width: 24px;
  height: 24px;
  margin-right: 20px;
}

.icon-container {
  display: flex;
  flex-wrap: wrap; /* Nếu muốn tự động xuống dòng khi không đủ chỗ */
  gap: 5px; /* Khoảng cách giữa các icon */
  justify-content: center; /* Canh giữa (tuỳ chọn) */
  align-items: center; /* Canh giữa theo trục dọc (tuỳ chọn) */
}

.table-container {
  position: relative;
  width: 100%;
}

.svg-container {
  width: 100%;
  height: 43px;
}

.svg-container-dateSelection {
  width: 100%;
  height: 43px;
}

.zoom-in {
  cursor: zoom-in;
}

#svg-container {
  width: 100%;
}

.table-natal {
  border: 1px solid #ace1af;
  padding: 0;
}

.interactions_tab input[type="radio"] {
  display: none;
}

.textHiddenStems {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.year_tab input[type="radio"] {
  display: none;
}

.interactions_tab {
  display: flex;
  gap: 20px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  position: relative;
  font-size: 16px;
}

/* Vòng tròn bên ngoài */
.radio-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Vòng tròn bên trong khi được chọn */
.radio-label input[type="radio"]:checked + span::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #b29433;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
}
.total-table {
  display: flex;
  justify-content: center;
  width: 100%;
}

#svg-container-top-luckPillar1 {
  border: 1px solid #ace1af;
  padding-bottom: 10px;
}
#svg-container-end-luckPillar1 {
  border: 1px solid #ace1af;
}

#svg-container-top-luckPillar {
  border: 1px solid #ace1af;
  padding-bottom: 10px;
}
#svg-container-end-luckPillar {
  border: 1px solid #ace1af;
}
.sp-table .sp-right-table {
  background-color: inherit !important;
}
table .right-table1 {
  border: none !important;
}

.title-lucky {
  transform: rotate(-180deg);
  writing-mode: vertical-lr;
  font-size: 18px;
  text-transform: uppercase;
}
.title-destiny {
  transform: rotate(0deg);
  writing-mode: vertical-lr;
  font-size: 18px;
  text-transform: uppercase;
}

.background-lucky {
  background-color: #937416 !important;
}
.interaction-tab {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 50px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.year_tab {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 50px;
  margin-top: 12px;
  margin-bottom: 6px;
}

.dateCustom {
  display: flex;
  align-items: flex-end; /* Căn các phần tử theo đáy */
  gap: 15px; /* Khoảng cách giữa các nhóm */
}

.input-group {
  display: flex;
  flex-direction: column;
}

/* Label đặt phía trên ô input */
.input-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px; /* Khoảng cách giữa label và select */
  color: #333;
}

/* Tùy chỉnh ô select */
.input-group select {
  padding: 8px 10px;
  font-size: 14px;
  height: 38px; /* Chiều cao đồng bộ với button */
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  outline: none;
  transition: border-color 0.3s;
}

.input-group select:focus {
  border-color: #b29433;
  box-shadow: 0 0 5px rgba(0, 255, 157, 0.5);
}

/* Nút Update Date */
button {
  padding: 8px 20px;
  font-size: 14px;
  height: 38px;
  width: auto;
  background-color: #b29433;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  color: white;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
}

button:hover {
  background-color: #b29433;
}

button:focus {
  outline: #6c897a;
}

/* Radio Buttons */
.radio-label {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.radio-label input[type="radio"] {
  margin-right: 8px;
}

.selected-tab {
  color: #b29433;
  font-weight: bold;
}

.selected-tabStem {
  /* color: #b29433;
  font-weight: bold; */
}

#profiles_date canvas {
  cursor: zoom-in;
}

#profiles canvas {
  cursor: zoom-in;
}

#fiveStructures_date {
  cursor: zoom-in;
}

#fiveStructures {
  cursor: zoom-in;
}

/* Date Selection  */
.date-selection {
  .container-date {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .date-activity {
    display: flex;
    flex-direction: column;
  }

  .activity-selection {
    min-height: 38px;
  }

  .update-activity {
    margin-top: 17px;
  }

  .row1 {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 50px;
  }

  .datetime-select {
    min-height: 40px;
    padding: 5px;
  }

  .row1 select,
  .row1 button {
    padding: 5px 25px;
    font-size: 15px;
  }

  .row1 button {
    background-color: #b29433;
    color: white;
    border: none;
  }

  .row2 {
    display: flex;
    gap: 50px;
    margin-top: -10px;
  }

  .row3 {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    .sp-table {
      width: 100%;
      table-layout: fixed; /* Cố định độ rộng cột */
      border-collapse: collapse; /* Loại bỏ khoảng trống giữa các ô */
    }

    .sp-table {
      width: 100%;
      border-collapse: collapse;
    }

    .sp-header {
      text-align: center;
    }

    .sp-header:first-child {
      width: 2%; /* Thẻ đầu tiên */
    }

    .sp-header:not(:first-child) {
      width: 25%; /* Các cột Hour, Day, Month, Year chia đều (100% - 4%) */
    }
    .natalChart,
    .nowChart {
      height: 100%;
    }
    .nowchart-title,
    .natalchart-title {
      text-align: center;
    }
  }

  .featured-activities ul {
    list-style: none;
    padding: 0;
  }
  .featured-activities {
    width: 20%;
  }

  .featuredActivityDate {
    cursor: pointer;
    .selected {
      background-color: #fffcef; /* Màu xanh dương */
      color: black; /* Màu chữ trắng */
      border-radius: 4px; /* Bo tròn viền */
    }
  }

  .featured-activities li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .activity-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }

  .featured-activities li.active {
    background-color: #fffcef;
    font-weight: bold;
  }

  .details {
    width: 100%;
    max-height: 100%;
  }

  .details table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    height: 100%;
  }

  .details th {
    background-color: #fffcef;
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
  }

  .details td {
    padding: 20px;
    text-align: center;
    border: 1px solid #ccc;
  }

  .circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #937416;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin: 0 auto 10px;
  }
  .title-forcus {
    font-size: 50px;
  }
  .featured-title {
    font-size: 20px;
    font-weight: bold;
  }
  .text-chart-dateSection {
    font-size: 0.6rem !important;
  }

  /* Datetime */
}

.sp-tab-item-active {
  background-color: #937416 !important; /* Màu xanh highlight */
  color: white;
  border-radius: 5px;
  border: 1px solid #937416;
}

.date-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
}

.input-group-date {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

/* Đảm bảo tất cả các input, select có cùng kích thước */
.input-group-date div {
  display: flex;
  flex-direction: column;
  align-items: start;
}

/* Đảm bảo các input và select có chiều rộng bằng nhau */
.input-group-dateinput,
.input-group-date select {
  width: 100%;
  padding: 8px;
  font-size: 15px;
}

.datetime-label {
  font-weight: bold;
}

.time-date {
  font-size: 14px !important;
}

/* Button và kết quả nằm ngang với input */
.apply-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

button {
  padding: 8px 12px;
  background-color: #b08d34; /* Màu giống ảnh */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  white-space: nowrap;
}

button:hover {
  background-color: #8a6c25;
}

.date-result {
  padding: 8px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  flex-grow: 1;
  text-align: center;
}

/* Date SELECTION NEW */

.main-chart {
  display: grid;
  grid-template-columns: 3fr 7fr; /* Current Chart (80%) và Natal Chart (20%) */
  gap: 10px;
}

.merge-table-dateselection {
  display: flex;
  gap: 17px;
}

.row-title {
  display: grid;
  grid-template-columns: 912px 260px; /* Current Chart (80%) và Natal Chart (20%) */
  gap: 17px;
}

.current-chart {
  grid-column: 1 / 2; /* Current Chart chiếm 80% */
  background-color: #f9f9f9;
}

.heading-date {
  background-color: #937416 !important;
}

.current-chart .section-title {
  text-align: center;
  font-size: 16px;
  padding: 10px;
  background-color: #4f5150;
  color: white;
  text-transform: uppercase;
  margin-bottom: 0;
}

.section-title {
  text-align: center;
  font-size: 16px;
  padding: 10px;
  background-color: #4f5150;
  color: white;
  text-transform: uppercase;
  margin-bottom: 0;
}

.current-content {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 10px;
}

.tong-shu,
.chart-table {
  background-color: white;
}

.tong-shu {
  max-height: 602px; /* Giới hạn chiều cao */
  overflow-y: auto; /* Thêm thanh cuộn nếu nội dung vượt quá */
  border: 1px solid #ddd; /* Viền bên ngoài */
  background-color: #f9f9f9; /* Màu nền nhạt */
}

.tong-shu table {
  width: 100%;
  border-collapse: collapse;
  text-align: left; /* Canh trái mặc định */
}

.tong-shu th {
  text-align: center; /* Canh giữa tiêu đề */
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #b29433; /* Màu nền cho tiêu đề */
  border: 1px solid #ddd;
  color: white;
}

.tong-shu td {
  padding: 8px;
  border: 1px solid #ddd;
  vertical-align: top; /* Canh trên cho nội dung */
}

.tong-shu td:first-child {
  width: 40%; /* Phần bên trái chiếm 30% */
  vertical-align: top; /* Canh trên */
}

.tong-shu td:last-child {
  width: 60%; /* Phần bên phải chiếm 70% */
  text-align: left; /* Canh trái cho nội dung */
}

.sp-good-activity-date {
  color: red; /* Màu đỏ cho các "Bad" items */
  font-size: 13px;
}

.default-black {
  color: black; /* Màu mặc định khi IsGoodDayOfficer là false */
  font-size: 12px;
}

.tong-shu p {
  margin: 0; /* Loại bỏ khoảng cách giữa các đoạn */
  word-wrap: break-word; /* Gói nội dung nếu quá dài */
}

.chart-grid {
  display: grid;
  gap: 10px;
}

.natal-chart {
  grid-column: 2 / 3; /* Natal Chart chiếm 20% */
  text-align: center;
  background-color: white;
}

.natal-chart .td-natal-chart {
  border: 1px solid #937416;
}

.natal-chart > tr {
  border: 1px solid #937416;
}

.natal-chart .section-title {
  text-align: center;
  font-size: 16px;
  padding: 10px;
  background-color: #4f5150;
  color: white;
  text-transform: uppercase;
  margin-bottom: 0;
}

.section-title {
  text-align: center;
  font-size: 16px;
  padding: 10px;
  background-color: #4f5150;
  color: white;
  text-transform: uppercase;
  margin-bottom: 0;
}

.sp-table-date {
  width: 100%;
  height: auto !important;
}
.natalChart-heaven {
  justify-content: center;
  min-height: 114px;
}

.natalChart-earth {
  justify-content: center;
  min-height: 99.3px;
}
.natalChart-name {
  font-size: 16px !important;
  font-weight: normal !important;
  text-transform: uppercase;
}

.personal-energy {
  text-align: center;
}

.personal-energy h2 {
  text-align: center;
  font-size: 16px;
  padding: 10px;
  background-color: #4f5150;
  color: white;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.energy-grid {
  display: grid;
  grid-template-columns: calc(30% - 6.67px) calc(30% - 6.67px) calc(
      40% - 6.67px
    ); /* Tính toán với gap */
  gap: 10px; /* Khoảng cách giữa các ô */
}

.five-elements,
.bazi-strength {
  border: 1px solid #ddd;
  text-align: center;
}

.text-red-date {
  color: #937416 !important;
}

.energy-date-heading {
  font-size: 16px;
  text-transform: uppercase;
  background-color: #b29433;
  padding: 10px;
  color: white;
}

.focus-mode {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5px;
  margin-bottom: 0;
}

.focus-mode.disabled {
  cursor: not-allowed; /* Con trỏ hiển thị trạng thái không khả dụng */
  opacity: 0.6; /* Làm mờ nút để biểu thị trạng thái disabled */
}

.focus-mode input[disabled] + span {
  color: #c0c0c0; /* Màu xám cho nút disabled */
}

/* Popup */

.popup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.popup-body {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.popup-close {
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 10px;
}
