.kloster-form { max-width: 740px; margin: 1rem 0; padding: .5rem; border: 1px solid #e5e7eb; border-radius: 8px; }
.kl-treba { display: grid; grid-template-columns: 24px 1fr auto auto; gap: .5rem; align-items: center; padding: .25rem 0; }
.kl-treba .kl-title { font-weight: 600; }
.kl-treba .kl-price { margin-left: 1rem; min-width: 80px; text-align: right; }
.kl-treba .kl-mode { color: #6b7280; font-size: 12px; margin-left: .5rem; }
.kl-field { margin: .8rem 0; }
.kl-field textarea, .kl-field input { width: 100%; box-sizing: border-box; }
.kl-names-wrap textarea {width: 100%; box-sizing: border-box;}
.kl-total-wrap { font-weight: 700; margin: .8rem 0; }
.kl-paybar { display: flex; gap: .5rem; }
.kl-prayer-type {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.kl-prayer-type label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.kl-btn-health {
  background-color: #e53935; /* ??????? */
}

.kl-btn-rest {
  background-color: #333; /* ?????? */
}

.kl-btn-health input,
.kl-btn-rest input {
  display: none;
}
.kl-prayer-type { display:flex; gap:10px; margin-bottom:10px; }
.kl-prayer-type label { display:inline-block; padding:6px 12px; border-radius:6px; color:#fff; font-weight:600; cursor:pointer; user-select:none; opacity:.75; transition:.15s; }
.kl-btn-health { background:#e53935; }
.kl-btn-rest   { background:#222; }
.kl-prayer-type input { display:none; }

.kl-prayer-type label.is-active {
  position: relative;
  opacity: 1;
  filter: brightness(1.15);
  box-shadow: 0 0 6px rgba(0,0,0,.25),
              0 0 0 2px #fff inset;
  transform: scale(1.05);
}

/* ??????? */
.kl-prayer-type label.is-active::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4CAF50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kl-prayer-type label.is-active::after {
  content: "\2714"; /* ??????? */
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}


.kl-help {
  display: inline-block;
  margin-left: 8px;
  margin-top: 8px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  background: #0073aa;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  position: absolute;
}

.kl-help-tooltip {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 999;
  white-space: nowrap;
}

.kl-help:hover .kl-help-tooltip {
  display: block;
  margin-left: 120px;
  color: #000;
}

