/* =============================================================
   12. EXTENSION CARDS (Verlängerung)
   ============================================================= */

.mf-ext-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Base Card */
.mf-ext-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--mf-color-surface);
  border-radius: var(--mf-r-md, 8px);
  padding: 16px 20px;
  width: 100%;
  transition: all 0.2s ease;
  font-family: inherit;
}

/* Available Button */
button.mf-ext-card--avail {
  border: 1px solid #333333;
  cursor: pointer;
  text-align: left;
}

button.mf-ext-card--avail:hover {
  border-color: var(--mf-color-brand, var(--accent));
  background: #1a1a1a;
}

/* Sold Out Div */
div.mf-ext-card--soldout {
  border: 1px solid var(--mf-color-surface-raised);
  opacity: 0.5;
  cursor: not-allowed;
}

/* Typography inside */
.mf-ext-card__info {
  text-align: left;
}

.mf-ext-card__title {
  color: var(--mf-color-base, #ffffff);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.mf-ext-card--soldout .mf-ext-card__title {
  text-decoration: line-through;
}

.mf-ext-card__meta {
  color: var(--mf-color-gray-text, #888888);
  font-size: 13px;
  margin-top: 4px;
  line-height: var(--mf-leading);
}

.mf-ext-card__spots {
  margin-left: 8px;
  font-weight: 500;
}

.mf-ext-card__spots--free {
  color: var(--mf-color-success, #16a34a);
}

.mf-ext-card__spots--limited {
  color: var(--mf-color-warning, #d97706);
}

.mf-ext-card__spots--critical {
  color: var(--mf-color-danger, #dc2626);
}

.mf-ext-card__spots--soldout {
  color: var(--mf-color-gray-dark, #666);
}

.mf-ext-card__price {
  color: var(--mf-color-brand, var(--accent));
  font-weight: 700;
  font-size: 18px;
  line-height: var(--mf-leading);
}

/* Empty State Message */
.mf-ext-empty {
  background-color: var(--mf-color-surface);
  border-left: 3px solid var(--mf-color-gray-800);
  padding: 20px;
  color: var(--mf-color-gray-800);
  font-size: var(--mf-text-md);
  font-family: inherit;
  line-height: var(--mf-leading);
}

/* =============================================================
   13. BOOKING STATUS MESSAGES (Access Guard)
   ============================================================= */

.mt-status-msg {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px 32px;
  background: var(--mf-color-surface);
  border-radius: var(--mf-r-md);
  text-align: center;
  color: var(--mf-color-ink);
  font-family: inherit;
}

.mt-status-msg--accent { border-left: 4px solid var(--accent); }
.mt-status-msg--gray   { border-left: 4px solid var(--mf-color-gray-800); }

.mt-status-msg__title {
  margin: 0 0 16px;
  font-size: var(--mf-text-2xl);
  font-weight: 700;
}

.mt-status-msg__title--accent { color: var(--accent); }
.mt-status-msg__title--gray   { color: var(--mf-color-gray-text); }

.mt-status-msg__text {
  color: var(--mf-color-gray-800);
  margin: 0 0 28px;
  font-size: var(--mf-text-lg);
  line-height: var(--mf-leading);
}

/* =============================================================
   14. EXTENSION HISTORY LIST
   ============================================================= */

.mf-extensions-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.mf-extensions-list__item {
  font-size: var(--mf-text-md);
  color: var(--accent);
  font-weight: 600;
  line-height: var(--mf-leading);
  display: flex;
  align-items: center;
  gap: 4px;
}

.mf-extensions-list__item svg {
  flex-shrink: 0;
  width: 18px; 
  height: 18px;
}

.mf-extensions-list__item--original {
  color: var(--mf-color-base);
  font-weight: 700;
}

/* =============================================================
   15. BOOKING STATUS BADGE
   ============================================================= */

.mf-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mf-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.mf-status-label {
    font-size: var(--mf-text-lg);
    font-weight: 600;
}

.mf-status-dot--active     { background: var(--mf-color-success); }
.mf-status-label--active   { color: var(--mf-color-success); }

.mf-status-dot--cancelled     { background: var(--mf-color-danger); }
.mf-status-label--cancelled   { color: var(--mf-color-danger); }

.mf-status-dot--expired     { background: var(--mf-color-gray-text); }
.mf-status-label--expired   { color: var(--mf-color-gray-text); }

.mf-status-dot--transferred     { background: #3b82f6; }
.mf-status-label--transferred   { color: #3b82f6; }