/* ExtremeShannon — minimal site styles */
:root {
    --bg: #0f1419;
    --surface: #1a2332;
    --text: #e6edf3;
    --muted: #8b949e;
    --accent: #58a6ff;
    --error: #f85149;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: var(--surface); border-bottom: 1px solid rgba(255,255,255,.06); }
.logo { font-weight: 700; color: var(--text); text-decoration: none; }
.site-header nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.site-main { flex: 1; padding: 2rem 1.5rem; max-width: 48rem; margin: 0 auto; width: 100%; }
.site-footer { padding: 1rem 1.5rem; text-align: center; color: var(--muted); font-size: 0.875rem; border-top: 1px solid rgba(255,255,255,.06); }

.hero { text-align: center; padding: 3rem 0; }
.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.tagline { color: var(--muted); font-size: 1.125rem; margin-bottom: 1.5rem; }
.cta { margin-top: 1.5rem; }
.button { display: inline-block; padding: 0.6rem 1.25rem; background: var(--accent); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 500; }
.button:hover { opacity: 0.9; }

.form-section { max-width: 24rem; margin: 0 auto; }
.form-section h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.auth-form label { display: block; margin-top: 1rem; margin-bottom: 0.25rem; color: var(--muted); font-size: 0.875rem; }
.auth-form input { width: 100%; padding: 0.5rem 0.75rem; background: var(--surface); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: var(--text); font-size: 1rem; }
.auth-form button { margin-top: 1.25rem; padding: 0.6rem 1.25rem; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 1rem; cursor: pointer; }
.auth-form button:hover { opacity: 0.9; }
.error { color: var(--error); font-size: 0.875rem; margin-bottom: 0.5rem; }
.form-section p a { color: var(--accent); }

.app-shell { padding: 1rem 0; }
.app-shell h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.app-shell p { color: var(--muted); }
.app-shell ul { list-style: none; padding-left: 0; }
.app-shell ul li { margin-bottom: 0.5rem; }
.app-shell a { color: var(--accent); }
.app-shell code { background: var(--surface); padding: 0.2rem 0.4rem; border-radius: 4px; font-size: 0.875rem; }

.table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; }
.table th, .table td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
.table th { color: var(--muted); font-weight: 500; font-size: 0.875rem; }
.card { background: var(--surface); border-radius: 8px; padding: 1rem; border: 1px solid rgba(255,255,255,.06); }
.badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }
.badge-not_started, .badge-pending, .badge-draft { background: rgba(255,255,255,.1); color: var(--muted); }
.badge-in_progress, .badge-partially_paid { background: rgba(88,166,255,.2); color: var(--accent); }
.badge-complete, .badge-paid, .badge-approved { background: rgba(46,160,67,.3); color: #7ee787; }
.badge-overdue { background: rgba(248,81,73,.2); color: var(--error); }
.badge-quoted, .badge-approved { background: rgba(210,153,34,.2); color: #d2a022; }

/* Bourbon app: premium dark + amber/copper */
.bourbon-dash .tagline { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.bourbon-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--surface); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 1rem; text-align: center; text-decoration: none; color: inherit; }
.stat-card:hover { border-color: rgba(212, 165, 98, 0.4); }
.stat-value { display: block; font-size: 1.5rem; font-weight: 600; color: var(--text); }
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.bourbon-value-cards { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.value-card { background: var(--surface); border-radius: 8px; padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,.06); }
.value-label { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; }
.value-amount { font-size: 1.25rem; font-weight: 600; }
.value-amount.amber { color: #d4a562; }
.bourbon-actions { margin-bottom: 1.5rem; }
.bourbon-actions .btn { margin-right: 0.5rem; }
.btn { display: inline-block; padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 500; cursor: pointer; border: none; font-size: 0.9rem; }
.btn-primary { background: #b8860b; color: #0f1419; }
.btn-primary:hover { background: #d4a562; }
.btn-secondary { background: transparent; color: var(--muted); border: 1px solid rgba(255,255,255,.2); }
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }
.bottle-list { list-style: none; padding: 0; }
.bottle-list li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.bottle-list .muted { color: var(--muted); font-size: 0.9rem; }
.badge-sealed { background: rgba(46,160,67,.25); color: #7ee787; }
.badge-open { background: rgba(212,165,98,.25); color: #d4a562; }
.badge-empty { background: rgba(255,255,255,.1); color: var(--muted); }
.badge-favorite { background: rgba(248,81,73,.2); color: #f85149; }
.bourbon-collection .filter-bar { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.bourbon-collection .filter-bar label { margin: 0; color: var(--muted); font-size: 0.875rem; }
.bourbon-collection .filter-bar select { padding: 0.4rem 0.75rem; background: var(--surface); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: var(--text); }
.bourbon-detail .meta { color: var(--muted); margin-bottom: 1rem; }
.bourbon-detail .detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.bourbon-detail .detail-card { background: var(--surface); border-radius: 8px; padding: 1rem; border: 1px solid rgba(255,255,255,.06); }
.bourbon-detail .detail-card h3 { margin-top: 0; font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.bourbon-detail .tasting-list { list-style: none; padding: 0; }
.bourbon-detail .tasting-list li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 0.9rem; }
.bourbon-detail textarea { width: 100%; padding: 0.5rem; background: var(--surface); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: var(--text); }
