h1 {
  color: #bea25a !important;
  font-weight: bold;
}

h1 > div {
  margin-bottom: 5px;
  margin-left: 5px;
}

button {
  background-color: #bba562;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

button:hover {
  background-color: #a08457;
  color: white;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.checkbox-input {
  width: 18px !important;
  height: 18px !important;
  margin-right: 10px !important;
  cursor: pointer !important;
  accent-color: #c9a961 !important;
  display: block !important;
  opacity: 1 !important;
  position: relative !important;
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
}

.checkbox-container {
  display: flex !important;
  align-items: center !important;
  margin: 15px 0 !important;
  visibility: visible !important;
}

.checkbox-label {
  font-size: 14px;
  color: #555;
  cursor: pointer;
  user-select: none;
}

h2 {
  font-size: 15pt;
  font-weight: 100;
  color: grey !important;
  font-weight: bold;
  font-variant: normal !important;
  text-align: left;
  font-style: italic !important;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #bea25a !important;
  font-weight: normal;
  font-variant: normal !important;
  text-align: left;
}

a:link {
  text-decoration: underline;
  color: #bea25a;
}

a:visited {
  color: #bea25a;
}

.btn-primary {
  background: #bea25a;
}

.ui-pg-button .ui-pg-div .ui-icon-arrowthick-1-s {
  display: none;
}
.ui-pg-button .ui-pg-div .ui-pg-button-text {
  color: #bea25a;
  text-decoration: underline;
}

.ui-pg-button:hover {
  background: inherit;
}

.jqgfirstrow td {
  background: #bea25a !important;
}

.grid-link {
  background-color: transparent;
  color: #bea25a;
  text-decoration: underline;
  border: none;
  cursor: pointer;
}

.grid-link:hover {
  text-decoration: none;
}

.content .menu li a {
  display: block;
  position: relative;
  color: #bea25a !important;
  white-space: nowrap;
  z-index: 10;
}
.content .menu .menuSelected > a {
  color: #bea25a;
  font-weight: bold;
}
.content .menu li a:active {
  color: #bea25a;
}
.content .menu li a:hover {
  font-weight: bold;
  color: #bea25a;
}
.content .menu li a.selected,
.content .menu li a:hover {
  color: #bea25a;
  font-weight: bold;
}
.content .content-button a, .content .content-button-top a {
  background-color: rgb(210, 191, 141);
}

.header {
  background-color: rgba(190, 162, 90, 0.69);
}
.header .account-menu > ul {
  background-color: #bea25a;
}
.header .account-menu > ul > li > ul {
  background-color: #bea25a;
}
.header .menu > ul > li > ul {
  background-color: #bea25a;
}
.header .account-menu {
  background-color: #bea25a;
}

.footer {
  color: white;
  background-color: rgba(190, 162, 90, 0.69);
}

.action-icon-set {
  color: #bea25a;
}

.portalnews-entry .sidebar-title {
  color: #bea25a;
}
.portalnews-entry .title {
  color: grey;
}

.symbol-add {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/MehrPlus.png") no-repeat bottom right;
}

.symbol-close {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/SchliessenPopUp.png") no-repeat bottom right;
}

.symbol-edit {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/EditIcon.png") no-repeat bottom right;
}

.symbol-info {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/InfoIcon.png") no-repeat bottom right;
}

.symbol-calendar {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/Kalender.png") no-repeat bottom right;
}

.symbol-lense {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/Lupe.png") no-repeat bottom right;
}

.symbol-collapsedown {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/Dropdownpfeil.png") no-repeat bottom right;
}

.symbol-collapseup {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/Dropdownpfeil.png") no-repeat top left;
  transform: rotate(180deg);
}

.symbol-excel {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/ExcelIcon.png") no-repeat bottom right;
}

.symbol-arrow-left {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/Arrow.png") no-repeat bottom left;
}

.symbol-arrow-right {
  width: 20px;
  height: 15px;
  display: inline-block;
  cursor: pointer;
  background: url("/Content/img/GGIcons/Arrow.png") no-repeat bottom right;
  transform: rotate(180deg);
}

p > a:link {
  font-size: inherit;
  display: inline-block;
}

/*Definitions for the customized dropdowns*/
select {
  background-image: url("/Content/img/GGIcons/Dropdownpfeil.png") !important;
}

input[type=checkbox]:checked + input[type=hidden] + label {
  background: url("/Content/img/GGIcons/Checkboxaktiv.png") bottom left no-repeat !important;
}

.portal-pop-up .content .title {
  border-bottom: 1px solid #bea25a;
  color: #bea25a !important;
}

label {
  color: #bea25a;
}

input {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: #d4a574 !important;
}

.ui-jqgrid .ui-jqgrid-labels th.ui-th-column {
  background-color: #f0f0f1;
}

.ui-jqgrid-htable .ui-th-column {
  color: #000000 !important;
}

.chart-panel {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.chart-panel .chart-container {
  padding: 20px 25px;
  position: relative;
}

.gg-table {
  width: 100%;
  border-collapse: collapse;
}
.gg-table > tbody > tr:first-child > th:first-child {
  border-top-left-radius: 8px;
}
.gg-table > tbody > tr:first-child > th:last-child {
  border-top-right-radius: 8px;
}
.gg-table > tbody > tr:last-child > td:first-child {
  border-bottom-left-radius: 8px;
}
.gg-table > tbody > tr:last-child > td:last-child {
  border-bottom-right-radius: 8px;
}
.gg-table > tbody > tr {
  border-bottom: solid 1px #F1F1F1;
}
.gg-table > tbody > tr:last-child {
  border-bottom: none;
}
.gg-table > tbody > tr > th, .gg-table > tbody > tr > td {
  padding: 8px 8px 8px 8px;
}
.gg-table > tbody > tr > th {
  font-weight: normal;
  background-color: #F1F1F1;
}
.gg-table > tbody > tr > td {
  background-color: #FFFFFF;
}
.gg-table > tbody > tr:hover:not(.no-hover) > td {
  background-color: #F9FAFB;
}

@media (max-width: 768px) {
  .gg-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .gg-table th,
  .gg-table td {
    min-width: 120px;
    padding: 8px 4px;
    font-size: 14px;
  }
  .pending-orders-list-row-details {
    white-space: normal;
  }
  .pending-orders-list-row-details td {
    min-width: unset;
  }
  .simple-card {
    padding: 15px;
    margin-bottom: 15px;
  }
  .simple-card .row {
    margin: 0;
  }
  .simple-card .col-lg-3 {
    padding: 2px 0;
    font-size: 14px;
  }
  .simple-card .col-lg-3:nth-child(odd) {
    font-weight: normal;
    color: #666;
  }
  .simple-card .col-lg-3:nth-child(even) {
    margin-bottom: 8px;
  }
}
@media (max-width: 480px) {
  .gg-table th,
  .gg-table td {
    min-width: 100px;
    padding: 6px 3px;
    font-size: 12px;
  }
  .simple-card {
    padding: 10px;
  }
  .simple-card .col-lg-3 {
    font-size: 13px;
  }
}
.simple-card {
  background-color: #f7f7f7;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
}

.info-icon-container {
  position: relative;
  cursor: pointer;
}

.info-icon {
  color: #9a8957;
  transition: color 0.2s ease;
}

.info-icon:hover {
  color: #d0b565;
}

.faq-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #333;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  border-radius: 6px;
  text-align: left;
  min-width: 180px;
  max-width: 280px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.faq-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #333;
}

.info-icon-container:hover .faq-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .chart-legend-sm,
  .chart-legend-sm table,
  .chart-legend-sm table tr,
  .chart-legend-sm table td,
  .chart-legend-sm table th {
    font-size: 10px !important;
  }
}

.reportTable th {
  background-color: #F1F1F1 !important;
  color: black !important;
  font-weight: normal !important;
}

.custom-dropdown {
  position: relative;
  display: block;
  width: 50% !important;
  min-width: 50% !important;
  margin-right: 12px;
}

.dropdown-button {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 44px 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  outline: none;
  min-width: 160px;
  position: relative;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 20px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-align: left;
}

.dropdown-button:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: black;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.dropdown-button:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: #ffffff;
}

.dropdown-button.active {
  background-color: #f3f4f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-option {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: 0px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background-color: #fcf3e2;
  color: black;
}

.dropdown-option.selected {
  background-color: #bba463;
  color: #ffffff;
}

.dropdown-option.selected:hover {
  background-color: #cfa777;
  color: #ffffff;
}

.dropdown-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.dropdown-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  flex-wrap: wrap;
  width: 100%;
}

.dropdown-button {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 44px 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  outline: none;
  min-width: 160px;
  width: 100%;
  max-width: none;
  position: relative;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 20px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-align: left;
  box-sizing: border-box;
}