/*
 * Small reusable helper classes that replaced former inline style="..." attributes.
 * Loaded globally (after site.css) so any page/partial can use them. Keep this list
 * short and generic — feature-specific styling belongs in the feature's own CSS file.
 */

/* Interaction */
.cursor-pointer { cursor: pointer; }

/* Text — navy is the primary ink; never rely on Metronic's gray inheritance. */
.text-navy { color: var(--color-navy); }

/* Scroll containers (former max-height + overflow-y:auto inline styles) */
.scrollbox-240 { max-height: 240px; overflow-y: auto; }
.scrollbox-300 { max-height: 300px; overflow-y: auto; }
.scrollbox-400 { max-height: 400px; overflow-y: auto; }

/* Contained logo/image previews (admin sponsor forms + rows) */
.img-contain-lg { height: 60px; max-width: 160px; object-fit: contain; }
.img-contain-sm { height: 48px; max-width: 120px; object-fit: contain; }

/* Read-only form-control that wraps its content instead of a fixed-height input */
.form-control-multiline { height: auto; white-space: normal; }

/* Sponsor row name column cap */
.sponsor-name-col { max-width: 320px; }

/* Initial-hidden helper for elements shown/hidden at runtime by JS.
   Deliberately NOT !important: jQuery .show()/.hide() and el.style.display set an
   inline value that must be able to win over this class. (Bootstrap's .d-none is
   `!important` and would block jQuery .show(), so don't use it for those.) */
.is-hidden { display: none; }

/* Current-season flag indicator in the season menu (status color, not palette) */
.icon-flag-current { color: green; }

/* Password show/hide toggle button (auth pages + MSR credentials modal) */
.pw-toggle { cursor: pointer; z-index: 10; border: none; background: transparent; }
/* Misc one-offs promoted from inline styles */
.min-h-0 { min-height: 0; }
.rounded-modal { border-radius: 1rem; overflow: hidden; }
.btn-min-w { min-width: 8.5rem; }
.claim-review-avatar { max-width: 80px; max-height: 60px; border-radius: 0.375rem; object-fit: cover; }
.msr-help-thumb { cursor: pointer; max-width: 100%; }
.msr-help-fullimg { max-width: none; width: auto; min-width: 100%; }
.touch-scroll-y { overflow-y: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch; }

/* Empty-state message pulled up under a toolbar (former inline negative margin) */
.results-empty-offset { margin-top: -45px; }
/* Shrink-to-content table column */
.col-shrink { width: 1%; }
