.formipay-field-item {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.formipay-field-item:hover {
    border-color: #a7aaad;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.formipay-field-item.is-selected {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.formipay-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f6f7f7;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 4px 4px 0 0;
}

.formipay-field-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.field-type-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background: #e0e0e0;
    color: #1e1e1e;
    border-radius: 2px;
}

.field-id {
    font-size: 11px;
    color: #646970;
    font-family: monospace;
}

.formipay-field-actions {
    display: flex;
    gap: 4px;
}

.formipay-field-actions .button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
}

.formipay-field-actions .button-icon:hover:not(:disabled) {
    background: #e0e0e0;
}

.formipay-field-actions .button-icon:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.formipay-field-actions .button-icon svg {
    fill: #1e1e1e;
}

.formipay-field-actions .button-danger:hover svg {
    fill: #d63638;
}

.formipay-field-content {
    padding: 14px;
}

.field-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.field-label-row strong {
    font-size: 14px;
    color: #1e1e1e;
}

.field-label-row em {
    color: #a7aaad;
    font-style: italic;
}

.required-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #d63638;
    background: #f6f7f7;
    border-radius: 2px;
}

.field-description {
    margin: 0 0 8px;
    font-size: 12px;
    color: #646970;
    line-height: 1.4;
}

.field-options-preview {
    padding: 8px;
    margin-bottom: 8px;
    background: #f6f7f7;
    border-radius: 2px;
}

.field-options-preview small {
    font-size: 11px;
    color: #646970;
}

.field-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.field-meta .meta-item {
    font-size: 11px;
    color: #646970;
}
