/* Shop-manager — styles communs (Bootstrap 5.3 + RTL). Simplicité : gros boutons, contrastes nets. */
:root {
  --app-primary: #0f5132;
}
.app-navbar { background: var(--app-primary); }
.app-navbar .form-select { min-width: 7.5rem; }

/* Gros boutons tactiles (caisse, téléphone) */
.btn-lg { min-height: 3rem; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; min-height: 6.5rem; text-align: center; text-decoration: none;
  border-radius: .75rem; background: #fff; border: 1px solid #dee2e6; color: inherit;
}
.tile i { font-size: 1.75rem; color: var(--app-primary); }
.tile.disabled { opacity: .55; pointer-events: none; }

/* Icônes « flèche » retournées en arabe */
[dir="rtl"] .flip-rtl { display: inline-block; transform: scaleX(-1); }

/* Jamais de « left: -9999px » pour masquer (casse le RTL) : utiliser .visually-hidden */

/* Rapports imprimés (lot 8) : seulement le contenu, tableau lisible */
@media print {
  body { background: #fff !important; }
  .alert-dismissible .btn-close { display: none; }
  .report-table { font-size: 11px; }
  .report-table thead { display: table-header-group; }
  .report-table tr { break-inside: avoid; }
}

/* Barre du haut fixe + bouton Enregistrer collé juste dessous (formulaires de création / modification) */
:root { --nav-h: 56px; }
html { scroll-padding-top: calc(var(--nav-h) + 4rem); }
.save-bar, .btn-save.save-top { position: sticky; top: var(--nav-h); z-index: 1010; }
.save-bar { background: var(--bs-body-bg); padding: .5rem 0; margin-bottom: .75rem; }
.save-bar .btn { width: 100%; }
@media print { .save-bar { display: none; } }
