/* Form Items Styling */
.form-item {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.form-item-content {
    border: 1px solid #495057;
    transition: all 0.3s ease;
}

.form-item-content:hover {
    border-color: #6c757d;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.form-item-placeholder {
    height: 60px;
    background-color: #6c757d;
    border: 2px dashed #495057;
    margin-bottom: 10px;
    border-radius: 0.375rem;
}

.drag-handle {
    cursor: move;
    padding: 5px;
    color: #6c757d;
}

.drag-handle:hover {
    color: #adb5bd;
}

.form-item-children {
    border-left: 2px solid #495057;
    padding-left: 20px;
    margin-top: 10px;
}

/* Indentation levels */
.form-item[data-item-level="1"] {
    margin-left: 20px;
}

.form-item[data-item-level="2"] {
    margin-left: 40px;
}

.form-item[data-item-level="3"] {
    margin-left: 60px;
}

/* Question type badges */
.question-type-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #6c757d;
    color: white;
}

/* Button group styling */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Form configuration styling */
.question-config {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-item-content .row {
        flex-direction: column;
    }
    
    .form-item-content .col-auto {
        margin-bottom: 10px;
    }
    
    .btn-group-sm {
        flex-wrap: wrap;
    }
    
    .btn-group-sm .btn {
        margin-bottom: 5px;
    }
} 