
/* Keep Montserrat font */
table, th, td, input {
    font-family: "Montserrat", sans-serif;
}

/* Table styling */
table {
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
    border: 2px solid var(--sidebar-bg);
}

th, td {
    border: none;
    text-align: left;
    padding: 0 0 0 5px !important;  /* top=0, right=0, bottom=0, left=5px */                   /* 👈 do not override with general.css for td */
    overflow: hidden;
    /*white-space: nowrap !important;*/	   /* 👈 prevents text from splitting */
    line-height: 1;                    /* 👈 removes browser defaults */
	letter-spacing: 0;
    margin: 0;
}
tr:nth-child(even) td {
    /*background-color: var(--sidebar-bg);*/
    color: var(--sidebar-active);
}
tr:hover td {
    background-color: var(--sidebar-bg);
    color: var(--sidebar-active);
}

/* Search input styling (applies to all inputs) */
.col-search {
    box-sizing: border-box;
    width: 100%;
    font-size: 14px;
    border: 1px solid var(--sidebar-fg);
    padding: 6px 30px 6px 10px;
    margin-bottom: 6px;
    background-image: url('../images/searchicon.png');
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

/*--------------------------------*/

/* Hide checkbox (collapse controller) */
.menu-toggle {
    display: none;
}

/* Collapsible header label */
label.collapsible {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    margin: 12px 0 6px 0;
    font-size: 16px;
}

/* Arrow icon */
label.collapsible::before {
    content: "▶";
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.25s ease;
    font-size: 16px;
}

/* Rotate arrow when expanded (checkbox NOT checked) */
.menu-toggle:checked + label.collapsible::before {
    transform: rotate(0deg); /* collapsed → arrow right */
}

/* Expanded state (default: arrow down) */
label.collapsible::before {
    transform: rotate(90deg); /* expanded → arrow down */
}

/* The collapsible content */
.menu {
    margin-left: 20px;
}

/* Hide content when collapsed */
.menu-toggle:checked + label.collapsible + .menu {
    display: none;
}

/*--------------------------------*/

/* Inline symbols */
.inline:after, .used:after { font-weight: bold; font-family: "Segoe UI Symbol", "Segoe UI Emoji", sans-serif; }
.inline.Y:after, .used.Y:after{ content: "✔"; }
.inline.N:after, .used.N:after{ content: "✖"; }

