/* Prestige Theme - Minimalist Premium Design System */

:root {
  /* Primary Colors - Sophisticated Neutrals */
  --prestige-black: #1a1a1a;
  --prestige-charcoal: #2d2d2d;
  --prestige-gray: #6b6b6b;
  --prestige-light-gray: #e5e5e5;
  --prestige-white: #ffffff;
  --prestige-off-white: #f8f8f8;
  
  /* Accent Colors - Subtle Elegance */
  --prestige-gold: #c9a961;
  --prestige-gold-light: #e5d4a6;
  --prestige-blue: #2c5f7c;
  --prestige-green: #4a7c59;
  --prestige-red: #a84448;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--prestige-charcoal);
  background-color: var(--prestige-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--prestige-black);
  margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-sm);
}

/* Layout Components */
.prestige-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.prestige-card {
  background: var(--prestige-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.prestige-card:hover {
  box-shadow: var(--shadow-md);
}

.prestige-card-header {
  border-bottom: 1px solid var(--prestige-light-gray);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
}

.prestige-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--prestige-black);
  margin: 0;
}

.prestige-card-subtitle {
  font-size: 0.875rem;
  color: var(--prestige-gray);
  margin-top: var(--space-xs);
}

/* Buttons */
.prestige-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.prestige-btn-primary {
  background: var(--prestige-black);
  color: var(--prestige-white);
}

.prestige-btn-primary:hover {
  background: var(--prestige-charcoal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.prestige-btn-secondary {
  background: var(--prestige-white);
  color: var(--prestige-black);
  border: 1px solid var(--prestige-light-gray);
}

.prestige-btn-secondary:hover {
  border-color: var(--prestige-gray);
  background: var(--prestige-off-white);
}

.prestige-btn-accent {
  background: var(--prestige-gold);
  color: var(--prestige-white);
}

.prestige-btn-accent:hover {
  background: var(--prestige-gold-light);
  color: var(--prestige-black);
}

.prestige-btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

.prestige-btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.0625rem;
}

/* Forms */
.prestige-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--prestige-charcoal);
  background: var(--prestige-white);
  border: 1px solid var(--prestige-light-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.prestige-input:focus {
  outline: none;
  border-color: var(--prestige-black);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

.prestige-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--prestige-charcoal);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.3px;
}

/* Tables */
.prestige-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.prestige-table thead {
  background: var(--prestige-off-white);
}

.prestige-table th {
  padding: var(--space-md);
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--prestige-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--prestige-light-gray);
}

.prestige-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--prestige-light-gray);
  color: var(--prestige-charcoal);
}

.prestige-table tbody tr {
  transition: background-color var(--transition-fast);
}

.prestige-table tbody tr:hover {
  background-color: var(--prestige-off-white);
}

/* Badges & Status */
.prestige-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
}

.prestige-badge-success {
  background: rgba(74, 124, 89, 0.1);
  color: var(--prestige-green);
}

.prestige-badge-warning {
  background: rgba(201, 169, 97, 0.1);
  color: var(--prestige-gold);
}

.prestige-badge-danger {
  background: rgba(168, 68, 72, 0.1);
  color: var(--prestige-red);
}

.prestige-badge-info {
  background: rgba(44, 95, 124, 0.1);
  color: var(--prestige-blue);
}

/* Grid System */
.prestige-grid {
  display: grid;
  gap: var(--space-lg);
}

.prestige-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.prestige-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.prestige-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .prestige-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .prestige-grid-2,
  .prestige-grid-3,
  .prestige-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.prestige-text-center { text-align: center; }
.prestige-text-right { text-align: right; }
.prestige-text-muted { color: var(--prestige-gray); }
.prestige-text-small { font-size: 0.875rem; }
.prestige-text-large { font-size: 1.125rem; }

.prestige-mt-sm { margin-top: var(--space-sm); }
.prestige-mt-md { margin-top: var(--space-md); }
.prestige-mt-lg { margin-top: var(--space-lg); }
.prestige-mb-sm { margin-bottom: var(--space-sm); }
.prestige-mb-md { margin-bottom: var(--space-md); }
.prestige-mb-lg { margin-bottom: var(--space-lg); }

.prestige-divider {
  height: 1px;
  background: var(--prestige-light-gray);
  margin: var(--space-lg) 0;
}
