/* Profile Avatar Button - Vertical Center */
#user-menu-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  aspect-ratio: 1 !important;
  font-size: 0.875rem !important;
}

#user-menu-button > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Image Upload Styles */
@layer components {
  .image-upload-container {
    @apply border-2 border-dashed border-gray-300 rounded-md p-4;
  }

  .image-upload-container:hover {
    @apply border-primary bg-gray-50;
  }

  .image-preview {
    @apply w-full object-cover rounded-md shadow-sm;
  }

  .image-upload-btn {
    @apply px-3 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors;
  }

  .image-upload-status {
    @apply text-sm mt-2;
  }

  .image-upload-status.success {
    @apply text-green-600;
  }

  .image-upload-status.error {
    @apply text-red-600;
  }

  .image-upload-status.loading {
    @apply text-blue-600;
  }

  .image-card {
    @apply relative bg-white rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow;
  }

  .image-card-overlay {
    @apply absolute inset-0 bg-black/0 hover:bg-black/10 flex items-center justify-center opacity-0 hover:opacity-100 transition-all;
  }

  /* Luxury Button Styles */
  .btn-luxury {
    @apply uppercase tracking-wider font-medium transition-all duration-300 ease-in-out;
  }
  
  .btn-luxury-primary {
    @apply bg-primary text-primary-foreground hover:bg-primary/90 hover:shadow-lg hover:-translate-y-0.5;
  }
  
  .btn-luxury-outline {
    @apply border border-primary text-primary hover:bg-primary hover:text-primary-foreground;
  }
}

@layer base {
  :root {
    /* Deep Navy Primary */
    --primary: 222 47% 11%;
    --primary-foreground: 43 74% 95%;
    
    /* Warm Off-White Background */
    --background: 30 20% 98%;
    --foreground: 222 20% 20%; /* Dark Charcoal */
    
    /* Card: Pure White or slightly off-white */
    --card: 0 0% 100%;
    --card-foreground: 222 20% 20%;
    
    /* Muted Gold Accent */
    --accent: 43 74% 66%;
    --accent-foreground: 222 47% 11%;
    
    --muted: 30 10% 94%;
    --muted-foreground: 222 10% 45%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 222 20% 20%;
    
    --secondary: 43 30% 96%;
    --secondary-foreground: 222 47% 11%;
    
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    
    --border: 222 10% 90%;
    --input: 222 10% 90%;
    --ring: 43 74% 66%;
    
    --radius: 0.3rem;
  }

  .dark {
    --background: 222 47% 11%;
    --foreground: 30 20% 98%;
    
    --card: 222 45% 13%;
    --card-foreground: 30 20% 98%;
    
    --popover: 222 45% 13%;
    --popover-foreground: 30 20% 98%;
    
    --primary: 43 74% 66%; /* Gold becomes primary in dark mode for contrast */
    --primary-foreground: 222 47% 11%;
    
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
  }
}

@layer base {
  * {
    border-color: hsl(var(--border));
  }
  body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
  }
}
