/* Live Healthy — βασικά στοιχεία (αναφορά για εφαρμογή και site). Χρησιμοποιεί ΜΟΝΟ μεταβλητές από tokens.css. */
.lh-root, body.lh-root { font-family: var(--lh-font-family-sans); font-size: var(--lh-font-size-md); line-height: var(--lh-font-line-height-normal); color: var(--lh-text-primary); background: var(--lh-surface-page); -webkit-font-smoothing: antialiased; }
.lh-root h1, .lh-root h2, .lh-root h3, .lh-h { font-family: var(--lh-font-family-serif); font-weight: var(--lh-font-weight-semibold); line-height: var(--lh-font-line-height-tight); color: var(--lh-text-heading); }
.lh-root *, .lh-root *::before, .lh-root *::after { box-sizing: border-box; }
.lh-root :focus-visible { outline: 2px solid var(--lh-border-focus); outline-offset: 2px; }

.lh-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--lh-space-2); font: var(--lh-font-weight-semibold) var(--lh-font-size-sm)/1 var(--lh-font-family-sans); padding: 10px 18px; border-radius: var(--lh-radius-md); border: 1px solid transparent; cursor: pointer; transition: background var(--lh-motion-fast), border-color var(--lh-motion-fast); text-decoration: none; white-space: nowrap; }
.lh-btn--primary { background: var(--lh-action-primary-bg); color: var(--lh-action-primary-text); }
.lh-btn--primary:hover { background: var(--lh-action-primary-bg-hover); }
.lh-btn--secondary { background: var(--lh-action-secondary-bg); color: var(--lh-action-secondary-text); border-color: var(--lh-action-secondary-border); }
.lh-btn--secondary:hover { background: var(--lh-action-secondary-bg-hover); }
.lh-btn--ghost { background: var(--lh-action-ghost-bg); color: var(--lh-action-ghost-text); }
.lh-btn--ghost:hover { background: var(--lh-action-ghost-bg-hover); }
.lh-btn--danger { background: var(--lh-action-danger-bg); color: var(--lh-action-danger-text); }
.lh-btn--danger:hover { background: var(--lh-action-danger-bg-hover); }
.lh-btn--accent { background: var(--lh-action-accent-bg); color: var(--lh-action-accent-text); }
.lh-btn--accent:hover { background: var(--lh-action-accent-bg-hover); }
.lh-btn--sm { padding: 6px 12px; font-size: var(--lh-font-size-xs); border-radius: var(--lh-radius-sm); }
.lh-btn:disabled, .lh-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.lh-label { display: block; font-size: var(--lh-font-size-sm); font-weight: var(--lh-font-weight-semibold); color: var(--lh-text-secondary); margin: 0 0 6px; }
.lh-input { box-sizing: border-box; width: 100%; font: var(--lh-font-weight-regular) var(--lh-font-size-md)/1.4 var(--lh-font-family-sans); padding: 10px 12px; color: var(--lh-text-primary); background: var(--lh-surface-card); border: 1px solid var(--lh-border-strong); border-radius: var(--lh-radius-md); transition: border-color var(--lh-motion-fast), box-shadow var(--lh-motion-fast); }
.lh-input::placeholder { color: var(--lh-text-muted); }
.lh-input:focus { outline: none; border-color: var(--lh-border-focus); box-shadow: 0 0 0 3px var(--lh-border-focus-ring); }
.lh-input[aria-invalid="true"] { border-color: var(--lh-status-danger-solid); }
.lh-help { font-size: var(--lh-font-size-xs); color: var(--lh-text-muted); margin-top: 4px; }
.lh-help--error { color: var(--lh-status-danger-text); }

.lh-card { background: var(--lh-surface-card); border: 1px solid var(--lh-border-default); border-radius: var(--lh-radius-lg); padding: var(--lh-space-5); }
.lh-card--raised { box-shadow: var(--lh-shadow-sm); }

.lh-badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--lh-font-size-xs); font-weight: var(--lh-font-weight-semibold); padding: 3px 10px; border-radius: var(--lh-radius-full); white-space: nowrap; }
.lh-badge--success { background: var(--lh-status-success-bg); color: var(--lh-status-success-text); }
.lh-badge--warning { background: var(--lh-status-warning-bg); color: var(--lh-status-warning-text); }
.lh-badge--danger  { background: var(--lh-status-danger-bg);  color: var(--lh-status-danger-text); }
.lh-badge--info    { background: var(--lh-status-info-bg);    color: var(--lh-status-info-text); }
.lh-badge--neutral { background: var(--lh-status-neutral-bg); color: var(--lh-status-neutral-text); }

.lh-alert { padding: 10px 14px; border-radius: var(--lh-radius-md); border: 1px solid; font-size: var(--lh-font-size-sm); }
.lh-alert--success { background: var(--lh-status-success-bg); border-color: var(--lh-status-success-border); color: var(--lh-status-success-text); }
.lh-alert--warning { background: var(--lh-status-warning-bg); border-color: var(--lh-status-warning-border); color: var(--lh-status-warning-text); }
.lh-alert--danger  { background: var(--lh-status-danger-bg);  border-color: var(--lh-status-danger-border);  color: var(--lh-status-danger-text); }
.lh-alert--info    { background: var(--lh-status-info-bg);    border-color: var(--lh-status-info-border);    color: var(--lh-status-info-text); }

.lh-avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: var(--lh-font-weight-bold); font-size: var(--lh-font-size-sm); background: var(--lh-color-sage-100); color: var(--lh-color-sage-800); }
.lh-table { width: 100%; border-collapse: collapse; font-size: var(--lh-font-size-sm); background: var(--lh-surface-card); }
.lh-table th { text-align: left; font-weight: var(--lh-font-weight-semibold); color: var(--lh-text-secondary); background: var(--lh-surface-sunken); }
.lh-table th, .lh-table td { padding: 10px 14px; border-bottom: 1px solid var(--lh-border-default); }

.lh-btn--block { width: 100%; }
.lh-icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: var(--lh-radius-sm); background: transparent; color: var(--lh-text-secondary); cursor: pointer; transition: background var(--lh-motion-fast), color var(--lh-motion-fast); }
.lh-icon-btn:hover { background: var(--lh-surface-sunken); color: var(--lh-text-primary); }
.lh-icon-btn:disabled { cursor: default; background: transparent; }
.lh-icon-btn--danger:hover { background: var(--lh-status-danger-bg); color: var(--lh-status-danger-text); }

.lh-chip { display: inline-flex; align-items: center; gap: 6px; font: var(--lh-font-weight-semibold) var(--lh-font-size-sm)/1 var(--lh-font-family-sans); padding: 7px 14px; border-radius: var(--lh-radius-full); border: 1px solid var(--lh-border-default); background: var(--lh-surface-card); color: var(--lh-text-secondary); cursor: pointer; white-space: nowrap; transition: background var(--lh-motion-fast), border-color var(--lh-motion-fast), color var(--lh-motion-fast); }
.lh-chip:hover { border-color: var(--lh-border-strong); color: var(--lh-text-primary); }
.lh-chip[aria-pressed="true"] { background: var(--lh-action-primary-bg); border-color: var(--lh-action-primary-bg); color: var(--lh-action-primary-text); }

.lh-field { display: block; }
.lh-field + .lh-field { margin-top: var(--lh-space-4); }

.lh-modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(37, 36, 30, 0.45); }
.lh-modal:focus { outline: none; }
.lh-modal { position: relative; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; background: var(--lh-surface-card); border-radius: var(--lh-radius-lg); box-shadow: var(--lh-shadow-md); padding: var(--lh-space-6); }
.lh-modal__header { display: flex; align-items: center; justify-content: space-between; gap: var(--lh-space-3); margin-bottom: var(--lh-space-4); }
.lh-modal__title { margin: 0; font-family: var(--lh-font-family-serif); font-size: var(--lh-font-size-xl); font-weight: var(--lh-font-weight-semibold); color: var(--lh-text-heading); }
.lh-modal__footer { display: flex; justify-content: flex-end; gap: var(--lh-space-2); margin-top: var(--lh-space-5); }
