/* Modus's own (what its pages share with the other apps' is nucleus/css/base.css, loaded before). */

/* Modus's logo: its C, the name next to it. Black on the light bar, white (its arrow
   still pink) on the dark one. */
.modus-navbar-logo {
    width: 2.25rem;
    height: 2.25rem;
}
[data-bs-theme="dark"] .modus-navbar-logo {
    filter: invert(1) hue-rotate(180deg);
}

/* The guests' lists: an expired storage or reminder in red, a validated event in green —
   the row's colour, which a striped table's cells would otherwise override. */
.table > tbody > tr.text-danger > td { color: var(--bs-danger); }
.table > tbody > tr.text-success > td { color: var(--bs-success); }

/* A movable column's header (see movable_columns.js): dragged, and where it would be dropped. */
th.movable.dragging { opacity: .5; }
th.movable.drop-before { box-shadow: inset 3px 0 0 var(--bs-primary); }
th.movable.drop-after { box-shadow: inset -3px 0 0 var(--bs-primary); }

/* A list's actions (modifier, supprimer...): its rows' last cell with buttons — on the right, as
   narrow as they are (their header cell too). */
.table > tbody > tr > td:last-child:has(> .btn, > form > .btn),
.table > thead > tr > th:last-child:empty {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

/* The logo of the login pages (nucleus/login.html...). */
.login-logo { width: 240px; }
