@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300&display=swap");

/* Allgemeines Styling */
@font-face {
  font-family: "Rift-Light";
  src: url("/fonts/Rift-Light.otf") format("opentype");
}

@font-face {
  font-family: "Rift-Medium";
  src: url("/fonts/Rift-Medium.otf") format("opentype");
}

@font-face {
  font-family: "Rift";
  src: url("/fonts/Rift-Demi.otf") format("opentype");
}

@font-face {
  font-family: "Rift-Regular";
  src: url("/fonts/Rift-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Rift-Bold";
  src: url("/fonts/Rift-Bold.otf") format("opentype");
}

.barlow-condensed-regular {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
}

#navbar-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.v2 th {
  font-family: "Rift-Light" !important;
}

.rift-medium {
  font-family: "Rift-Medium" !important;
}

.dropdown-toggle::after {
  border: none !important;
  display: none !important;
  content: "";
  /* font-size: 18px;
  transform: scale(1.3, 0.5);
  font-family: system-ui;
  text-transform: lowercase; */
}

.v2 .rift-regular,
.v2 .rift-regular * {
  font-family: "Rift-Regular" !important;
}

.v2 input,
.v2 input:focus,
.v2 input:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.v2 button:not(.dropdown-toggle) {
  /* box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); */
  border-radius: 3px;
}

body.v2 {
  font-family: "Rift", sans-serif;
  font-weight: 400; /* Normal */
  background-color: white;
}

.v2 .rift-font,
.v2 .rift-font * {
  font-family: "Rift" !important;
}

#login-form input {
  height: 60px;
  border: 1px solid #000a24;
  font-size: 22px;
}

.container {
  padding-top: 0px !important;
}

.v2 #main-content {
  background-color: white;
  width: 100%;
  margin: 0px auto;
  min-height: calc(100dvh - 60px);
}

.v2.inner-page {
  padding: 0px 15px;
  background-color: #000a24;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

/* .navbar-v2 .navbar-brand * {
  letter-spacing: 2.5px;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
} */

p#recipe-details {
  font-size: 40px !important;
}
.recipe-row {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  /* margin-bottom: 10px; */
  border-top: 1px solid #8e8e8e5d;
  font-size: 30px;
  text-transform: uppercase;
  padding: 7px 0px;
}

.recipe-row,
.recipe-row font {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.recipe-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.recipe-heading h2 {
  flex-grow: 1;
  text-transform: uppercase;
  font-size: 1.7rem;
  margin: 0px !important;
}

#recipe-image img {
  border-radius: 10px;
  margin-top: 10px;
}

.recipe-heading .decoration-box,
.recipe-heading .decoration-box:active,
.shipment-heading .decoration-box {
  background-color: #ececec !important;
  font-size: 1.2rem;
}

.recipe-heading .decoration-box {
  padding: 10px 0px !important;
  width: 60px;
}
.shipment-heading .decoration-box {
  padding: 10px 25px;
}

.recipe-sub-heading {
  text-transform: uppercase;
  font-size: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #8e8e8e5d;
}

.ingrdients {
  padding: 10px 0;
  font-size: 22px !important;
  text-transform: uppercase;
  border-bottom: 1px solid #8e8e8e5d;
}

/* .ingrdients .qty {
  font-weight: bold;
} */

.logistic-filter .dropdown-menu {
  background-color: #ececec;
  max-height: 80dvh !important;
  overflow: auto;
}

.dropdown-item:active {
  background-color: inherit !important;
}

.logistic-filter .dropdown-item,
.logistic-filter .dropdown-toggle,
.logistic-filter .dropdown-toggle span {
  font-size: 26px;
  text-transform: uppercase;
  cursor: pointer;
}

#logistic-shipments tr {
  cursor: pointer;
}

.table {
  font-size: 1.2rem;
  table-layout: fixed;
}

.table th,
.table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.table th {
  color: #8e8e8e !important;
  text-transform: uppercase;
  border-top: none !important;
  border-color: #8e8e8e;
  font-size: 18px !important;
  font-weight: lighter !important;
}

.table td {
  text-transform: uppercase;
  vertical-align: middle !important;
}

.table td {
  font-size: 24px !important;
  font-family: "Rift-Regular";
}

#results_BestellungenShipments th {
  font-size: 18px !important;
}

#results_BestellungenShipments td {
  font-size: 24px !important;
}

#results_BestellungenShipments td .num-input {
  width: 72px;
  height: 50px;
  text-align: center;
  border: none !important;
  outline: none !important;
  text-transform: uppercase;
  color: black !important;
}

#results_BestellungenShipments .stock-btn {
  width: 156px;
  height: 50px;
  text-align: center;
  font-size: 22px !important;
  border: none !important;
  color: black !important;
  white-space: nowrap !important;
}
/* .table .customer {
  font-family: "Rift-Bold" !important;
} */

.num-input {
  max-width: 100px;
  text-align: center;
}

.num-input#product-qty {
  font-size: 22px !important;
  width: 100px !important;
  height: 60px !important;
}

.num-input::-webkit-outer-spin-button,
.num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.decoration-box.pack-btn {
  padding: 10px 15px;
  font-size: 1.2rem;
  border-radius: 0px !important;
}

.comment-address {
  font-size: 22px !important;
  font-family: "Rift-Medium";
}

.comment-address textarea {
  font-size: 22px !important;
}
/* Firefox */
.num-input[type="number"] {
  -moz-appearance: textfield;
}

.shipment-heading #company {
  font-size: 40px !important;
  font-weight: 400 !important;
}

.shipment-heading #shipping-date,
.shipment-heading #shipping-time {
  font-size: 40px !important;
  font-family: "Rift-Regular" !important;
}

.print-btn {
  background-color: #77d892;
  width: 146px;
  height: 80px;
  font-size: 24px;
  border: none !important;
  color: black !important;
}

@media only screen and (max-width: 768px) {
  .print-btn {
    height: 70px;
  }
}

@media only screen and (max-width: 768px) {
  .date-row {
    width: 90px !important;
  }
  .shipment-heading #company {
    font-size: 30px !important;
  }
  .shipment-heading #shipping-date,
  .shipment-heading #shipping-time {
    font-size: 30px !important;
  }
}

.shipment-heading:not(textarea) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  text-transform: uppercase;
}

.table .shipment-unit {
  font-size: 14px !important;
}

.input-td input {
  font-size: 22px;
  font-family: "Rift" !important;
}

.table .shipment-qty {
  font-size: 22px !important;
  padding-right: 7px !important;
  font-family: "Rift" !important;
}

.fetch-shipments-heading {
  font-size: 22px !important;
  display: flex;
  align-items: center;
}

.fetch-shipments-heading label[for="start_date_shipments"] {
  display: flex;
  align-items: center;
  max-width: min-content;
  margin-bottom: 0px;
}

/* .fetch-shipments-heading label[for="start_date_shipments"] svg {
  position: relative;
  right: 12px;
} */
.fetch-shipments-heading input {
  border: 0px;
  outline: none !important;
  max-width: min-content;
}

.fetch-shipments-heading #fetchShipmentButton {
  width: 212px;
  height: 50px;
  background-color: #000a24;
  color: #fff;
  margin-left: 25px;
}

/* .fetch-shipments-heading input[type="date"]::-webkit-inner-spin-button,
.fetch-shipments-heading input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
} */
.toggle-header {
  font-size: 40px !important;
  margin-bottom: 15px !important;
  cursor: pointer;
  font-weight: 400 !important;
}

#print-form input[type="checkbox"] {
  accent-color: #77d892 !important;
}

.custom-checkbox {
  display: inline-block;
  cursor: pointer;
}

.custom-checkbox input {
  display: none; /* Hide default checkbox */
}

.custom-checkbox .checkmark svg {
  display: none;
}

.custom-checkbox .checkmark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ececec;
  transition: background-color 0.3s, border-color 0.3s;
  position: relative;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #76c893; /* Green background when checked */
  border-color: #76c893;
}

.custom-checkbox input:checked + .checkmark svg {
  /* content: "✔";
  font-size: 24px;
  color: black;
  font-weight: lighter;
  font-family: "Rift-Regular"; */
  display: block;
}

/* Stil für Ladeindikator */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  max-width: 1024px;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  margin: auto;
  background-color: white;
}

/* Styling für die Navigationsleiste */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  color: white;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.navbar-brand * {
  line-height: 1 !important;
  letter-spacing: 2px !important;
}

.navbar-brand #page-list * {
  color: #ffffff !important;
}

.navbar-brand #page-list * {
  font-size: 35px !important;
  font-family: "Rift-Regular" !important;
}

#selected-page {
  font-family: "Rift" !important;
}

.user-edit-btn {
  background-color: #d5d5d5;
  color: #323232;
  border-radius: 3px;
  border: none !important;
  min-width: 44px;
  height: 44px;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-add-btn {
  width: 150px;
  height: 40px;
  background-color: #000a24;
  color: white;
  font-size: 22px !important;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.user-add-btn:hover {
  color: white !important;
}

.user-delete-modal {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stock-input,
.stock-input * {
  font-family: "Rift" !important;
}

.user-delete-bg {
  background-color: #000a24;
  opacity: 0.4;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 10;
  cursor: pointer;
}

.user-delete-dialog {
  position: relative;
  z-index: 20;
  width: 421px;
  height: 341px;
  background-color: white;
  max-width: 90dvw;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.excel-dialog {
  position: relative;
  z-index: 20;
  width: 840px;
  min-height: 427px;
  background-color: white;
  max-width: 90dvw;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

.excel-dialog button {
  border: none !important;
  outline: none !important;
}

.user-delete-dialog button {
  text-align: center;
  width: 139px;
  height: 80px;
  border: none !important;
  outline: none !important;
  font-size: 28px;
}

.navbar-brand h1 {
  margin: 0;
  font-size: 1.5em;
}

.navbar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.navbar-links li {
  display: inline;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar-links a:hover {
  text-decoration: underline;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-user #user-email {
  font-weight: bold;
}

.navbar-user button {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.navbar-user button:hover {
  background-color: #e60000;
}

.navbar-user span {
  margin-right: 10px;
}

/* Hauptinhalt */
main {
  flex: 1;
  padding: 20px;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Spezifische Inhalte */
.container {
  padding: 20px;
  max-width: 1200px !important;
}

.table-container {
  margin-top: 20px;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container th,
.table-container td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.table-container th {
  background-color: #f2f2f2;
}

h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.5em;
  margin-top: 20px;
}

#article-details {
  font-size: 2em;
}

#target-quantity {
  font-size: 2em;
}

#dates {
  font-size: 1.2em;
  display: flex;
  justify-content: space-between;
}

#dates span {
  font-size: 1.2em;
}

#production-order-items {
  font-size: 1.2em;
}

.article-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #ddd;
  margin-left: 20px;
}

.header-section {
  display: flex;
  align-items: center;
}

#complete-button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  margin-top: 20px;
}

#complete-button:hover {
  background-color: #45a049;
}

/* Formular Styling */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  background-color: #68a83e;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
}

button[type="submit"]:hover {
  background-color: #4d7a2e;
}

#message {
  margin-top: 15px;
  color: green;
}

.tabs-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.tab-button {
  padding: 0.5em 1em;
  margin-right: 0.5em;
  cursor: pointer;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
}

.tab-button.active {
  background-color: #ccc;
}

.content-container {
  border: 1px solid #ccc;
  border-radius: 0 4px 4px 4px;
  padding: 1em;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.row {
  display: flex;
  padding: 0.5em 0;
}

.cell {
  flex: 1;
  padding: 0 0.5em;
}

/* Für mobile Geräte: Navigation als Dropdown */
.navbar-toggle {
  display: none;
  cursor: pointer;
}

.navbar-toggle .navbar-toggle-icon {
  font-size: 1.5em;
  color: white;
}

/* Standard Navbar-Links (für größere Bildschirme) */
.navbar-links {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile Ansicht: Versteckt die Links standardmäßig */
.navbar-links.active {
  display: block;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-toggle {
    display: block; /* Zeigt das Hamburger-Menü an */
  }

  .navbar-brand h1 {
    font-size: 1.2em;
  }

  /* Standard Navbar-Links (für größere Bildschirme) */
  .navbar-links {
    display: none; /* Versteckt die Links standardmäßig */
    flex-direction: column;
    width: 100%;
    background-color: #333;
  }

  .navbar-user {
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .container {
    padding: 10px;
  }

  table {
    font-size: 0.9em;
  }

  .navbar {
    padding: 10px;
  }

  th,
  td {
    padding: 5px;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }

  #complete-button {
    font-size: 1em;
    padding: 8px 16px;
  }

  .dropdown-button {
    width: 100%;
  }

  .dropdown-content {
    flex-direction: column;
    width: 100%;
  }

  .dropdown-content .row {
    flex-direction: column;
  }

  .dropdown-content .cell {
    width: 100%;
    padding: 5px;
  }

  .navbar-links.active {
    display: flex; /* Zeigt die Links beim Klicken auf das Hamburger-Menü */
  }

  .navbar-links li {
    width: 100%;
    text-align: center;
  }

  .navbar-links a {
    padding: 10px;
    display: block;
    color: white;
    text-decoration: none;
    background-color: #444;
  }

  .navbar-links a:hover {
    background-color: #555;
  }
}

.date-row {
  width: 10%;
}

@media (max-width: 480px) {
  .navbar {
    padding: 5px;
  }

  .navbar-brand h1 {
    font-size: 1em;
  }

  .navbar-links {
    gap: 5px;
  }

  .navbar-links a {
    font-size: 0.9em;
  }

  .navbar-user {
    margin-top: 5px;
    gap: 5px;
  }

  main {
    padding: 20px 0px;
  }

  table {
    font-size: 0.8em;
  }

  th,
  td {
    padding: 4px;
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1em;
  }

  #complete-button {
    font-size: 0.9em;
    padding: 5px 10px;
  }
}

/* Stile für die Buttons */
.buttons-container {
  text-align: center;
  margin-top: 20px;
}

.green-button {
  background-color: green;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
}

.black-button {
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.blue-button {
  background-color: blue;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}
.blue-button:hover {
  background-color: darkblue;
}

.green-button:hover,
.black-button:hover {
  opacity: 0.9;
}

.status-green {
  background-color: green;
  color: white;
  font-weight: bold;
  text-align: center;
}

.status-orange {
  background-color: orange;
  color: white;
  font-weight: bold;
  text-align: center;
}

#updates-feed {
  margin: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.update {
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

.update:last-child {
  border-bottom: none;
}

.back-button {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 10px 20px;
  cursor: pointer;
  margin-bottom: 20px;
}

.back-button:hover {
  background-color: #e0e0e0;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.action-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.action-button.orange {
  background-color: orange;
}

.action-button.orange:hover {
  background-color: #e69500;
}

.action-button.green {
  background-color: green;
}

.action-button.green:hover {
  background-color: #006400;
}
.ellipsis {
  max-width: 150px; /* Adjust as needed */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
