/* ===== Toast (global) ===== */
#kc-toasts {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 99999999999999999999999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none; /* ne blokira klikove ispod */
}

.ph-add.is-disabled{
  background-color: #7e7e7e;
}

.pc-add.is-disabled{
  background-color: #7e7e7e;
}

.pc-availability, .pm-availability{
  margin-top: 0.35rem;
  font-weight:600;
  text-align: left;
  width: 100%;
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-availability.is-in,.pm-availability.is-in{color:#2C6CF7}
.pc-availability.is-out,.pm-availability.is-out{color:#C62828}
.cc-top{
  width: 100%;
}

.pc-option-select, .pm-option-select{
  border: transparent;
  background-color: #c5d9f8;
  font-family: "Afacad";
  width: 100%;
  padding: 0.2rem;
  border-radius: 0.2rem;
}
.kc-toast {
  min-width: 280px;
  max-width: 360px;
  background: #0b1324;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: auto; /* omogućava tap na 'Poništi' */
}

.kc-toast.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.kc-toast.hide {
  opacity: 0;
  transform: translateY(-6px);
}

.kc-toast__msg {
  font-size: 14px;
  line-height: 1.35;
}

.kc-toast__btn {
  justify-self: end;
  align-self: center;
  background: none;
  border: none;
  color: #59a5ff;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}
.kc-toast__btn:focus-visible {
  outline: 2px solid #59a5ff;
  outline-offset: 2px;
}

/* varijante */
.kc-toast.--success {
  background: #0f2a17;
  color: #eaffee;
}
.kc-toast.--info {
  background: #0b1324;
  color: #e8f1ff;
}
.kc-toast.--danger {
  background: #351313;
  color: #ffecec;
}

/* Mobile: jedan toast odjednom */
@media (max-width: 900px) {
  #kc-toasts {
    right: 12px;
    left: 12px;
  }
  .kc-toast {
    max-width: none;
  }
}
