/*
 * Mediq theme — CSS palette for seneca-ui.
 *
 * Brand palette: Petrol #00697f · Aqua #39b2b9 · Dark Petrol #143344
 *                Beige #f5f0eb · Bordeaux #861542 · Peach #e75e57
 * Font: Nunito
 *
 * Dark sidebar (Dark Petrol), Petrol top bar + primary actions,
 * Aqua accents, warm Beige content background, Bordeaux destructive.
 */
:root {
    --font-size: 14px;

    /* ── page ── */
    --background:               #f5f0eb;
    --foreground:               #143344;

    /* ── card / popover ── */
    --card:                     #ffffff;
    --card-foreground:          #143344;
    --popover:                  #ffffff;
    --popover-foreground:       #143344;

    /* ── primary (petrol) ── */
    --primary:                  #00697f;
    --primary-foreground:       #ffffff;

    /* ── secondary surface ── */
    --secondary:                #e6f4f5;
    --secondary-foreground:     #143344;

    /* ── muted ── */
    --muted:                    #f0f7f7;
    --muted-foreground:         #4a6670;

    /* ── accent (aqua) ── */
    --accent:                   #d0eef0;
    --accent-foreground:        #143344;

    /* ── destructive (bordeaux) ── */
    --destructive:              #861542;
    --destructive-foreground:   #ffffff;

    /* ── borders / inputs ── */
    --border:                   #d0dde0;
    --input:                    #ffffff;
    --input-background:         #ffffff;
    --switch-background:        #b0c8cc;

    /* ── typography ── */
    --font-weight-medium:       500;
    --font-weight-normal:       400;

    /* ── focus ring ── */
    --ring:                     #00697f;
    --focus-border:             #39b2b9;
    --focus-shadow:             0 0 0 0.25rem rgba(0, 105, 127, 0.25);

    /* ── charts ── */
    --chart-1:                  #00697f;
    --chart-2:                  #39b2b9;
    --chart-3:                  #861542;
    --chart-4:                  #e75e57;
    --chart-5:                  #143344;

    /* ── radius ── */
    --radius:                   .5rem;

    /* ── sidebar ── */
    --sidebar:                  #143344;
    --sidebar-foreground:       #cbd5e1;
    --sidebar-primary:          #39b2b9;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent:           #1e3f55;
    --sidebar-accent-foreground: #e2e8f0;
    --sidebar-border:           #1e3f55;
    --sidebar-ring:             #00697f;

    /* ── top bar ── */
    --top-bar-foreground:       #ffffff;
    --top-bar-border:           transparent;

    /* ── top bar ── */
    --top-bar-bg:               #143344;

    /* ── Shoelace tokens ── */
    --sl-color-primary-50:  #e6f4f5;
    --sl-color-primary-100: #c0e8ec;
    --sl-color-primary-200: #8dd5db;
    --sl-color-primary-300: #55bfc7;
    --sl-color-primary-400: #2aaab3;
    --sl-color-primary-500: #00919e;
    --sl-color-primary-600: #00697f;
    --sl-color-primary-700: #005568;
    --sl-color-primary-800: #003f4e;
    --sl-color-primary-900: #002a35;
    --sl-color-primary-950: #001921;
    --sl-border-radius-medium: var(--radius);

    /* ── table ── */
    --table-head-bg:         #d0eef0;
    --table-head-color:      #143344;
    --table-row-border:      #d0dde0;
    --table-row-hover-bg:    #f0f7f7;
    --table-cell-color:      #143344;

    /* ── pagination ── */
    --pagination-info-color: #4a6670;
    --page-link-color:       #4a6670;
    --page-link-border:      #d0dde0;
    --page-link-bg:          #fff;
    --page-active-bg:        #d0eef0;
    --page-active-border:    #39b2b9;
    --page-active-color:     #00697f;
    --page-disabled-color:   #b0c8cc;
    --page-hover-bg:         #f0f7f7;
    --page-hover-border:     #b0c8cc;
    --page-hover-color:      #143344;

    /* ── checkbox ── */
    --checkbox-bg:              #ffffff;
    --checkbox-border:          #b0c8cc;

    /* ── legend ── */
    --legend-bg:                #f0f7f7;

    /* ── content area ── */
    --content-bg:               #f5f0eb;
}
