/*
 * 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.
 */

/* Offline mode utilities */
.offline-only { display: none; }
body[data-connectivity="offline"] .offline-only { display: block; }
body[data-connectivity="offline"] #offline-banner.offline-only { display: flex; }
body[data-connectivity="online"] .offline-only { display: none; }
body[data-connectivity="offline"] .requires-connectivity { display: none; }

#offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 16px;
  text-align: center;
  background-color: #E8F0DC;
  color: #1F3A5F;
  font-family: Inter, sans-serif;
  font-size: 14px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
