/* Shadow Preview Tool Styles */
.shadow-preview-tool .preview-area {
    min-height: 300px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    background-color: white;
    background-image: 
        linear-gradient(#f5f5f5 1px, transparent 1px),
        linear-gradient(90deg, #f5f5f5 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 8px;
}

.shadow-preview-tool .preview-area.no-grid {
    background-image: none;
    background-color: #f8f9fa;
}

.shadow-preview-tool .shadow-card {
    width: 280px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.shadow-preview-tool .shadow-card:hover {
    transform: var(--hover-transform, none);
}

.shadow-preview-tool .preset-shadow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    height: 100%;
}

.shadow-preview-tool .preset-preview {
    width: 60px;
    height: 30px;
    background: white;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.shadow-preview-tool #cssOutput {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    margin-bottom: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.shadow-preview-tool .form-range::-webkit-slider-thumb {
    background: var(--bs-primary);
}

.shadow-preview-tool .form-range::-moz-range-thumb {
    background: var(--bs-primary);
}

.shadow-preview-tool .form-range::-ms-thumb {
    background: var(--bs-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shadow-preview-tool .preview-area {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .shadow-preview-tool .shadow-card {
        width: 100%;
        max-width: 280px;
    }
}