@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap");

body {
  font-family: Montserrat, sans-serif;
}
.container-app {
  max-width: 1200px;
  padding: 15px;
  margin: auto;
  font-size: 14px;
  color: #444444;
}

.fs-14 {
  font-size: 14px;
}
.fs-24 {
  font-size: 24px;
}
.mt-30 {
  margin-top: 30px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mt-10 {
  margin-top: 10px;
}

.color-aeaeae {
  color: #aeaeae;
}
.color-ddb670 {
  color: #ddb670;
}
.color-cca866 {
  color: #cca866;
}
.color-003565 {
  color: #003565;
}
.color-111111 {
  color: #111111;
}
.color-444444 {
  color: #444444;
}
.color-222222 {
  color: #222222;
  font-weight: 500;
}
.color-52CC00 {
  color: #52cc00;
}
.fw-500 {
  font-weight: 500;
}
.position-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.w-100px {
  width: 120px;
}
.w-128 {
  min-width: 128px;
}
.w-140 {
  min-width: 145px;
}
.w-54 {
  min-width: 54px;
}
.w-320 {
  width: 320px;
}
.w-180 {
  width: 180px;
}
.w-220 {
  width: 220px;
}
.gap-20 {
  gap: 20px;
}
.btn {
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  line-height: 22px;
  height: 44px;
}

/* Breadcrumb */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b5b5b5;
  font-size: 14px;
}

.breadcrumb-custom .active {
  color: #cfa85a;
}

/* Sections */
.section-box {
  background: #fff;
  padding: 30px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #0b3a6e;
  text-align: center;
  font-family: "Playfair Display";
  line-height: 44px;
  display: block;
}

.section-subtitle {
  color: #444444;
}

.section-box .request-check-right {
  padding: 30px 0;
  border-left: 1px solid #f1f1f1;
}

/* Search */
.search-box {
  display: flex;
  width: 100%;
}

.search-box input {
  border-radius: 4px 0 0 4px;
  color: #aeaeae;
  padding: 12px 10px;
  font-size: 14px;
  height: 47px;
}
.search-box input::placeholder {
  color: #aeaeae;
}

.btn-search {
  background: #0b3a6e;
  color: #fff;
  border-radius: 0 4px 4px 0;
  width: 50px;
  font-size: 24px;
  height: 47px;
  min-height: 47px;
}
.btn-search:hover {
  background: #0b3a6e;
  color: #fff;
  opacity: 0.9;
}

/* Buttons */
.btn-primary-custom {
  background: #0b3a6e;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
}

.btn-gold {
  background: #cfa85a;
  color: #fff;
  padding: 10px 24px;
}
.btn-gold:hover {
  background: #cfa85a;
  color: #fff;
}

.btn-outline-gold {
  border: 1px solid #cfa85a;
  color: #cfa85a;
  padding: 10px 24px;
}
.btn-outline-gold-sm {
  padding: 8px 10px;
}
.btn-outline-gold:hover {
  background: #cfa85a;
  color: #ffffff;
}
.btn-outline-secondary {
  padding: 10px 24px;
}
.btn-outline-green {
  border: 1px solid #52cc00;
  color: #52cc00;
  padding: 10px 24px;
}
.btn-outline-green-sm {
  padding: 8px 10px;
}
.btn-outline-green:hover {
  background: #52cc00;
  color: #ffffff;
}

.btn-outline-primary {
  border: 1px solid #0b3a6e;
  color: #0b3a6e;
  padding: 10px 24px;
}
.btn-outline-primary-sm {
  padding: 8px 10px;
}
.btn-outline-primary:hover {
  background: #0b3a6e;
  color: #ffffff;
}
.btn-primary-custom.active {
  background: #0b3a6e;
  color: #ffffff;
}
.btn-primary-custom.active:hover,
.btn-gold:hover {
  opacity: 0.9;
}

/* Required */
.required {
  color: red;
}

.info-user-form {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 15px 10px 15px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 140px;
  gap: 8px;
}
.info-user-form.custom-grid {
  grid-template-columns: repeat(2, 1fr) 140px;
}
.info-user-form.no-grid {
  grid-template-columns: 1fr;
}
.form-label {
  margin-bottom: 4px;
}
.custom-form-select-lg {
  font-size: 14px;
  height: 44px;
}
.custom-form-select-md {
  font-size: 14px;
  height: 40px;
}
.custom-form-select-sm {
  font-size: 14px;
  height: 34px;
}
.custom-form-input-lg {
  height: 44px;
  font-size: 14px;
}
.custom-form-input-md {
  height: 40px;
  font-size: 14px;
}
.custom-form-input-sm {
  height: 34px;
  font-size: 14px;
}
.custom-form-input-lg::placeholder,
.custom-form-input-md::placeholder,
.custom-form-input-sm::placeholder {
  color: #aeaeae;
}

/* Info box */
.info-box {
  max-width: 430px;
  margin: auto;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.15);
  padding: 40px 30px;
}

.info-title {
  color: #cfa85a;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  font-size: 18px;
}

.info-content p {
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
}
.info-transition {
  padding: 12px;
  background: rgba(221, 182, 112, 0.2);
  border-radius: 4px;
  display: block;
  cursor: pointer;
}

.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #555555;
  background: rgba(221, 182, 112, 0.2);
  cursor: pointer;
  box-shadow: none !important;
}

/* Khi được check */
.custom-radio:checked {
  background-color: #cfa85a;
  border-color: #cfa85a;
}

/* Dot bên trong */
.custom-radio:checked::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #cca866;
  border: 2px solid #ffffff;
  outline: 2px solid #cca866;
  border-radius: 50%;
}
.form-check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.checkbox-order {
  width: 20px;
  height: 20px;
  box-shadow: none !important;
}
.custom-table {
  max-height: 551px;
  overflow: scroll;
  margin-bottom: 16px;
}
.custom-table table {
  margin-bottom: 0;
  position: relative;
}
.custom-table th {
  background: #003565;
  color: #ffffff;
  height: 40px;
  text-align: left;
  padding-left: 15px;
  position: sticky;
  top: 0;
}
.table-stone tr th:nth-child(1) {
  min-width: 40px;
}
.table-stone tr th:nth-child(2) {
  min-width: 180px;
}
.table-stone tr th:nth-child(3) {
  min-width: 100px;
}
.table-stone tr th:nth-child(4) {
  min-width: 200px;
  width: 420px;
}
.table-stone tr th:nth-child(5) {
  min-width: 200px;
  width: 300px;
}
.table-stone tr th:nth-child(6) {
  min-width: 50px;
}
.table-stone tr td:nth-child(6) {
  text-align: center;
  color: red;
  font-size: 16px;
  cursor: pointer;
}
.table-premium tr th {
  min-width: 160px;
}
.table-premium tr th:nth-child(1) {
  min-width: 40px;
}
.table-premium tr th:nth-child(7) {
  min-width: 50px;
}
.table-premium tr td:nth-child(7) {
  text-align: center;
  color: red;
  font-size: 16px;
  cursor: pointer;
}
.scroll-table,
.table-stone,
.table-premium {
  width: 100%;
  overflow-x: scroll;
}
.btn-download img:nth-child(1) {
  display: none;
}
.btn-download img:nth-child(2) {
  display: inline-block;
}
.btn-download:hover img:nth-child(1) {
  display: inline-block;
}
.btn-download:hover img:nth-child(2) {
  display: none;
}
.custom-dialog {
  width: 400px;
}
.custom-dialog .modal-content {
  border: 0;
}
.custom-btn-dialog {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.custom-file-upload {
  width: 100%;
}

.file-upload-ui {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  height: 40px;
  background: #fff;
}

.file-placeholder {
  flex: 1;
  padding: 0 12px;
  color: #9e9e9e;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-attach {
  background: #bdbdbd;
  color: #fff;
  border: none;
  padding: 0 16px;
  height: 100%;
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
}

.btn-attach:hover {
  background: #a6a6a6;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #222;
  user-select: none;
}

/* Ẩn checkbox gốc */
.custom-checkbox input {
  display: none;
}

/* Box checkbox */
.custom-checkbox .checkmark {
  min-width: 20px;
  height: 20px;
  border: 1px solid #444444;
  border-radius: 4px;
  position: relative;
  background: #fff;
  transition: all 0.2s ease;
}

/* Khi checked -> đổi background */
.custom-checkbox input:checked ~ .checkmark {
  background: #52cc00; /* màu PNJLab style */
  border-color: #52cc00;
}

/* Dấu tick */
.custom-checkbox input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-success h4 {
  font-size: 42px;
  color: #003565;
  font-family: "Playfair Display";
  margin-top: 20px;
  margin-bottom: 20px;
}
.check-code {
  font-size: 32px;
  color: #cca866;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display";
}
.slip-info .slip-active {
  font-size: 18px;
  color: #cca866;
  font-weight: 700;
}

.slip-info .slip-active-sm {
  font-size: 14px;
  color: #cca866;
  font-weight: 600;
}
.number-slip {
  color: #444444;
  font-weight: 600;
}
.slip-info .sliped {
  color: #006aff;
}
.slip-info .slip-success {
  color: #0cba00;
}
.feedback-content {
  height: 120px;
  font-size: 14px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  width: 100%;
  padding: 8px;
  resize: none;
}
.feedback-content::placeholder {
  color: #aeaeae;
}

.rating {
  display: inline-flex;
  flex-direction: row-reverse;
}

.rating input {
  display: none;
}

.rating label {
  cursor: pointer;
}

.rating img {
  filter: brightness(0) saturate(100%) invert(97%) sepia(0%) saturate(47%)
    hue-rotate(95deg) brightness(117%) contrast(78%);
  transition: filter 0.2s ease;
}

/* Hover */
.rating label:hover img,
.rating label:hover ~ label img {
  filter: brightness(1);
}

/* Selected */
.rating input:checked ~ label img {
  filter: brightness(1);
}

.admin-table-order {
  border: 1px solid #c3c4c7;
}
.admin-table-order th {
  font-size: 13px;
  white-space: nowrap;
  background: #ffffff;
  height: 44px;
  vertical-align: middle;
  text-align: left;
}
.admin-table-order tbody tr td {
  height: 44px;
  border-bottom: 0;
  text-align: left !important;
}
.admin-table-order tbody tr:nth-child(odd) td {
  background-color: #f7f7f7;
}

.admin-table-order td {
  font-size: 13px;
}

.status {
  font-weight: 600;
  font-size: 12px;
}

.status-blue {
  color: #006aff;
}

.status-orange {
  color: #cca866 !important;
}

.status-green {
  color: #0cba00;
}
.admin-order .admin-order-title {
  font-size: 23px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .section-box .request-check-right {
    border-left: 0px;
    border-top: 1px solid #f1f1f1;
    margin-top: 30px;
  }
  .group-button-check {
    flex-wrap: wrap;
  }
  .section-title {
    font-size: 21px;
  }
}

@media (max-width: 767px) {
  .info-user-form .btn {
    width: max-content !important;
    margin: auto;
  }
  .info-box {
    padding: 24px;
  }
  .info-user-form {
    grid-template-columns: 1fr !important;
  }
  .check-success {
    margin-top: 0px;
  }
  .check-success img {
    width: 80px;
    height: 80px;
  }
  .check-success h4 {
    font-size: 21px;
  }
}

@media (max-width: 430px) {
  .check-success .check-btn {
    flex-wrap: wrap;
    gap: 12px;
  }
  .check-success .check-btn button {
    min-width: 100%;
  }
}
