.karate-fc-wrapper {
  margin: 1.5rem 0;
  padding: 0.5rem 0;
}

.karate-fc-booking-notice {
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.karate-fc-booking-notice--success { background: #d1fae5; color: #065f46; }
.karate-fc-booking-notice--info    { background: #dbeafe; color: #1e40af; }
.karate-fc-booking-notice--error   { background: #fee2e2; color: #991b1b; }

/* Event-Block im Kalender */
.karate-fc-event-inner {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 2px 4px;
}

.karate-fc-ev-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}

.karate-fc-ev-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
}

.karate-fc-ev-time {
  font-size: 1.0em;
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
}

.karate-fc-ev-title {
  font-size: 1.2em;
  font-weight: 600;
  white-space: normal;
  word-break: break-word;
}

/* FullCalendar setzt manchmal text-decoration auf Event-Links */
.fc-event,
.fc-event:hover,
.fc-event .fc-event-main {
  text-decoration: none !important;
}

.karate-fc-modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
}

.karate-fc-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.karate-fc-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.karate-fc-popup__title {
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
}

.karate-fc-popup__cat-img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  margin: -1.2rem -1.2rem 0.75rem -1.2rem;
  width: calc(100% + 2.4rem);
}

.karate-fc-popup__cat {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef7ef;
  color: #236b36;
  font-size: 0.8rem;
  font-weight: 600;
}

.karate-fc-popup__cancelled {
  color: #c0392b;
}

.karate-fc-popup__desc {
  white-space: normal;
}

.karate-fc-popup__book-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  background: #2ecc71;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.karate-fc-popup__book-btn:hover,
.karate-fc-popup__book-btn:focus {
  background: #28b765;
  color: #fff;
}

@media (max-width: 640px) {
  .karate-fc-modal-card {
    width: 95%;
  }
}
