﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* ✅ Order/Reservation Badge Layouts */
.badge-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.badge-compact {
    font-size: 0.7rem;
}

.btn-toggle-details {
    font-size: 0.75rem;
    padding: 2px 8px;
}

/* ========== HEGA Shop Utilities ========== */

/* Abgerundete Alerts */
.alert-rounded { border-radius: 10px; }

/* Abgerundete Buttons/Elemente */
.rounded-shop { border-radius: 10px; }
.rounded-shop-sm { border-radius: 8px; }

/* Icon-Farben für dezente Darstellung */
.text-icon-muted { color: #bbb; }
.text-icon-light { color: #ccc; }

/* Schriftgrößen-Utilities */
.text-shop-xs { font-size: 0.78rem; }
.text-shop-sm { font-size: 0.82rem; }

/* Artikelnummer-Hervorhebung */
.text-artnr { color: #1565c0; font-weight: 600; }

/* HEGA Gradient-Button (Shop-Primärfarbe) */
.btn-hega {
    background: linear-gradient(135deg, #c62828, #ad1457);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}
.btn-hega:hover { color: white; opacity: 0.9; }

/* HEGA Modal-Styling */
.modal-hega .modal-content { border-radius: 14px; overflow: hidden; }
.modal-hega .modal-header {
    background: linear-gradient(135deg, #b71c1c, #880e4f);
    color: white;
}

/* Scanner Input-Group Runden */
.input-rounded-left { border-radius: 10px 0 0 10px; }
.input-rounded-right { border-radius: 0 10px 10px 0; }

/* Preis-Rabatt Durchgestrichen */
.text-price-old { text-decoration: line-through; }

/* Seiten-Navigation Input */
.page-jump-input { width: 68px; border-radius: 8px; }

/* Toolbar-Trenner */
.toolbar-divider { color: #bbb; margin: 0 6px; }

/* BS4-Kompatibilität: Position-Utilities (BS5 → BS4 Polyfill) */
.top-0 { top: 0; }
.start-0 { left: 0; }
.end-0 { right: 0; }
.gap-2 { gap: 0.5rem; }
