/* Reset mặc định */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container chính */
#container {
  width: 100%;
  height: calc(100vh - 210px);
  overflow: hidden;
  position: relative;
}

/* Div để zoom và di chuyển */
#zoomable-div {
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, #f0f0f0, #dcdcdc); */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* Biến trạng thái động cho zoom */
  transform-origin: center center;
  transition: transform 0.1s ease-out;
  cursor: grab;
}

.spouse-wrapper {
  padding: 5px 6px !important;
  background-color: #fff;
}

.item_tv h6 {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  margin-bottom: -1px;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 35px;
}

.item_tv span {
  font-size: 13px !important;
  font-weight: 400 !important;
  margin-bottom: -1px;
}

.item_avatar {
  object-fit: cover;
  object-position: top;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #958e8e;
  height: 100px;
  margin-bottom: 5px;
  max-width: 100px;
}

.modal_item_tree {
  width: 400px !important;
}

.modal_item_tree_header {
  background-color: #4bb669 !important;
  height: 100px;
}

.item_avatar_modal {
  border-radius: 100px;
  border: 4px solid #e9e8e8;
  margin-top: -79px;
  width: 120px;
  height: 120px;
  margin-left: 31%;
  object-fit: cover;
}

.modal_body_item_tree .row {
  font-size: 14px;
  margin-top: 10px;
}

.modal_body_item_tree .col-md-3 {
  font-weight: 700;
}

/* Dùng cho phần tử p.treefml_ct */
.treefml_ct {
  background-image: url('/assets/image/bg_ct.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 62px;
  border: 0px solid #ddd;
  text-align: center;
  color: #333;
  font-family: 'Arial', sans-serif;
  width: 254px;
  height: auto;
  margin: 0 auto;
}

/* Dùng cho tiêu đề h3 bên trong p.treefml_ct */
.treefml_ct h3 {
  font-size: 24px;
  /* Điều chỉnh kích thước chữ */
  font-weight: bold;
  /* Làm chữ đậm */
  margin: 0;
  /* Loại bỏ margin mặc định */
  line-height: 1.5;
  /* Điều chỉnh khoảng cách giữa các dòng */
}

.treefml_ct p {
  position: absolute;
  width: 123px;
  font-weight: 700;
  font-size: 10px;
  margin-top: -10px;
  line-height: 14px;
  text-align: center;
  color: #e0df0c;
}

.gia_pha_div {
  border: 5px solid #d6240d;
  background-color: #f7f4d7;
  padding-top: 10px;
}

.modal_body_item_tree h2 {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
}

h3#date_info {
  font-size: 14px;
  text-align: center;
  color: #63b56a;
}


.spouse-wrapper .spouse {
  width: 45%;
}

.btn_sua_tts {
  margin: 10px auto !important;
  /* width: 32.3% !important; */
  margin-bottom: -5px !important;
  height: 30px;
}

.change_ava {
  width: 100px;
  position: absolute;
  top: 26px;
  right: 23%;
  border-radius: 100px;
}

.change_ava button {
  border-radius: 100px;
}

.controls {
  padding-left: 10px;
  position: absolute;
}

.controls button {
  padding: 6px 8px;
  color: #fff !important;
  background-color: #4bb56c;
  font-size: 13px;
}

span#shareKey {
  background-color: #FFEB3B;
  padding: 2px 9px;
  border-radius: 10px;
}


div#shareKeyContainer {
  margin-top: 12px;
}

.gr_btn_item {
  padding: 8px 9px;
  margin-bottom: 8px;
  margin-top: -24px;
}