/* Import Premium Typography for Luxury Editorial Vibe */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Custom Base Styles for Premium Light Aesthetic */
body {
  background-color: #FAF9F6;
  color: #111111;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization - Ultra Minimal & Sleek */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF9F6;
}
::-webkit-scrollbar-thumb {
  background: #E5E5E7;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C5A880;
}

/* Custom Luxury Utility Styles */
.luxury-border {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.luxury-border-gold {
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.luxury-glow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #111111 0%, #9B7544 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-luxury-gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #C5A880 0%, #9B7544 100%);
}

/* Custom Luxury Form Inputs */
.fashion-input {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0px; /* Editorial square borders */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.fashion-input:focus {
  outline: none;
  border-color: #9B7544;
  box-shadow: 0 0 10px rgba(155, 117, 68, 0.08);
  background-color: #FFFFFF;
}

.fashion-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6E6E73;
  margin-bottom: 0.5rem;
  display: block;
}

/* Premium Typography Elements */
.fashion-h1, .fashion-h2, .fashion-h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.02em;
}

.fashion-title-uppercase {
  font-family: 'Cormorant Garamond', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

/* Numeric Font Fix Class */
.numeric-style {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Dark Theme Styles */
html.dark, html.dark body {
  background-color: #08080A !important;
  color: #F4F4F6 !important;
}

html.dark ::-webkit-scrollbar-track {
  background: #08080A;
}

html.dark ::-webkit-scrollbar-thumb {
  background: #242424;
}

/* Base Card & Container background overrides */
html.dark .bg-white {
  background-color: #161616 !important;
}

/* Tailwind border color overrides */
html.dark .border-\[\#E5E5E7\] {
  border-color: #242424 !important;
}

html.dark .border-b-\[\#E5E5E7\] {
  border-bottom-color: #242424 !important;
}

html.dark .border-t-\[\#E5E5E7\] {
  border-top-color: #242424 !important;
}

html.dark .border-r-\[\#E5E5E7\] {
  border-right-color: #242424 !important;
}

html.dark .divide-\[\#E5E5E7\]\/60 > * + * {
  border-color: #242424 !important;
}

/* Tailwind text color overrides */
html.dark .text-\[\#111111\] {
  color: #F4F4F6 !important;
}

html.dark .text-\[\#6E6E73\] {
  color: #8E8E93 !important;
}

html.dark .text-\[\#6E6E73\]\/60 {
  color: rgba(142, 142, 147, 0.6) !important;
}

html.dark .text-\[\#6E6E73\]\/40 {
  color: rgba(142, 142, 147, 0.4) !important;
}

html.dark .text-\[\#9B7544\] {
  color: #C5A880 !important;
}

html.dark .text-\[\#9B7544\]\/60 {
  color: rgba(197, 168, 128, 0.6) !important;
}

html.dark .text-\[\#991B1B\] {
  color: #FF453A !important;
}

/* Tailwind background highlights */
html.dark .bg-\[\#FAF9F6\] {
  background-color: #08080A !important;
}

html.dark .bg-\[\#FAF9F6\]\/40 {
  background-color: rgba(8, 8, 10, 0.4) !important;
}

html.dark .bg-\[\#FAF6F0\] {
  background-color: #222222 !important;
}

html.dark .bg-white\/70 {
  background-color: rgba(22, 22, 22, 0.7) !important;
}

html.dark .bg-\[\#111111\] {
  background-color: #F4F4F6 !important;
  color: #111111 !important;
}

html.dark .bg-\[\#111111\]:hover {
  background-color: transparent !important;
  color: #F4F4F6 !important;
  border-color: #F4F4F6 !important;
}

/* Hover background highlights */
html.dark .hover\:bg-\[\#FAF9F6\]:hover {
  background-color: #222222 !important;
}

html.dark .hover\:text-\[\#111111\]:hover {
  color: #F4F4F6 !important;
}

html.dark .group-hover\:text-\[\#111111\]:hover {
  color: #F4F4F6 !important;
}

html.dark .group:hover .group-hover\:text-\[\#111111\] {
  color: #F4F4F6 !important;
}

/* Custom form inputs overrides */
html.dark .fashion-input {
  background-color: #222222 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F4F4F6 !important;
}

html.dark .fashion-input:focus {
  border-color: #C5A880 !important;
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.08) !important;
  background-color: #222222 !important;
}

html.dark .fashion-label {
  color: #8E8E93 !important;
}

html.dark .luxury-border {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

html.dark .luxury-border-gold {
  border-color: rgba(197, 168, 128, 0.2) !important;
}

html.dark .bg-luxury-gradient {
  background: linear-gradient(180deg, #161616 0%, #08080A 100%) !important;
}

html.dark .text-gold-gradient {
  background: linear-gradient(135deg, #F4F4F6 0%, #C5A880 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover, 
html.dark input:-webkit-autofill:focus,
html.dark textarea:-webkit-autofill,
html.dark textarea:-webkit-autofill:hover,
html.dark textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #F4F4F6 !important;
  -webkit-box-shadow: 0 0 0px 1000px #222222 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
