<script setup>
import { computed } from 'vue';
import { cn } from '@/lib/utils';

const props = defineProps({
  class: String,
  variant: {
    type: String,
    default: 'default',
    validator: (v) => ['default', 'glass', 'panel'].includes(v)
  }
});

const variantClasses = {
  default: 'glass-card shadow-md hover:shadow-lg transition-shadow',
  glass: 'glass glass-border rounded-lg',
  panel: 'glass-panel border border-pink-200 dark:border-pink-600/50'
};

const classes = computed(() => cn(variantClasses[props.variant], props.class));
</script>

<template>
  <div :class="classes">
    <slot />
  </div>
</template>
