#module-ps_customreport-customreport #inner-wrapper {
  max-width: 95%;
}

#module-ps_customreport-customreport #wrapper {
  box-shadow: inherit;
}

#module-ps_customreport-customreport #iqitmegamenu-horizontal {
  margin: 0;
  padding: 0;
}

.report-container {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #555;
}

.report-header {
  margin-bottom: 24px;
}

.report-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #363a41;
  margin: 0 0 16px;
  padding: 0;
}

.report-form {
  background: #fff;
  border: 1px solid #d6dde1;
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.report-form > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-form label {
  font-size: 0.813rem;
  font-weight: 600;
  color: #363a41;
  margin: 0;
}

.report-form .input-wrapper {
  min-width: 160px;
}

.report-form input,
.report-form select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #555;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.report-form input:focus,
.report-form select:focus {
  border-color: #2fb5d2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(47, 181, 210, 0.15);
}

.report-form button {
  padding: 8px 22px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Open Sans', Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, opacity 0.2s;
}

.report-form button[type="submit"],
.report-form button:not([type="button"]) {
  background: #2fb5d2;
  color: #fff;
}

.report-form button[type="submit"]:hover,
.report-form button:not([type="button"]):hover {
  background: #259dbb;
}

.report-form button[type="button"] {
  background: #363a41;
  color: #fff;
}

.report-form button[type="button"]:hover {
  background: #4a4f58;
}

.report-body {
  background: #fff;
  border: 1px solid #d6dde1;
  border-radius: 5px;
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.report-body > p {
  padding: 20px;
  margin: 0;
  font-style: italic;
  color: #999;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.813rem;
}

.report-table tbody tr {
  position: relative;
  transform-origin: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.report-table thead {
  background: #f6f8f9;
}

.report-table th {
  padding: 10px 12px;
  font-weight: 600;
  color: #363a41;
  border-bottom: 2px solid #d6dde1;
  white-space: nowrap;
  text-align: left;
  font-size: 0.813rem;
}

.report-table th > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-table th.col-sortable {
  cursor: pointer;
  user-select: none;
}

.report-table th.col-sortable:hover {
  background: #eef2f4;
}

.report-table th.col-type-NUMERIC > div,
.report-table th.col-type-CURRENCY > div {
  justify-content: flex-end;
}

.report-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eef2f4;
  color: #555;
  vertical-align: top;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease, font-size 0.18s ease;
}

.report-table td.col-type-NUMERIC,
.report-table td.col-type-CURRENCY {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.report-table tbody tr:hover td {
  background: #f0f9fb;
  font-size: 0.9rem;
}

.report-table tbody tr:hover {
  z-index: 2;
  transform: scale(1.015);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.report-table tbody tr.hovery td {
  background: #e3f2f5;
}

.report-table tbody tr:last-child td {
  border-bottom: none;
}

.report-table tbody tr.sum-row td {
  font-weight: 600;
  color: #363a41;
  border-top: 2px solid #d6dde1;
  background: #fafbfc;
}

.report-table th > div i {
  font-size: 0.75rem;
  color: #ccc;
}

.report-table th > div i.NONE {
  display: block;
}

.report-table th.NONE > div i.NONE {
  display: block;
}

.report-table th.NONE > div i.ASC,
.report-table th.NONE > div i.DESC {
  display: none;
}

.report-table th.ASC > div i.ASC {
  display: block;
  color: #2fb5d2;
}

.report-table th.ASC > div i.NONE,
.report-table th.ASC > div i.DESC {
  display: none;
}

.report-table th.DESC > div i.DESC {
  display: block;
  color: #2fb5d2;
}

.report-table th.DESC > div i.NONE,
.report-table th.DESC > div i.ASC {
  display: none;
}

@media (max-width: 768px) {
  .report-form {
    flex-direction: column;
    padding: 16px;
  }

  .report-form .input-wrapper {
    width: 100%;
    min-width: 0;
  }

  .report-form input,
  .report-form select {
    width: 100%;
  }

  .report-header h1 {
    font-size: 1.25rem;
  }
}

#auswertungTable {
  font-size: 0.813rem;
}

#auswertungTable tbody tr {
  position: relative;
  transform-origin: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#auswertungTable th {
  background: #f6f8f9;
  padding: 10px 12px;
  font-weight: 600;
  color: #363a41;
  border-bottom: 2px solid #d6dde1;
  white-space: nowrap;
}

#auswertungTable td {
  padding: 8px 12px;
  border-bottom: 1px solid #eef2f4;
  color: #555;
  transition: background 0.18s ease, color 0.18s ease, font-size 0.18s ease;
}

#auswertungTable tbody tr:hover td {
  background: #f0f9fb;
  font-size: 0.9rem;
}

#auswertungTable tbody tr:hover {
  z-index: 2;
  transform: scale(1.015);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

#module-ps_customreport-customreport .form-group {
  margin-bottom: 16px;
}

#module-ps_customreport-customreport .form-group label {
  font-weight: 600;
  color: #363a41;
  font-size: 0.875rem;
}

#module-ps_customreport-customreport .form-group .form-control {
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #555;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#module-ps_customreport-customreport .form-group .form-control:focus {
  border-color: #2fb5d2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(47, 181, 210, 0.15);
}

#module-ps_customreport-customreport .btn-primary {
  background: #2fb5d2;
  border: none;
  border-radius: 4px;
  padding: 8px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background-color 0.2s;
}

#module-ps_customreport-customreport .btn-primary:hover {
  background: #259dbb;
}
