.wkf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin-top: 16px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: #F66F00;
  color: #FFFFFF;
  font-family: 'Space Mono', 'Courier New', monospace;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.wkf-btn:hover {
  background: #4C2806;
}
.wkf-btn:active {
  transform: translateY(1px);
}
.wkf-btn-arrow {
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.wkf-btn:hover .wkf-btn-arrow {
  transform: translateX(4px);
}
.wkf-card-has-btn {
  padding-bottom: 0;
}

.wkf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(38, 20, 3, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.wkf-modal.open {
  opacity: 1;
  visibility: visible;
}
.wkf-locked {
  overflow: hidden;
}

.wkf-panel {
  width: 100%;
  max-width: 660px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #FFF7E9;
  border: 1px solid #E4D9C4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(38, 20, 3, 0.35);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.28s cubic-bezier(0.19, 1, 0.22, 1);
}
.wkf-modal.open .wkf-panel {
  transform: translateY(0) scale(1);
}

.wkf-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #E4D9C4;
  background: #FFF7E9;
}
.wkf-eyebrow {
  display: block;
  font-family: 'Space Mono', 'Courier New', monospace;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #F66F00;
  margin-bottom: 6px;
}
.wkf-title {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #4C2806;
}
.wkf-count {
  margin-top: 6px;
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(76, 40, 6, 0.6);
}
.wkf-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4D9C4;
  border-radius: 50%;
  background: transparent;
  color: #4C2806;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.wkf-close:hover {
  background: #4C2806;
  color: #FFF7E9;
  transform: rotate(90deg);
}

.wkf-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wkf-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fffdf8;
  border: 1px solid #F0E7D4;
  border-radius: 8px;
}
.wkf-item-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wkf-item-name {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: #4C2806;
}
.wkf-item-type {
  font-family: 'Space Mono', 'Courier New', monospace;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #B5551C;
}
.wkf-item-status {
  flex-shrink: 0;
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wkf-ok {
  color: #2E6B2E;
}
.wkf-ko {
  color: rgba(76, 40, 6, 0.55);
}
.wkf-inscrire {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 4px;
  background: #F66F00;
  color: #FFFFFF;
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}
.wkf-inscrire:hover {
  background: #4C2806;
}
.wkf-inscrire-off {
  background: #E4D9C4;
  color: rgba(76, 40, 6, 0.75);
  cursor: not-allowed;
}
.wkf-inscrire-off:hover {
  background: #E4D9C4;
}

.wkf-panel-foot {
  padding: 14px 28px;
  border-top: 1px solid #E4D9C4;
  background: #FFF7E9;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(76, 40, 6, 0.7);
}
.wkf-foot-link {
  color: #F66F00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wkf-foot-link:hover {
  color: #4C2806;
}

.wkf-list::-webkit-scrollbar {
  width: 8px;
}
.wkf-list::-webkit-scrollbar-thumb {
  background: #E4D9C4;
  border-radius: 4px;
}
.wkf-list::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 480px) {
  .wkf-item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .wkf-item-main {
    flex-basis: 100%;
  }
  .wkf-item-status {
    order: 1;
  }
  .wkf-inscrire {
    margin-left: auto;
  }
  .wkf-panel-head {
    padding: 20px 20px 16px;
  }
  .wkf-list {
    padding: 10px 20px 20px;
  }
  .wkf-panel-foot {
    padding: 12px 20px;
  }
}