/* Enhanced drop zone styles for simple view */

/* Basic drag and drop styles */
.draggable {
    cursor: grab;
    user-select: none;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.draggable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.draggable.selected {
    border: 2px solid #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.05) !important;
}

.dragging {
    opacity: 0.5;
}

/* Drop zone styles */
.drop-zone {
    transition: background-color 0.3s, border 0.3s;
    min-height: 100px;
    position: relative;
}

/* Special styles for simple card drop zones */
.col-lg-3 .drop-zone,
.col-md-4 .drop-zone,
.col-sm-6 .drop-zone {
    min-height: 240px;
    border-radius: 0.475rem;
    transition: all 0.3s ease;
}

.col-lg-3 .drop-zone:hover,
.col-md-4 .drop-zone:hover,
.col-sm-6 .drop-zone:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Active drop zone indicator */
.drop-zone-active {
    background-color: #e9ecef;
}

.col-lg-3 .drop-zone-active,
.col-md-4 .drop-zone-active,
.col-sm-6 .drop-zone-active {
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.2) !important;
    border: 2px dashed #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.05) !important;
}

/* Valid/invalid drop indicators */
.drop-zone-valid {
    border: 2px solid #198754 !important;
    background-color: rgba(25, 135, 84, 0.05) !important;
}

.drop-zone-invalid {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
}

/* Placeholder styles */
.drop-placeholder {
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    border: 2px dashed #0d6efd;
    border-radius: 4px;
    margin: 8px 0;
    transition: all 0.3s ease-in-out;
}

/* Placeholder container */
.drop-placeholder-container {
    min-height: 10px;
    transition: all 0.3s ease;
}

/* Visual feedback for simple view */
.col-lg-3 .drop-placeholder,
.col-md-4 .drop-placeholder,
.col-sm-6 .drop-placeholder {
    margin: 10px auto;
    width: 90%;
    background-color: rgba(13, 110, 253, 0.15);
}

/* Drop animation */
.drop-animation {
    animation: dropHighlight 0.5s ease-in-out;
}

@keyframes dropHighlight {
    0% { background-color: rgba(25, 135, 84, 0.2); }
    50% { background-color: rgba(25, 135, 84, 0.4); }
    100% { background-color: transparent; }
}

.drop-invalid-animation {
    animation: dropInvalidHighlight 0.5s ease-in-out;
}

@keyframes dropInvalidHighlight {
    0% { background-color: rgba(220, 53, 69, 0.2); }
    50% { background-color: rgba(220, 53, 69, 0.4); }
    100% { background-color: transparent; }
}

/* Drop hint overlay */
.drop-hint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 0.475rem;
}

.drop-zone:hover .drop-hint-overlay {
    opacity: 0.8;
}

.drop-hint-content {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #0d6efd;
    display: flex;
    align-items: center;
}

.drop-hint-content i {
    margin-right: 8px;
    font-size: 1.2rem;
}