.wpcfb {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e8e8f0;
  max-width: 920px;
  margin: 2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.wpcfb *, .wpcfb *::before, .wpcfb *::after {
  box-sizing: border-box;
}
.wpcfb code {
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.85em;
  background: #16162a;
  color: #6fa8ff;
  padding: 2px 6px;
  border-radius: 6px;
}
.wpcfb__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.wpcfb__header-text {
  flex: 1;
  min-width: 250px;
}
.wpcfb__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  color: #e8e8f0;
}
.wpcfb__subtitle {
  font-size: 0.95rem;
  color: #6a6a7a;
  margin: 0;
}
.wpcfb__subtitle code {
  font-size: 0.85em;
}
.wpcfb__generate {
  flex-shrink: 0;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
}
.wpcfb__card {
  background: #11111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.25s ease;
  scroll-margin-top: 120px;
}
.wpcfb__card:hover {
  border-color: rgba(79, 127, 255, 0.2);
}
.wpcfb__card.is-active {
  border-color: #4f7fff;
  box-shadow: 0 0 0 1px rgba(79, 127, 255, 0.13), 0 8px 30px rgba(79, 127, 255, 0.08);
}
.wpcfb__card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
}
.wpcfb__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(79, 127, 255, 0.13);
  color: #4f7fff;
  flex-shrink: 0;
}
.wpcfb__card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #e8e8f0;
  flex: 1;
  letter-spacing: -0.01em;
}
.wpcfb__card-meta {
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.75rem;
  color: #6a6a7a;
  background: #16162a;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.wpcfb__card-body {
  padding: 1.25rem;
}
.wpcfb__field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.wpcfb__field-row:last-child {
  margin-bottom: 0;
}
.wpcfb__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.wpcfb__field:last-child {
  margin-bottom: 0;
}
.wpcfb__field--full {
  grid-column: 1 / -1;
}
.wpcfb__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #b8b8c8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wpcfb__label-sm {
  font-size: 0.7rem;
  color: #6a6a7a;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  margin-bottom: 0.25rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wpcfb__required {
  color: #ff6b9d;
}
.wpcfb__hint {
  font-size: 0.75rem;
  color: #6a6a7a;
  margin-top: 0.25rem;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
}
.wpcfb__input, .wpcfb__select, .wpcfb__textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: #0d0d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #e8e8f0;
  font-size: 0.9rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  box-sizing: border-box;
}
.wpcfb__input::placeholder, .wpcfb__select::placeholder, .wpcfb__textarea::placeholder {
  color: #4a4a5a;
}
.wpcfb__input:focus, .wpcfb__select:focus, .wpcfb__textarea:focus {
  border-color: #4f7fff;
  box-shadow: 0 0 0 3px rgba(79, 127, 255, 0.1);
}
.wpcfb__select {
  appearance: none;
  background-image: url("/wp-content/themes/sozon_dev/sass/data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236fa8ff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.wpcfb__select option {
  background: #11111a;
  color: #e8e8f0;
}
textarea.wpcfb__input {
  resize: vertical;
  min-height: 70px;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.85rem;
}
.wpcfb__radio-group, .wpcfb__check-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.wpcfb__radio, .wpcfb__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: #0d0d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #b8b8c8;
  transition: all 0.15s ease;
  user-select: none;
}
.wpcfb__radio:hover, .wpcfb__check:hover {
  border-color: rgba(79, 127, 255, 0.2);
  color: #e8e8f0;
}
.wpcfb__radio input, .wpcfb__check input {
  accent-color: #4f7fff;
  width: auto;
  margin: 0;
}
.wpcfb__radio:has(input:checked), .wpcfb__check:has(input:checked) {
  border-color: #4f7fff;
  color: #6fa8ff;
  background: rgba(79, 127, 255, 0.13);
}
.wpcfb__roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.wpcfb__collapsible {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  animation: wpcfbSlideDown 0.3s ease;
}
.wpcfb__collapsible.is-visible {
  display: block;
}
.wpcfb__fields-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  min-height: 40px;
}
.wpcfb__fields-empty {
  text-align: center;
  color: #6a6a7a;
  font-size: 0.85rem;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  padding: 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.wpcfb__field-card {
  background: #16162a;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease;
  animation: wpcfbSlideIn 0.3s ease;
}
.wpcfb__field-card:hover {
  border-color: rgba(79, 127, 255, 0.2);
}
.wpcfb__field-card.dragging {
  opacity: 0.5;
  border-color: #4f7fff;
}
.wpcfb__field-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wpcfb__field-card-handle {
  color: #4a4a5a;
  cursor: grab;
  display: flex;
  align-items: center;
  user-select: none;
}
.wpcfb__field-card-handle:active {
  cursor: grabbing;
}
.wpcfb__field-card-num {
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.7rem;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}
.wpcfb__field-card-type {
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.75rem;
  color: #4f7fff;
  background: rgba(79, 127, 255, 0.13);
  padding: 2px 8px;
  border-radius: 999px;
  flex: 1;
  text-transform: lowercase;
}
.wpcfb__field-card-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #4a4a5a;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.wpcfb__field-card-remove:hover {
  color: #ff6b9d;
  background: rgba(255, 107, 157, 0.1);
}
.wpcfb__field-card-body {
  padding: 1rem;
}
.wpcfb__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.wpcfb__btn svg {
  flex-shrink: 0;
}
.wpcfb__btn--primary {
  background: #4f7fff;
  color: #fff;
}
.wpcfb__btn--primary:hover {
  background: #6fa8ff;
  box-shadow: 0 0 20px rgba(79, 127, 255, 0.35);
  transform: translateY(-1px);
}
.wpcfb__btn--primary:active {
  transform: translateY(0);
}
.wpcfb__btn--ghost {
  background: transparent;
  color: #b8b8c8;
  border-color: rgba(255, 255, 255, 0.08);
}
.wpcfb__btn--ghost:hover {
  color: #4f7fff;
  border-color: #4f7fff;
  background: rgba(79, 127, 255, 0.05);
}
.wpcfb__btn--icon {
  padding: 0.5rem;
  width: 38px;
  height: 38px;
}
.wpcfb__btn--sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
}
.wpcfb__btn--add {
  width: 100%;
  border-style: dashed;
  color: #6a6a7a;
  padding: 0.7rem;
}
.wpcfb__btn--add:hover {
  border-color: #4f7fff;
  color: #6fa8ff;
  background: rgba(79, 127, 255, 0.13);
}
.wpcfb__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.wpcfb__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.wpcfb__history {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.wpcfb__history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.wpcfb__history-title {
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6a6a7a;
}
.wpcfb__history-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 200px;
  overflow-y: auto;
}
.wpcfb__history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.8rem;
  background: #0d0d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wpcfb__history-item:hover {
  border-color: rgba(79, 127, 255, 0.2);
  background: #16162a;
}
.wpcfb__history-item-title {
  font-size: 0.78rem;
  color: #b8b8c8;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wpcfb__history-item-date {
  font-size: 0.65rem;
  color: #6a6a7a;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.wpcfb__history-empty {
  text-align: center;
  color: #6a6a7a;
  font-size: 0.78rem;
  padding: 0.8rem;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
}
.wpcfb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wpcfb-modal.is-open {
  display: flex;
  animation: wpcfbFadeIn 0.2s ease;
}
.wpcfb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wpcfb-modal__dialog {
  position: relative;
  background: #11111a;
  border: 1px solid rgba(79, 127, 255, 0.2);
  border-radius: 16px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(79, 127, 255, 0.1);
  animation: wpcfbSlideUp 0.25s ease;
}
.wpcfb-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
}
.wpcfb-modal__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.wpcfb-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #e8e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wpcfb-modal__filename {
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.78rem;
  color: #4f7fff;
}
.wpcfb-modal__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}
.wpcfb-modal__body {
  overflow-y: auto;
  flex: 1;
}
.wpcfb-modal__instructions {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(79, 127, 255, 0.02);
}
.wpcfb-modal__instructions h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4f7fff;
  margin: 0 0 0.6rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wpcfb-modal__instructions ol {
  margin: 0;
  padding-left: 1.2rem;
}
.wpcfb-modal__instructions ol li {
  font-size: 0.82rem;
  color: #b8b8c8;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.wpcfb-modal__instructions ol li code {
  font-size: 0.85em;
}
.wpcfb-modal__install-line {
  display: block;
  margin-top: 0.3rem;
  padding: 0.5rem 0.7rem;
  background: #0d0d18 !important;
  color: #6fa8ff !important;
  border-radius: 6px;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.78rem;
  word-break: break-all;
}
.wpcfb-modal__code {
  margin: 0;
  padding: 1.25rem;
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #b8b8c8;
  background: #0a0a0f;
  overflow-x: auto;
  white-space: pre;
  tab-size: 4;
}
.wpcfb-modal__code code {
  background: none;
  color: inherit;
  padding: 0;
}
.wpcfb-modal__meta {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: #16162a;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-family: "JetBrains Mono", "Geist Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.7rem;
  color: #6a6a7a;
}
.wpcfb-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #16162a;
  border: 1px solid rgba(79, 127, 255, 0.2);
  color: #4f7fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  z-index: 2000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 127, 255, 0.15);
}
.wpcfb-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.wpcfb__file-input {
  display: none;
}
@keyframes wpcfbSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wpcfbSlideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}
@keyframes wpcfbSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes wpcfbFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 640px) {
  .wpcfb {
    margin: 1rem auto;
  }
  .wpcfb__header {
    flex-direction: column;
    align-items: stretch;
  }
  .wpcfb__generate {
    width: 100%;
  }
  .wpcfb__field-row {
    grid-template-columns: 1fr;
  }
  .wpcfb-modal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .wpcfb-modal__actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .wpcfb-modal__actions .wpcfb__btn {
    flex: 1;
    min-width: 100px;
  }
  .wpcfb__roles-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/*# sourceMappingURL=https://sozon-dev.com.ua/wp-content/build/scss_library/c9209da373517d767994026eadee17d9a1154582.css.map */