.khutton-wa {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.khutton-wa.is-open {
  display: flex;
}

.khutton-wa[hidden] {
  display: none !important;
}

.khutton-wa__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 32, 0.72);
}

.khutton-wa__panel {
  position: relative;
  width: min(100%, 32rem);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  color: #1f1428;
  box-shadow: 0 24px 60px rgba(20, 8, 32, 0.35);
}

.khutton-wa__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: #4a0b77;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.khutton-wa__panel h3 {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.45rem;
  color: #3d0866;
}

.khutton-wa__panel p {
  margin: 0 0 1rem;
  color: #4a3d55;
  line-height: 1.55;
}

.khutton-wa__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.khutton-wa__chip {
  border: 1px solid #d8c8e8;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: #f8f4fa;
  color: #3d0866;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.khutton-wa__chip.is-active,
.khutton-wa__chip:hover {
  border-color: #c2187a;
  background: #f3ebf8;
  color: #140820;
}

.khutton-wa__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3d0866;
}

.khutton-wa textarea {
  width: 100%;
  min-height: 8.5rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #d8c8e8;
  border-radius: 0.65rem;
  background: #fff;
  color: #1f1428;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.khutton-wa textarea:focus {
  outline: 2px solid rgba(194, 24, 122, 0.35);
  border-color: #c2187a;
}

.khutton-wa__send {
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.95rem 1rem;
  background: #25d366;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.khutton-wa__send:hover,
.khutton-wa__send:focus {
  background: #1da851;
}
