.cf7fb-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cf7fb-builder {
    display: flex;
    gap: 20px;
}

.cf7fb-sidebar {
    width: 200px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
}

.cf7fb-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cf7fb-sidebar li {
  background: #fff;
  border: 1px solid #ddd;
  padding: 4px 8px 10px;
  margin-bottom: 5px;
  cursor: grab;
}

.cf7fb-canvas {
    flex: 1;
    min-height: 200px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px;
}

.cf7fb-placeholder {
    color: #999;
}

.cf7fb-field {
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 8px;
    margin-bottom: 6px;
    position: relative;
}

.cf7fb-field:hover {
    background: #f7f7f7;
}

.cf7fb-label {
    display: inline-block;
    font-weight: 500;
}

.cf7fb-delete {
    position: absolute;
    right: 8px;
    top: 4px;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    color: #a00;
    cursor: pointer;
}

.cf7fb-container {
    font-family: Arial, sans-serif;
}

.cf7fb-builder {
    display: flex;
    gap: 15px;
}

.cf7fb-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cf7fb-sidebar li {
  background: #fff;
  border: 1px solid #ddd;
  padding: 4px 8px 10px;
  margin-bottom: 5px;
  cursor: grab;
  transition: background-color 0.6s ease;
}
.cf7fb-sidebar li:hover {
    background-color: #f1f1f1;
}
.cf7fb-row {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    background: #fafafa;
    border-radius: 4px;
}
#cf7fb-add-row {
  width: 100%;
  margin-top: -5px;
  font-weight: 600;
}
.cf7fb-row-toolbar {
    background: #eee;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
.cf7fb-row-cols {
  display: flex;
  gap: 10px;
  padding: 5px 5px 6px 5px;
}
.cf7fb-col {
  flex: 1;
  min-height: 60px;
  background: #fff;
  border: 1px dashed #ccc;
  padding: 5px;
  border-radius: 4px;
}
.cf7fb-field {
    background: #f0f8ff;
    border: 1px solid #a3c9ff;
    padding: 5px 8px;
    margin-bottom: 5px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}

.cf7fb-label {
    cursor: move;
}

.cf7fb-col-placeholder {
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

.cf7fb-col-inner {
  min-height: 40px;
  padding: 5px;
  border: navajowhite;
  border-radius: 6px;
  background: none;
  position: relative;
}
.cf7fb-col-inner::before {
  content: "Feld hierher ziehen …";
  color: #aaa;
  font-size: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cf7fb-field {
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 8px;
  margin-bottom: 6px;
  border-radius: 4px;
}

.cf7fb-field-handle {
  cursor: grab !important;
}
.cf7fb-field-handle, .cf7fb-delete-field, .cf7fb-edit-field {
  color: #2271b1;
  border: 1px solid;
  border-radius: 3px;
  padding: 1px 1px 1px;
  position: relative;
  height: 24px;
  width: 24px;
  display: flex;
  box-sizing: border-box;
  flex-flow: column;
  justify-content: center;
  background: #f3f3f3;
}

.btn_group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn_group > button {
  margin-left: 5px;
}

.btn_group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn_group > button {
  margin-left: 5px;
}
.cf7fb-field {
  align-items: center;
}
.cf7fb-cols-select {
  font-size: 11px !important;
  padding: 2px 18px 2px 5px !important;
  color: #2271b1 !important;
  font-weight: bold !important;
  border: 1px solid #2271b1 !important;
}
.cf7fb-row-toolbar .button, .cf7fb-row-toolbar .cf7fb-row-handle {
  font-size: 12px !important;
  color: #2271b1 !important;
  border: 1px solid #2271b1 !important;
  padding: 2px 2px 2px !important;
  text-align: center !important;
  border-radius: 3px !important;
  background: #f6f7f7 !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-weight: bold !important;
  box-sizing: border-box;
  height: 30px;
  width: 30px !important;
  display: flex !important;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.cf7fb-row-toolbar .cf7fb-row-handle {
    cursor: grab !important;
}
/* TMP MADLE */
[data-target="tag-generator-panel-quiz"],
[data-target="tag-generator-panel-url"]{
    display: none !important;
}
.dashicons.dashicons-leftright {
  transform: rotate(90deg);
}
#form_builder .dashicons.dashicons-trash,
#form_builder .dashicons.dashicons-move,
#form_builder .dashicons.dashicons-admin-page,
#form_builder .dashicons.dashicons-admin-generic {
  font-size: 15px;
  height: 15px;
  display: block;
}
.toolbar-right {
  display: flex;
  align-content: end !important;
}
.toolbar-right > * {
  margin-left: 5px !important;
}
.toolbar-right {
  max-width: 250px;
}
.button.cf7fb-settings-row {
  margin-left: -4px !important;
  border-radius: 0px 3px 3px 0px !important;
}
.cf7fb-sidebar ul .dashicons {
  color: #2271b1;
  display: block;
  margin: 6px auto;
}
.cf7fb-sidebar ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cf7fb-sidebar ul li {
  width: 48%;
  text-align: center;
  box-sizing: border-box;
}
.cf7fb-field-handle .dashicons.dashicons-move,
.cf7fb-delete-field .dashicons.dashicons-trash,
#form_builder .dashicons.dashicons-edit {
  font-size: 13px !important;
  height: 13px !important;
}
#cf7fb-field-modal-inner {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  height: 100%;
  justify-content: center;
}
.cf7fb-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cf7fb-modal-content {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  width: 320px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}
.cf7fb-modal-content h3 {
  margin-top: 0;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}
.cf7fb-modal-content label {
  display: block;
  margin: 10px 0;
  font-weight: 500;
}
.cf7fb-modal-content input[type="text"],
.cf7fb-modal-content input[type="number"] {
  width: 100%;
}
.cf7fb-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 15px;
}


.label-wrapper {
  display: flex;
  border-bottom: 1px solid #dedede;
}
.label-wrapper label {
  margin-right: 10px;
}

.sb-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #cecece;
  margin-bottom: 15px;
}
.sb-tabs-btn {
  border: 1px solid;
  border-radius: 4px 4px 0 0;
  padding: 4px;
  border-bottom: 0;
  border-color: #cbcbcb;
  color: #666;
  font-weight: 600;
  font-size: 11px !important;
  cursor: pointer;
}
.sb-tabs-btn.active{
    color: #2271b1;
}
.sb-tabs-btn:last-child {
  margin-left: -1px;
}
#sb-tab-2{
    display: none;
}