/* Gegenereerd met scripts/build_portal_css.py. */

@font-face{
  font-family: "Josefin Sans";
  src: url("/static/fonts/JosefinSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face{
  font-family: "Josefin Sans";
  src: url("/static/fonts/JosefinSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face{
  font-family: "De Bakkert Display";
  src: url("/static/fonts/DeBakkert-Display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* static/css/base.css */

/* ===== Basis reset ===== */
* {
  box-sizing: border-box;
}

.ui-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Josefin Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  color: #111;

  padding-top: 90px;
  padding-bottom: 72px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;

  background: #fff;
  border-bottom: 1px solid #ddd;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left { justify-content: flex-start; }
.header-center { justify-content: center; }
.header-right { justify-content: flex-end; }

.logo-center {
  height: 36px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ===== Navigatieknoppen ===== */
.nav-btn {
  text-decoration: none;
  color: #111;
  background: #E2C55C;
  border: 1px solid #d1b34f;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-btn:hover {
  background: #d1b34f;
  transform: translateY(-1px);
}

/* ===== Hamburger menu ===== */
.menu-wrap {
  position: relative;
  display: inline-flex;
}

.menu-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d1b34f;
  background: #E2C55C;
  color: #111;

  width: 44px;
  height: 36px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.menu-btn:hover {
  background: #d1b34f;
  transform: translateY(-1px);
}

/* Hamburger icon */
.menu-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.menu-icon::before { top: 0; }
.menu-icon span     { top: 5px; }
.menu-icon::after  { bottom: 0; }

/* ===== Dropdown (subtiel wit) ===== */
.menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  min-width: 220px;
  padding: 8px;

  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;

  display: none;
  flex-direction: column;
  gap: 6px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.menu-wrap[data-open="1"] .menu-dropdown {
  display: flex;
}

.menu-item {
  display: block;
  width: 100%;
  text-align: left;

  text-decoration: none;
  color: #111;

  background: #fff9c4;
  border-radius: 10px;

  padding: 8px 10px;
  white-space: nowrap;

  font-weight: 600;   /* <-- hier toegevoegd voor nadruk */

  transition: background 0.15s ease;
}

.menu-item:hover {
  background: #f2f2f2;
}

/* ===== Main ===== */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px;
}

/* ===== Responsive afbeeldingen ===== */
.site-main img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: #fff;
  border-top: 1px solid #ddd;

  padding: 16px 14px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;

  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
}

.footer-social a {
  text-decoration: none;
  color: #111;
  text-transform: none;
  letter-spacing: normal;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  font-size: 0;
  line-height: 0;
}

.footer-social a::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background-color: currentColor;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2C4.46 2 2 4.46 2 7.5v9C2 19.54 4.46 22 7.5 22h9c3.04 0 5.5-2.46 5.5-5.5v-9C22 4.46 19.54 2 16.5 2h-9zm0 2h9C18.43 4 20 5.57 20 7.5v9c0 1.93-1.57 3.5-3.5 3.5h-9C5.57 20 4 18.43 4 16.5v-9C4 5.57 5.57 4 7.5 4zm4.5 2.5A5.5 5.5 0 1 0 17.5 12 5.51 5.51 0 0 0 12 6.5zm0 2A3.5 3.5 0 1 1 8.5 12 3.5 3.5 0 0 1 12 8.5zm5.25-.88a1.12 1.12 0 1 0 1.12 1.12 1.12 1.12 0 0 0-1.12-1.12z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2C4.46 2 2 4.46 2 7.5v9C2 19.54 4.46 22 7.5 22h9c3.04 0 5.5-2.46 5.5-5.5v-9C22 4.46 19.54 2 16.5 2h-9zm0 2h9C18.43 4 20 5.57 20 7.5v9c0 1.93-1.57 3.5-3.5 3.5h-9C5.57 20 4 18.43 4 16.5v-9C4 5.57 5.57 4 7.5 4zm4.5 2.5A5.5 5.5 0 1 0 17.5 12 5.51 5.51 0 0 0 12 6.5zm0 2A3.5 3.5 0 1 1 8.5 12 3.5 3.5 0 0 1 12 8.5zm5.25-.88a1.12 1.12 0 1 0 1.12 1.12 1.12 1.12 0 0 0-1.12-1.12z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.footer-social a:hover {
  opacity: 0.75;
}

/* ===== Globaal compacter ===== */
h1, h2, h3 {
  margin: 0 0 10px 0;
}

p {
  margin: 6px 0;
}

ul, ol {
  margin: 6px 0 6px 18px;
  padding: 0;
}

li {
  margin: 3px 0;
}

@media (max-width: 767px) {
/* ===== Mobile layout (iPhone 11 en kleiner) ===== */

/* ---------- Header ---------- */

/* Header blijft 1-rijig op mobiel */
.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
  gap: 8px;
  padding: 8px 10px;
}

/* Links logo: rij 1, kolom 1 */
.header-left {
  grid-column: 1;
  grid-row: 1;
}

/* Midden logo: rij 1, kolom 2 */
.header-center {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
}

/* Rechter logo: rij 1, kolom 3 */
.header-right {
  grid-column: 3;
  grid-row: 1;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

/* Logo’s mobiel passend */
.logo-left {
  height: 32px;
}

.logo-center {
  height: 22px;
}

.header-logo-right {
  height: 26px;
}

/* Knoppen mobiel */
.nav-btn {
  font-size: 0.85rem;
  padding: 6px 8px;
  border-radius: 8px;
}

/* ---------- Content ---------- */

/* Compactere main spacing */
.site-main {
  padding: 12px;
}

/* Kaarten zijn leidend op mobiel */
.card,
section,
.article,
.block {
  display: block;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  background: #FFCF5A;
}

/* Typografie mobiel */
h1 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
}

h2 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
}

p {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
}

/* Tabellen op mobiel via Bootstrap responsive wrapper laten scrollen */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Orderregels: product op een eigen regel, aantal en daglimiet eronder. */
@media (max-width: 767.98px) {
  .orderregel,
  #lines > .row {
    padding-bottom: 10px;
    margin-bottom: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
  }

  .day-limit {
    width: 100%;
  }

  .order-line-remove {
    display: flex;
    justify-content: flex-end;
  }

  .order-line-remove .btn,
  .add-line-action {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
  }

  .add-line-action {
    display: flex;
    margin-left: auto;
  }

  .order-form-actions {
    flex-wrap: nowrap !important;
  }

  .order-form-actions > .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding: .45rem .6rem;
    font-size: .9rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .order-detail-table thead {
    display: none !important;
  }

  .order-detail-table.table {
    min-width: 0 !important;
  }

  .order-detail-table-wrap {
    overflow: visible !important;
  }

  .order-detail-table + * {
    clear: both;
  }

  .order-detail-table,
  .order-detail-table tbody {
    overflow: visible !important;
  }

  .order-detail-table,
  .order-detail-table tbody,
  .order-detail-table tr,
  .order-detail-table td {
    display: block !important;
    width: 100% !important;
  }

  .order-detail-table tbody tr {
    margin-bottom: .75rem;
    padding: .65rem;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: .5rem;
    background: #fff;
  }

  .order-detail-table tbody td {
    display: flex !important;
    justify-content: space-between;
    gap: 1rem;
    padding: .3rem 0;
    text-align: right !important;
    border: 0;
  }

  .order-detail-table tbody td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    text-align: left;
  }

  .order-detail-table .order-detail-action .btn {
    width: 36px;
    height: 36px;
    margin-top: .25rem;
    padding: 0;
  }

  .order-detail-table tbody td.order-detail-action {
    justify-content: flex-end;
  }

  .order-detail-table tfoot,
  .order-detail-table tfoot tr,
  .order-detail-table tfoot th {
    display: block !important;
    width: 100% !important;
  }

  .order-detail-table tfoot th:empty {
    display: none !important;
  }
}
}

@media (min-width: 768px) {
/* ===== Desktop layout ===== */

/* Gebruik op laptops de beschikbare breedte; op grote schermen blijft de
   inhoud rustig begrensd. */
main.container {
  width: calc(100% - 24px);
  max-width: 1200px;
  padding-right: 0;
  padding-left: 0;
}

/* Content netjes centreren */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px;
}

/* Typografie desktop */
h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Kaarten blijven beschikbaar op desktop */
.card {
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: clamp(8px, 1.2vw, 16px);
  margin-bottom: 16px;
  background: #FFCF5A;
}

.card,
.card-body,
.table-responsive {
  min-width: 0;
  max-width: 100%;
}

/* Orderdetail: alle kolommen blijven binnen de kaart. */
.order-detail-table {
  width: 100%;
  table-layout: fixed;
}

.order-detail-table th,
.order-detail-table td {
  min-width: 0;
  padding-right: clamp(6px, .8vw, 12px);
  padding-left: clamp(6px, .8vw, 12px);
  overflow-wrap: anywhere;
}

.order-detail-table th:nth-child(1) { width: auto; }
.order-detail-table th:nth-child(2) { width: 12%; }
.order-detail-table th:nth-child(3) { width: 18%; }
.order-detail-table th:nth-child(4) { width: 11%; }
.order-detail-table th:nth-child(5) { width: 48px; }

.order-detail-table .order-detail-action {
  white-space: nowrap;
}

/* Dashboard houdt genoeg ruimte voor de acties zonder de datums weg te drukken. */
.orders-table {
  width: 100%;
  table-layout: fixed;
}

.orders-table th,
.orders-table td {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orders-table th:last-child,
.orders-table td:last-child {
  width: 142px;
  overflow: visible;
}

@media (min-width: 768px) and (max-width: 1050px) {
  .order-detail-table,
  .orders-table {
    font-size: .9rem;
  }

  .order-detail-table th,
  .order-detail-table td,
  .orders-table th,
  .orders-table td {
    padding: 7px 6px;
  }

  .orders-table th:last-child,
  .orders-table td:last-child {
    width: 124px;
  }
}

/* Basis tabelstijl (voor later gebruik) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Header iets ruimer op desktop */
.site-header {
  padding: 12px 18px;
}

.logo-left {
  height: 44px;
}

.logo-center {
  height: 38px;
}

.header-logo-right {
  height: 38px;
}

/* =========================================================
   Vestigingen: desktop naast elkaar, mobiel onder elkaar
   (mobiel hoeft niets: standaard block flow)
   ========================================================= */

@media (min-width: 900px) {
  .loc-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }

  .loc-left {
    flex: 1 1 55%;
    min-width: 320px;
  }

  .loc-right {
    flex: 1 1 45%;
  }

  /* Als loc.html een afbeelding bevat: netjes schalen */
  .loc-right img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}
}

/* =========================================================
   UI-SOFT.CSS
   Theme: Editorial Bakery
   Alleen STIJL. Geen functionele aanpassingen.
   ========================================================= */

:root{

  /* ===== Editorial Bakery palette ===== */
  --ui-bg-top: #F2B8B4;
  --ui-bg-bottom: #F2B8B4;

  --ui-surface: #FFCF5A;
  --ui-surface-2: #FFF8EC;
  --ui-border: rgba(0,0,0,0.16);

  --ui-text: #1A1A1A;
  --ui-muted: #606060;

  /* Editorial green */
  --ui-green: #111111;
  --ui-green-dark: #000000;
  --ui-green-soft: #F2B8B4;

  /* Warm wood accent */
  --ui-wood: #A36A3C;
  --ui-wood-dark: #7C4E2C;

  --ui-radius-card: 14px;
  --ui-radius-control: 12px;

  --ui-shadow-card: 0 14px 34px rgba(0,0,0,0.10);
  --ui-shadow-card-hover: 0 18px 44px rgba(0,0,0,0.14);
  --ui-shadow-float: 0 2px 10px rgba(0,0,0,0.12);

  --ui-ease: cubic-bezier(.2,.8,.2,1);
  --ui-dur: 140ms;

  --ui-focus: 0 0 0 3px rgba(0,0,0,0.22);
}


/* =========================================================
   BODY
   ========================================================= */

html{
  background: #F2B8B4;
}

body{
  color: var(--ui-text);

  background: #F2B8B4;

  min-height: 100vh;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px){
  body{
    background: #F2B8B4;
  }
}


/* =========================================================
   LINKS
   ========================================================= */

a{
  color: var(--ui-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(47,79,62,0.32);
  padding-bottom: 1px;
}

a:hover{
  color: var(--ui-green-dark);
  border-bottom-color: rgba(47,79,62,0.65);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  background: #FFF8EC;
  backdrop-filter: blur(6px);
}


/* =========================================================
   CARDS
   ========================================================= */

:where(.card, section, .article, .block){
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-card);
  box-shadow: var(--ui-shadow-card);
  transition: transform var(--ui-dur) var(--ui-ease),
              box-shadow var(--ui-dur) var(--ui-ease),
              border-color var(--ui-dur) var(--ui-ease);
}

:where(.card, section, .article, .block):hover{
  transform: translateY(-1px);
  box-shadow: var(--ui-shadow-card-hover);
  border-color: rgba(0,0,0,0.12);
}


/* =========================================================
   TYPOGRAFIE
   ========================================================= */

h1,h2,h3{
  font-family: "De Bakkert Display", "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1,h2,h3{ line-height: 1.15; }

small,.muted,.text-muted{
  color: var(--ui-muted);
}

body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select{
  font-family: "Josefin Sans", system-ui, sans-serif;
}

.navbar.bg-white,
.site-footer{
  background: #FFF8EC !important;
  border-color: rgba(0,0,0,0.16) !important;
}

.navbar-brand span,
.welcome-bar{
  color: #111111;
  letter-spacing: 0.01em;
}

.welcome-bar{
  font-weight: 700;
}

.form-control,
.form-select{
  color: #111111;
  background-color: #FFF8EC;
  border-color: rgba(0,0,0,0.28);
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus{
  color: #111111;
  background-color: #ffffff;
  border-color: #111111;
  box-shadow: var(--ui-focus);
}

.table{
  --bs-table-bg: transparent;
  --bs-table-color: #111111;
  --bs-table-border-color: rgba(0,0,0,0.18);
}

.modal-content{
  color: #111111;
  background: #FFF8EC;
  border: 2px solid #111111;
  border-radius: 12px;
}

.modal-header,
.modal-footer{
  border-color: rgba(0,0,0,0.16);
}

.btn-primary,
.btn-dark{
  --bs-btn-bg: #111111;
  --bs-btn-border-color: #111111;
  --bs-btn-hover-bg: #333333;
  --bs-btn-hover-border-color: #333333;
  --bs-btn-active-bg: #000000;
  --bs-btn-active-border-color: #000000;
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
}

.btn-light,
.btn-outline-secondary{
  --bs-btn-bg: #FFCF5A;
  --bs-btn-border-color: #111111;
  --bs-btn-color: #111111;
  --bs-btn-hover-bg: #F2B8B4;
  --bs-btn-hover-border-color: #111111;
  --bs-btn-hover-color: #111111;
}

.btn{
  border-radius: 8px;
  font-weight: 700;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.nav-btn{
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  transition: background var(--ui-dur) var(--ui-ease),
              border-color var(--ui-dur) var(--ui-ease);
}

.menu-btn{
  background: #FFCF5A !important;
  border-color: rgba(0,0,0,0.15) !important;
  color: #1A1A1A !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  transition: background var(--ui-dur) var(--ui-ease),
              border-color var(--ui-dur) var(--ui-ease);
}

.nav-btn:hover{
  background: #222222 !important;
  border-color: #222222 !important;
}

.menu-btn:hover{
  background: #F2B8B4 !important;
  border-color: rgba(0,0,0,0.25) !important;
}

.nav-btn:focus-visible,
.menu-btn:focus-visible{
  outline: none !important;
  box-shadow: var(--ui-focus) !important;
}


/* Hamburger icon */

.menu-icon::before,
.menu-icon::after,
.menu-icon span{
  background: #1A1A1A !important;
}


/* =========================================================
   MENU OVERLAY (Aanpassing 1)
   ========================================================= */

.menu-dropdown{
  background: #FFF8EC;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.menu-item{
  background: #FFCF5A !important;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--ui-text) !important;
  border-radius: 12px;
  transition: background var(--ui-dur) var(--ui-ease),
              border-color var(--ui-dur) var(--ui-ease),
              color var(--ui-dur) var(--ui-ease);
}

.menu-item:hover{
  background: #F2B8B4 !important;
  border-color: rgba(47,79,62,0.18);
  color: var(--ui-green-dark) !important;
}


/* =========================================================
   HERO (Eerste kaart)
   ========================================================= */

.site-main .card:first-of-type{
  background: #FFCF5A;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
  color: var(--ui-text) !important;
}

.site-main .card:first-of-type h2{
  color: var(--ui-text) !important;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 26px;
  display: inline-block;
  padding-bottom: 8px; /* Aanpassing 2 */
  border-bottom: 2px solid #111111; /* Aanpassing 2 */
}

.site-main .card:first-of-type .richtext,
.site-main .card:first-of-type p,
.site-main .card:first-of-type li,
.site-main .card:first-of-type label,
.site-main .card:first-of-type span,
.site-main .card:first-of-type strong{
  color: var(--ui-text) !important; /* Aanpassing 3 */
}

.site-main .card:first-of-type a:not(.nav-btn){
  color: var(--ui-text) !important;
  border-bottom-color: rgba(26,26,26,0.35);
}

.site-main .card:first-of-type a:not(.nav-btn):hover{
  border-bottom-color: rgba(26,26,26,0.70);
}


/* =========================================================
   QUILL / RICHTEXT SUPPORT (Ongewijzigd functioneel)
   ========================================================= */

.richtext .ql-align-right{ text-align:right; }
.richtext .ql-align-center{ text-align:center; }
.richtext .ql-align-left{ text-align:left; }
.richtext .ql-align-justify{ text-align:justify; }

.richtext img,
.ql-editor img{
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.richtext img[style*="float:left"],
.ql-editor img[style*="float:left"]{
  float:left;
  margin:0 12px 8px 0;
}

.richtext img[style*="float:right"],
.ql-editor img[style*="float:right"]{
  float:right;
  margin:0 0 8px 12px;
}

.richtext::after,
.ql-editor::after{
  content:"";
  display:block;
  clear:both;
}
.day-limit {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .25rem .5rem;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  background: #f8f9fa;
  font-weight: 600;
}

.day-limit-exceeded {
  background: #7a1010;
  border-color: #7a1010;
  color: #fff;
  font-weight: 700;
}

@media (min-width: 768px) {
  .order-line-quantity {
    width: 5rem;
  }

  .order-line-limit {
    width: 6rem;
  }
}

.order-detail-table tbody > tr > td {
  background: #ffffff;
  color: #000000;
  border-bottom-color: rgba(0, 0, 0, 0.12);
}
