body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.form-canvas {
    min-height: 500px;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 2rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.form-canvas.drag-over {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.list-group-item {
    cursor: grab;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin-bottom: 8px;
}

.list-group-item:active {
    cursor: grabbing;
    background-color: #e9ecef;
}

.field-item {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.field-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

.field-item.selected {
    border-color: #007bff;
    background-color: #f0f8ff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

/* Button styles moved to unified-buttons.css */

/* Separator styles */
.separator-line {
    border-top: 1px solid #dee2e6;
    margin: 1rem 0;
    width: 100%;
    height: 0;
}

.separator-dashed {
    border-top: 2px dashed #6c757d;
    margin: 1rem 0;
    width: 100%;
    height: 0;
}

.separator-space {
    margin: 2rem 0;
    width: 100%;
    height: 1px;
    background: transparent;
}

/* Bootstrap-like utility classes */
.border-top {
    border-top: 1px solid #dee2e6 !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-dashed {
    border-style: dashed !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* Group styling */
.group-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    background-color: #ffffff;
}

.group-border {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
}

.group-minimal {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin: 1rem 0;
}

/* Group drop zone styling */
.group-drop-zone {
    transition: all 0.3s ease;
    position: relative;
}

.group-drop-zone.drag-over {
    border-color: #007bff !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    background-color: rgba(0, 123, 255, 0.02);
}

.group-drop-body {
    min-height: 80px;
    position: relative;
}

.empty-group-hint {
    border-color: #dee2e6 !important;
    color: #6c757d;
    transition: all 0.3s ease;
}

.group-drop-zone.drag-over .empty-group-hint {
    border-color: #007bff !important;
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.drop-zone-indicator.active {
    display: block !important;
    background: linear-gradient(90deg, #007bff, #28a745);
    color: white;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Better drop zone indicators */
.drop-zone-between {
    min-height: 30px;
    margin: 4px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.drop-zone-between.drag-over {
    background-color: rgba(0, 123, 255, 0.1);
    border: 2px dashed #007bff;
}

.drop-indicator {
    display: none;
    text-align: center;
    color: #007bff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
    margin: 4px 0;
}

.drop-zone-between.drag-over .drop-indicator {
    display: block;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

