/* PawClaw Style — dark theme compatible (used alongside design-tokens.css) */
/* This file provides semantic styles that reference design-tokens.css variables */
/* Design-tokens.css provides: --bg-primary, --text-primary, --bg-surface, --border, etc. */

/* ── Base (minimal, defer to design-tokens) ── */
body {
    font-family: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

/* ── Standard card (dark variant) ── */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--rounded-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.card-header {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ── Status indicators ── */
.status-indicator {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-healthy {
    background-color: var(--profit, #22C55E);
}

.status-warning {
    background-color: var(--warning, #F59E0B);
}

.status-error {
    background-color: var(--loss, #EF4444);
}

/* ── Input / Form fields ── */
input, select, textarea {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--rounded-md);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent, #6366F1);
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-subtle, rgba(129,140,248,0.12));
}

/* ── Modal ── */
.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--rounded-lg);
    color: var(--text-primary);
}

/* ── Scrollbar dark ── */
::-webkit-scrollbar {
    width: 6px; height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}
