.field-modal-overlay {
  align-items: center;
  background: rgba(15, 23, 42, 0.5);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.field-modal-overlay[hidden] {
  display: none;
}

.field-modal {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  max-width: 680px;
}

.field-modal__header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  padding: 24px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.field-modal__title {
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}

.field-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 32px;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  width: 32px;
}

.field-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.field-modal__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.field-modal__row {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.field-modal__alternatives {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.field-modal__alternatives[hidden] {
  display: none;
}

.field-modal__alternatives-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.field-modal__alternatives-title {
  color: #0f172a;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.field-modal__alternatives-subtitle {
  color: #94a3b8;
  font-family: Inter, sans-serif;
  font-size: 12px;
  margin: 2px 0 0;
}

.field-modal__alternatives-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.field-modal__alt-item {
  align-items: center;
  display: flex;
  gap: 10px;
}

.field-modal__alt-badge {
  align-items: center;
  background: #2563eb;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex-shrink: 0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.field-modal__alt-input {
  background: #f8fafc;
  border: 1px solid #cbd0dc;
  border-radius: 8px;
  color: #0f172a;
  flex: 1;
  font-family: Inter, sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-modal__alt-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: 0;
}

.field-modal__alt-delete {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  height: 32px;
  justify-content: center;
  transition: color 0.15s ease;
  width: 32px;
}

.field-modal__alt-delete:hover {
  color: #ef4444;
}

.field-modal__footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  position: sticky;
}

.field-modal__save-btn {
  background: rgba(30, 64, 175, 1);
  border: 0;
  border-radius: 100px;
  color: #ffffff;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  transition: background-color 0.15s ease;
}

.field-modal__save-btn:hover {
  background: #1d4ed8;
}

.event-create-field-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
}

.event-create-field-check input[type="checkbox"] {
  cursor: pointer;
  height: 16px;
  width: 16px;
}

.event-create-field-check span {
  color: #0f172a;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
}