.preview-container {
    width: 100%;
    min-height: 250px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.preview-container:hover {
    border-color: #81ba2d;
}

.preview-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-container:hover .preview-overlay {
    opacity: 1;
}

.preview-actions {
    display: flex;
    gap: 10px;
}

.preview-action-btn {
    background: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.preview-action-btn:hover {
    background: #81ba2d;
    color: white;
}

.no-preview-text {
    text-align: center;
    color: #666;
    font-style: italic;
}

.no-preview-text i {
    font-size: 2.5em;
    color: #ddd;
    margin-bottom: 10px;
}

.preview-image, .preview-pdf {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
