/* Standard.css — Four Seasons luxury aesthetic
   Low-specificity base styles. Apps can override freely. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --std-bg:          #FFFDF7;
  --std-bg-alt:      #FAF8F5;
  --std-gold:        #C5A258;
  --std-gold-dark:   #B8964A;
  --std-gold-light:  #D4B97A;
  --std-text:        #2C2C2C;
  --std-text-sec:    #6B6560;
  --std-border:      #E8E2DA;
  --std-card-bg:     #FFFFFF;
  --std-card-shadow: 0 2px 12px rgba(107, 101, 96, 0.08);
  --std-radius:      8px;
  --std-font-heading: 'Playfair Display', Georgia, serif;
  --std-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base */
body {
  font-family: var(--std-font-body);
  background: var(--std-bg);
  color: var(--std-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--std-font-heading);
  color: var(--std-text);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

h1 { font-size: 2rem;   font-weight: 600; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.1rem;  font-weight: 500; }

/* Links */
a {
  color: var(--std-gold-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--std-gold);
}

/* Buttons */
button, .btn {
  font-family: var(--std-font-body);
  font-weight: 500;
  border-radius: var(--std-radius);
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
}

button[type="submit"],
button.primary,
.btn-primary {
  background: var(--std-gold);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
}
button[type="submit"]:hover,
button.primary:hover,
.btn-primary:hover {
  background: var(--std-gold-dark);
}

button.secondary,
.btn-secondary {
  background: transparent;
  color: var(--std-gold-dark);
  border: 1px solid var(--std-gold);
  padding: 10px 24px;
}
button.secondary:hover,
.btn-secondary:hover {
  background: var(--std-gold);
  color: #FFFFFF;
}

/* Inputs */
input, textarea, select {
  font-family: var(--std-font-body);
  border: 1px solid var(--std-border);
  border-radius: var(--std-radius);
  padding: 10px 14px;
  color: var(--std-text);
  background: var(--std-card-bg);
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--std-gold);
  box-shadow: 0 0 0 3px rgba(197, 162, 88, 0.12);
}
input::placeholder, textarea::placeholder {
  color: var(--std-text-sec);
  opacity: 0.7;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  font-family: var(--std-font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--std-text-sec);
  border-bottom: 2px solid var(--std-border);
  padding: 12px 16px;
  text-align: left;
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--std-border);
  color: var(--std-text);
}
tr:hover td {
  background: var(--std-bg-alt);
}

/* Cards */
.card {
  background: var(--std-card-bg);
  border: 1px solid var(--std-border);
  border-radius: var(--std-radius);
  box-shadow: var(--std-card-shadow);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--std-bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--std-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--std-text-sec);
}

/* Selection */
::selection {
  background: rgba(197, 162, 88, 0.2);
  color: var(--std-text);
}
