/* ============================================================
   custom.css — CCMPS module customizations
   ============================================================
   Loaded AFTER themes/inspinia/css/style.css (see inspinia.php),
   specifically so a future theme update can safely overwrite
   style.css without touching anything in here. Never add anything
   to style.css itself going forward — put it here instead.

   Loaded BEFORE any inline CSS embedded in a page.

   Nothing currently lives here — the font-size preference system
   that originally lived in this file was superseded by a per-user,
   per-element-type system (tab/header/label/value/button, each
   independently small/medium/large) that can't be expressed as
   static CSS at all, since the actual pixel values are per-user
   and only knowable at request time. That's now generated as an
   inline <style> block directly in inspinia.php instead — see the
   Styling section in the developer docs for the full mechanism.

   This file (and the convention of using it instead of editing
   style.css directly) stays in place for any future customization
   that genuinely is static/site-wide rather than per-user.
   ============================================================ */

/* Member update form (.ccmp-form-section, 2026-10-27): the member's font sizes
   now apply here, and a fixed-height select clipped larger text. */
.ccmp-form-section select.form-control,
.ccmp-form-section select.form-control:not([size]):not([multiple]) { /* Bootstrap's own rule uses this selector */
  /* exactly the text boxes' height (Bootstrap .form-control), scaled by this select's own font size;
     explicit rather than "auto", which Safari and Chrome size differently */
  height: calc(1.5em + .75rem + 2px);
  padding-top: .375rem;
  padding-bottom: .375rem;
  line-height: 1.5;
}

/* Member update form: a little more room between rows of fields (2026-10-27) */
.ccmp-form-section .form-group {
  margin-bottom: 1.4rem;
}

/* Page-header buttons (Help, Save, Close ...) end in line with the top bar's Logout (owner, 2026-11-12).
   A Bootstrap column has 15px padding; the Logout text ends 30px further in (its link's padding and m-r-sm).
   Use on the header's button column: <div class="col-md-4 hdr-btns">. The member pages' own top bar (welcome-ccmps views)
   puts Logout at the column edge, so those pages use plain text-right. */
.hdr-btns {
  text-align: right;
  padding-right: 45px;
}
