/* Unbounded ExtraBold — initials-avatar glyphs only (see .initials-avatar below), not the
   site-wide --font-family. Latin/cyrillic subsets split like Google Fonts serves them, so a
   Latin-only name never pulls the cyrillic file. No Hebrew coverage — falls back to
   --font-family per-glyph automatically, same reasoning as the Manrope comment below. */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/static/assets/fonts/Unbounded-ExtraBold-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/static/assets/fonts/Unbounded-ExtraBold-Cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    /* Colors live in colors.css */

    /* Dimensions */
    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 30px;

    /* Base font family. Manrope is Latin/Cyrillic-only (no Hebrew glyphs) — explicit system-UI
       fallbacks (all of which do cover Hebrew) before the generic sans-serif keyword, so Hebrew
       text degrades gracefully by name rather than relying solely on whatever the browser picks
       for the generic keyword. Same fallback chain already used in login.css. */
    --font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Fallback-avatar initials only (see .initials-avatar) — deliberately more characterful
       than --font-family, not a site-wide typeface. */
    --font-avatar: 'Unbounded', var(--font-family);

    /* Font weights */
    --font-weight-extra-light: 200;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Small text (12px) */
    --f-small-extra-light: 200 12px/16px var(--font-family);
    --f-small-light: 300 12px/16px var(--font-family);
    --f-small-regular: 400 12px/16px var(--font-family);
    --f-small-medium: 500 12px/16px var(--font-family);
    --f-small-semibold: 600 12px/16px var(--font-family);
    --f-small-bold: 700 12px/16px var(--font-family);
    --f-small-extrabold: 800 12px/16px var(--font-family);

    /* Base text (14px) */
    --f-base-extra-light: 200 14px/20px var(--font-family);
    --f-base-light: 300 14px/20px var(--font-family);
    --f-base-regular: 400 14px/20px var(--font-family);
    --f-base-medium: 500 14px/20px var(--font-family);
    --f-base-semibold: 600 14px/20px var(--font-family);
    --f-base-bold: 700 14px/20px var(--font-family);
    --f-base-extrabold: 800 14px/20px var(--font-family);

    /* Medium text (16px) */
    --f-md-extra-light: 200 16px/24px var(--font-family);
    --f-md-light: 300 16px/24px var(--font-family);
    --f-md-regular: 400 16px/24px var(--font-family);
    --f-md-medium: 500 16px/24px var(--font-family);
    --f-md-semibold: 600 16px/24px var(--font-family);
    --f-md-bold: 700 16px/24px var(--font-family);
    --f-md-extrabold: 800 16px/24px var(--font-family);

    /* Large text (20px) */
    --f-lg-extra-light: 200 20px/28px var(--font-family);
    --f-lg-light: 300 20px/28px var(--font-family);
    --f-lg-regular: 400 20px/28px var(--font-family);
    --f-lg-medium: 500 20px/28px var(--font-family);
    --f-lg-semibold: 600 20px/28px var(--font-family);
    --f-lg-bold: 700 20px/28px var(--font-family);
    --f-lg-extrabold: 800 20px/28px var(--font-family);

    /* Extra large text (24px) */
    --f-xl-medium: 500 24px/32px var(--font-family);
    --f-xl-semibold: 600 24px/32px var(--font-family);
    --f-xl-bold: 700 24px/32px var(--font-family);
    --f-xl-extrabold: 800 24px/32px var(--font-family);
    --f-xxl: 600 48px/64px var(--font-family);
    /* Optional italic (example) */
    --f-base-italic: italic 400 14px/20px var(--font-family);

    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-7: 28px;
    --s-8: 32px;
    --s-10: 40px;

    --r-1: 4px;
    --r-2: 8px;
    --r-3: 12px;
    --r-4: 16px;
    --pill: 999px;

    --shadow-card: 0 4px 14px rgba(139, 139, 139, 0.25);
    --shadow-card-h: 0 6px 20px rgba(139, 139, 139, 0.30);

    --header-height: 60px;
    --sidebar-min-w: 44px;
    --sidebar-max-w: 240px;
    --content-max: 1400px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    height: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background-2);
    color: var(--color-background-dark);
    overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Fallback avatar for users without a photo — filled in by common.js: applyInitialsAvatar().
   Sizing (width/height/border-radius) stays owned by each call site, same as before. */
.initials-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-avatar);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    user-select: none;
}

.table-wrapper{
    background: var(--color-white);
    border-radius: var(--r-2);
    box-shadow: var(--shadow-card);
    width: 100%;
    overflow-x: auto;
}

table{
    width: 100%;
    border-collapse: collapse;
}

table th {
    text-align: start;
    padding: 15px;
    background: var(--color-background-1);
    color: var(--color-text-faded-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-header-divider);
}

table td {
    padding: 15px;
    border-top: 1px solid var(--color-black-5);
    font-size: 15px;
    vertical-align: middle;
}

table tr:hover {
    background-color: var(--color-primary-5);
}
