/*
 * Neutral baseline styling for the K1+ demo environment.
 * This is NOT the real dashboard's theme - it only provides enough default
 * structure (borders, backgrounds) that the extension's changes are visibly
 * distinguishable when it is enabled vs. disabled. No real branding.
 */

:root {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #1c2430;
    background: #eef1f4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0 0 48px;
}

/* Top bar (all pages) - carries the logout list the "logout margin" feature targets. */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    /* background: #2b3a4a; */
    background: #EB003C;
    color: #fff;
}

.topbar .brand {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;
}

.topbar ul {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar ul a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.wrap {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 20px;
}

h1 {
    font-size: 22px;
    margin: 0 0 4px;
}

.lead {
    color: #566;
    margin: 0 0 20px;
    font-size: 14px;
}

.region {
    background: #fff;
    border: 1px solid #d3dae2;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.region-header {
    padding: 10px 16px;
    font-weight: 600;
    border-bottom: 1px solid #e4e9ee;
    background: #f7f9fb;
}

/* Interactive-report toolbar / grouping controls (targets of Hide filter / Hide grouping). */
.ir-toolbar,
.ir-control-panel {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #e4e9ee;
    background: #fbfcfd;
    font-size: 13px;
    color: #55606c;
}

.ir-toolbar .chip,
.ir-control-panel .chip {
    padding: 4px 10px;
    border: 1px solid #ccd4dc;
    border-radius: 6px;
    background: #fff;
}

.filter-bar {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e4e9ee;
}

.filter-bar label {
    font-size: 13px;
    color: #55606c;
}

/* Roster table (Resource overview, page 310). */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    text-align: left;
    padding: 8px 14px;
    border-bottom: 1px solid #eceff2;
    white-space: normal;
}

th {
    background: #f2f5f8;
    font-weight: 600;
    color: #3a4653;
}

/* Employee name cells the highlight feature matches against. */
.column_data,
.employee_data {
    font-weight: 500;
}

.nonbookable_hl {
    font-style: italic;
}

/* Schedule (page 1) content rows - targets of "Remove dead space". */
.content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.t-ContentRow {
    border-bottom: 1px solid #eceff2;
}

.t-ContentRow-body {
    display: flex;
    padding: 14px 16px;
    gap: 16px;
}

.t-ContentRow-content {
    flex: 1;
}

.t-ContentRow-content.third_column {
    color: #8a95a1;
}

.ical-hint {
    padding: 12px 16px;
    background: #fff8e6;
    border-bottom: 1px solid #f0e4bf;
    font-size: 13px;
    color: #7a6a2f;
}

.pagenav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pagenav a {
    display: inline-block;
    padding: 10px 16px;
    background: #2b3a4a;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.note {
    background: #eaf3ff;
    border: 1px solid #cfe0f4;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #2a3b4d;
}

.note code {
    background: #dceaf9;
    padding: 1px 5px;
    border-radius: 4px;
}
