/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ==========================================================================
   iOS Auto-Zoom Prevention
   iOS Safari/WKWebView zooms in when focusing inputs with font-size < 16px.
   Force all form elements to 16px minimum to prevent unwanted zooming.
   ========================================================================== */
@supports (-webkit-touch-callout: none) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  input[type="month"],
  input[type="week"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Lexxy toolbar button reordering — upload (images) first */
lexxy-toolbar [name="upload"] { order: -10; }
lexxy-toolbar [name="bold"] { order: -9; }
lexxy-toolbar [name="italic"] { order: -8; }
lexxy-toolbar [name="strikethrough"] { order: -7; }
lexxy-toolbar [name="highlight"] { order: -6; }
lexxy-toolbar [name="link"] { order: -5; }
lexxy-toolbar [name="quote"] { order: -4; }
lexxy-toolbar [name="heading"] { order: -3; }
lexxy-toolbar [name="code"] { order: -2; }
lexxy-toolbar [name="unordered-list"] { order: -1; }
