/* Widget đặt lịch Tú Ka Wa — độc lập, không đụng vào bundle React đang chạy */
#tk-bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(20, 26, 33, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
#tk-bk-overlay[hidden] { display: none !important; }

.tk-bk-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  color: #141a21;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 26px clamp(18px, 4vw, 30px) 24px;
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, -apple-system, Segoe UI, sans-serif;
}

.tk-bk-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f4f1ea;
  color: #141a21;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.tk-bk-close:hover { background: #eadfb9; }

.tk-bk-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b5891a;
  margin-bottom: 6px;
}

.tk-bk-title {
  font-family: Georgia, 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(20px, 3.4vw, 25px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #101828;
}

.tk-bk-sub {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 18px;
  line-height: 1.55;
}

.tk-bk-field { margin-bottom: 12px; }
.tk-bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.tk-bk-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a7212;
  margin-bottom: 5px;
}

.tk-bk-input,
.tk-bk-select,
.tk-bk-textarea {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #141a21;
  background: #fcfbf7;
  border: 1.5px solid #e5e0d4;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
}
.tk-bk-input:focus,
.tk-bk-select:focus,
.tk-bk-textarea:focus {
  border-color: #b5891a;
  box-shadow: 0 0 0 3px rgba(181, 137, 26, 0.15);
}
.tk-bk-textarea { resize: vertical; min-height: 60px; }

.tk-bk-error {
  display: none;
  background: #fdecec;
  color: #b42318;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  margin: 4px 0 10px;
}
.tk-bk-error.is-on { display: block; }

.tk-bk-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #d6b25a, #b5891a);
  color: #241a04;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(181, 137, 26, 0.28);
}
.tk-bk-submit:disabled { opacity: 0.6; cursor: progress; }

.tk-bk-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* Success view */
.tk-bk-done { text-align: center; padding: 6px 2px 2px; }
.tk-bk-check {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid #b5891a;
  background: rgba(181, 137, 26, 0.12);
  color: #9a7212;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.tk-bk-done h3 {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: #101828;
  margin: 0 0 8px;
}
.tk-bk-done p { font-size: 13.5px; color: #64748b; line-height: 1.6; margin: 0 0 16px; }

.tk-bk-zalo-box {
  background: #f8fafc;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  padding: 14px;
  text-align: left;
  margin-bottom: 16px;
}
.tk-bk-zalo-box p { font-size: 13px; color: #475569; margin: 0 0 10px; line-height: 1.5; }

.tk-bk-zalo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 7px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 9px;
  background: #0068ff;
}
.tk-bk-zalo:last-child { margin-bottom: 0; }
.tk-bk-zalo.tk-bk-zalo-2 { background: #0f766e; }
.tk-bk-zalo:hover { filter: brightness(1.07); }

.tk-bk-call {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #9a7212;
  text-decoration: none;
  margin-bottom: 14px;
}

/* Gọi điện / Gửi SMS */
.tk-bk-contact {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e5e0d4;
  text-align: left;
}
.tk-bk-contact-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
}
.tk-bk-contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.tk-bk-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 10px;
  border: 1.5px solid #e5e0d4;
  border-radius: 7px;
  background: #ffffff;
  color: #141a21;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.tk-bk-contact-btn:hover {
  border-color: #b5891a;
  color: #9a7212;
  background: #fffdf6;
}
.tk-bk-contact-ico { font-size: 15px; }

.tk-bk-donebtn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #d6b25a, #b5891a);
  color: #241a04;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tk-bk-sent {
  display: block;
  font-size: 12px;
  color: #0f766e;
  font-weight: 700;
  margin-top: 10px;
}

@media (max-width: 560px) {
  .tk-bk-row { grid-template-columns: 1fr; }
  .tk-bk-card { max-height: 94vh; padding: 22px 16px 20px; }
}
