﻿:root {
  --color-primary: #4A6FA5;
  --color-secondary: #6C757D;
  --color-accent: #E74C3C;
  --color-success: #28A745;
  --color-danger: #DC3545;
  --color-warning: #FFC107;
  --color-info: #17A2B8;
  --color-header-bg: #4A6FA5;
  --color-header-text: #FFFFFF;
  --color-header-main-bg: #FFFFFF;
  --color-header-main-text: #212529;
  --color-header-main-text-a: #212529;
  --color-sidebar-bg: #2C3E50;
  --color-sidebar-text: #ECF0F1;
  --color-sidebar-hover: rgba(255, 255, 255, 0.1);
  --color-sidebar-active: rgba(255, 255, 255, 0.2);
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F8F9FA;
  --color-bg-light: #F5F5F5;
  --color-bg-dark: #343A40;
  --color-text-primary: #212529;
  --color-text-secondary: #6C757D;
  --color-text-muted: #999999;
  --color-text-light: #FFFFFF;
  --color-border: #DEE2E6;
  --color-border-light: #E9ECEF;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-family-heading: 'Segoe UI Semibold', 'Segoe UI', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --line-height-base: 1.5;
}
html {
  overflow-y: scroll;
}
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--color-bg-secondary);
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .page {
    flex-direction: row;
  }
}
h1 {
  font-size: 1.25rem;
}
#blazor-error-ui {
  display: none;
}
.sidebar {
  background-color: var(--color-sidebar-bg);
  color: var(--color-sidebar-text);
  width: 100%;
  position: relative;
  z-index: 1000;
}
@media (min-width: 768px) {
  .sidebar {
    width: 230px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
  }
}
.sidebar .top-row {
  background-color: var(--color-header-bg);
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar .top-row .container-fluid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 0;
}
.sidebar .top-row .navbar-brand {
  color: var(--color-header-text);
  font-size: var(--font-size-xl);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  gap: var(--spacing-sm);
  height: 100%;
  width: 100%;
  padding: var(--spacing-sm) 0;
  align-items: flex-start;
  justify-content: start;
  /*padding-left: 25px;*/
}
.sidebar .top-row .navbar-brand:hover {
  color: var(--color-header-text);
  opacity: 0.9;
}
.sidebar .top-row .navbar-brand img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}
.sidebar .top-row .navbar-brand span {
  line-height: 1;
}
.sidebar .navbar-toggler {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  appearance: none;
  background: transparent;
  border: none;
  opacity: 0;
  z-index: 1002;
}
@media (min-width: 768px) {
  .sidebar .navbar-toggler {
    display: none;
  }
}
.sidebar .navbar-toggler:checked ~ .nav-scrollable {
  display: block;
}
.sidebar .navbar-toggler:checked ~ .navbar-toggler-label .navbar-toggler-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.sidebar .navbar-toggler:checked ~ .navbar-toggler-label .navbar-toggler-icon span:nth-child(2) {
  opacity: 0;
}
.sidebar .navbar-toggler:checked ~ .navbar-toggler-label .navbar-toggler-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.sidebar .navbar-toggler-label {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .sidebar .navbar-toggler-label {
    display: none;
  }
}
.sidebar .navbar-toggler-label .navbar-toggler-icon {
  position: relative;
  width: 1.5rem;
  height: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sidebar .navbar-toggler-label .navbar-toggler-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-header-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.nav-scrollable {
  display: none;
  /*
        &.nav-flex {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: calc(100% - 100px);
        }*/
}
@media (min-width: 768px) {
  .nav-scrollable {
    display: block;
  }
}
.nav-scrollable nav {
  padding: var(--spacing-md) 0;
}
.nav-scrollable nav .nav-item {
  padding: 0 var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}
.nav-scrollable nav .nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-sidebar-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  width: 100%;
  transition: background-color var(--transition-fast);
}
.nav-scrollable nav .nav-item .nav-link:hover {
  background-color: var(--color-sidebar-hover);
}
.nav-scrollable nav .nav-item .nav-link.active {
  background-color: var(--color-sidebar-active);
  font-weight: 600;
}
.nav-scrollable nav .nav-item .nav-link span[class*="bi-"] {
  font-size: 1.1rem;
}
.nav-scrollable nav .nav-item button.nav-link {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.nav-scrollable nav .nav-item form {
  width: 100%;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--color-bg-secondary);
}
main .top-row {
  border-bottom: 1px solid var(--color-border);
  padding: 0 var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 60px;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-header-main-bg);
  color: var(--color-header-main-text);
}
main .top-row a,
main .top-row .btn-link {
  color: var(--color-header-main-text-a);
  text-decoration: none;
  margin-left: var(--spacing-lg);
  font-size: var(--font-size-sm);
}
main .top-row a:hover,
main .top-row .btn-link:hover {
  color: var(--color-text-primary);
}
@media (max-width: 767px) {
  main .top-row {
    display: none;
  }
}
main article.content {
  padding: var(--spacing-xl);
  flex: 1;
}
@media (max-width: 767px) {
  main article.content {
    padding: var(--spacing-md);
  }
}
@media (max-width: 767px) {
  .top-row {
    justify-content: space-between;
  }
  .top-row a,
  .top-row .btn-link {
    margin-left: 0 !important;
  }
}
.blazor-error-ui {
  display: none;
}
.card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}
.card .card-header {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-bottom: none;
}
.card .card-body {
  padding: var(--spacing-lg);
}
@media (max-width: 767px) {
  .card .card-body {
    padding: var(--spacing-md);
  }
}
.form-section {
  margin-bottom: var(--spacing-lg);
}
.form-section .section-title {
  color: var(--color-text-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}
.form-section .form-group {
  margin-bottom: var(--spacing-md);
}
.form-section .form-group label {
  display: block;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
}
.form-section .form-group label .required {
  color: var(--color-danger);
  margin-left: var(--spacing-xs);
}
.form-section .form-group .form-control {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast);
  background: var(--color-bg-primary);
}
.form-section .form-group .form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-section .form-group .form-control.invalid,
.form-section .form-group .form-control:invalid {
  border-color: var(--color-danger);
  background-color: #fff5f5;
}
.form-section .form-group .form-control.valid {
  border-color: var(--color-success);
}
.form-section .form-group select.form-control {
  cursor: pointer;
}
.form-section .form-group .form-check {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border: none;
  background: transparent;
}
.form-section .form-group .form-check input[type="checkbox"],
.form-section .form-group .form-check input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  margin: 0;
  accent-color: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: white;
  position: relative;
}
.form-section .form-group .form-check input[type="checkbox"]:checked,
.form-section .form-group .form-check input[type="radio"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  /*  &::after {
                        content: '';
                        position: absolute;
                        left: 4px;
                        top: 1px;
                        width: 5px;
                        height: 10px;
                        border: solid white;
                        border-width: 0 2px 2px 0;
                        transform: rotate(45deg);
                    }*/
}
.form-section .form-group .form-check input[type="checkbox"]:focus,
.form-section .form-group .form-check input[type="radio"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.form-section .form-group .form-check input[type="checkbox"]:hover,
.form-section .form-group .form-check input[type="radio"]:hover {
  border-color: var(--color-primary);
}
.form-section .form-group .form-check label {
  margin-bottom: 0;
  cursor: pointer;
  flex: 1;
  font-weight: 400;
}
.form-section .form-group .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}
@media (max-width: 767px) {
  .form-section .form-group .form-row {
    grid-template-columns: 1fr;
  }
}
.form-section .validation-message {
  color: var(--color-danger);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
  display: block;
  font-weight: 500;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}
.btn.btn-primary:hover:not(:disabled) {
  background-color: #3d5a85;
}
.btn.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}
.btn.btn-secondary:hover:not(:disabled) {
  background-color: #5a6268;
}
.btn.btn-outline {
  background-color: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}
.btn.btn-outline:hover:not(:disabled) {
  background-color: var(--color-bg-light);
  border-color: var(--color-text-secondary);
}
.btn.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}
.btn.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
}
.button-group {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: flex-end;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
}
@media (max-width: 767px) {
  .button-group {
    flex-direction: column;
  }
  .button-group .btn {
    width: 100%;
  }
}
.summary-section {
  background-color: var(--color-bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
}
.summary-section .summary-title {
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}
.summary-section .summary-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.summary-section .summary-row:last-child {
  border-bottom: none;
}
.summary-section .summary-row .label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-align: left;
}
.summary-section .summary-row .value {
  color: var(--color-text-primary);
  font-weight: 500;
  text-align: left;
}
@media (max-width: 767px) {
  .summary-section .summary-row {
    grid-template-columns: 100px 1fr;
  }
}
.alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
  border-left: 3px solid;
}
.alert.alert-success {
  background-color: #d4edda;
  border-color: var(--color-success);
  color: #155724;
}
.alert.alert-danger {
  background-color: #f8d7da;
  border-color: var(--color-danger);
  color: #721c24;
}
.alert.alert-info {
  background-color: #e3f2fd;
  border-color: var(--color-info);
  color: #014361;
}
.loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/*schwarz blau grün*/
.vj2020,
.vj2023,
.vj2026,
.vj2029,
.vj2032,
.vj2035 {
  --knz-color: #0A0A0A;
}
.vj2021,
.vj2024,
.vj2027,
.vj2030,
.vj2033,
.vj2036 {
  --knz-color: #2A6EBB;
}
.vj2022,
.vj2025,
.vj2028,
.vj2031,
.vj2034,
.vj2037 {
  --knz-color: #007a33;
}
.order-wizard {
  margin: 0 auto var(--spacing-xl) auto;
  max-width: 800px;
  background: var(--color-bg-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.order-wizard .wizard-steps {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}
.order-wizard .wizard-steps::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-border);
  z-index: 1;
}
.order-wizard .wizard-steps .step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}
.order-wizard .wizard-steps .step .step-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
  transition: all var(--transition-normal);
}
.order-wizard .wizard-steps .step .step-label {
  display: block;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 400;
}
.order-wizard .wizard-steps .step.completed .step-circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}
.order-wizard .wizard-steps .step.completed .step-label {
  color: var(--color-text-primary);
}
.order-wizard .wizard-steps .step.active .step-circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-weight: 700;
}
.order-wizard .wizard-steps .step.active .step-label {
  color: var(--color-text-primary);
  font-weight: 600;
}
.order-wizard ~ .card,
.order-summary-page {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.address-section .customer-type-toggle {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}
@media (max-width: 767px) {
  .address-section .customer-type-toggle {
    flex-direction: column;
  }
}
.address-section .customer-type-toggle .type-option {
  flex: 1;
  padding: var(--spacing-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  background-color: var(--color-bg-primary);
}
.address-section .customer-type-toggle .type-option:hover {
  border-color: var(--color-primary);
}
.address-section .customer-type-toggle .type-option.active {
  border-color: var(--color-primary);
  background-color: var(--color-bg-light);
}
.address-section .customer-type-toggle .type-option.active .type-label {
  color: var(--color-primary);
  font-weight: 600;
}
.address-section .customer-type-toggle .type-option .type-icon {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}
.address-section .customer-type-toggle .type-option .type-label {
  display: block;
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  font-weight: 400;
}
.address-section .customer-type-toggle .type-option input[type="radio"],
.address-section .customer-type-toggle .type-option input[type="checkbox"] {
  display: none;
}
.address-section .address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}
.address-section .address-grid .address-row-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-md);
}
@media (max-width: 767px) {
  .address-section .address-grid .address-row-2 {
    grid-template-columns: 1fr;
  }
}
.address-section .address-grid .address-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}
@media (max-width: 767px) {
  .address-section .address-grid .address-row-3 {
    grid-template-columns: 1fr;
  }
}
.address-section .address-grid .address-row-zip-city {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--spacing-md);
}
@media (max-width: 767px) {
  .address-section .address-grid .address-row-zip-city {
    grid-template-columns: 1fr 2fr;
  }
}
.order-summary-page {
  max-width: 800px;
  margin: 0 auto;
}
.order-summary-page .summary-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}
.order-summary-page .summary-header h1 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  /*  font-size: 1.75rem;*/
}
.order-summary-page .summary-header p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
}
.order-summary-page .summary-card {
  margin-bottom: var(--spacing-lg);
}
.order-summary-page .confirmation-checkbox {
  background-color: var(--color-bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.order-summary-page .confirmation-checkbox .form-check {
  border: none;
  padding: var(--spacing-sm);
}
.order-summary-page .confirmation-checkbox .form-check input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
}
.order-summary-page .confirmation-checkbox .form-check label {
  font-size: var(--font-size-base);
  font-weight: 500;
}
.success-page {
  text-align: center;
  padding: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto;
}
.success-page .success-icon {
  font-size: 4rem;
  color: var(--color-success);
  margin-bottom: var(--spacing-lg);
}
.success-page h1 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  /* font-size: 1.75rem;*/
}
.success-page .order-number {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-weight: 700;
  margin: var(--spacing-md) 0;
  padding: var(--spacing-md);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 1px solid var(--color-border);
}
.bestellungen-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.bestellungen-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.bestellungen-page .page-header h1 {
  margin: 0;
  /* font-size: 2rem;*/
  color: var(--primary-color);
}
.bestellungen-page .loading-container {
  text-align: center;
  padding: 4rem 2rem;
}
.bestellungen-page .loading-container .loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
.bestellungen-page .empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.bestellungen-page .empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.bestellungen-page .empty-state h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.bestellungen-page .empty-state p {
  color: var(--text-light);
  margin-bottom: 2rem;
}
.bestellungen-page .bestellungen-filter {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.bestellungen-page .bestellungen-filter .filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bestellungen-page .bestellungen-filter .filter-group label {
  font-weight: 600;
  margin-bottom: 0;
}
.bestellungen-page .bestellungen-filter .filter-group .form-select {
  min-width: 200px;
}
.bestellungen-page .bestellungen-filter .filter-info {
  color: var(--text-light);
  font-size: 0.9rem;
}
.bestellungen-page .bestellungen-liste {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #dee2e6;
}
.bestellungen-page .bestellungen-liste .bestellung-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}
.bestellungen-page .bestellungen-liste .bestellung-card .card-body {
  padding: 1.5rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-header h5 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-header h5 .status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 1rem;
  margin-left: 0.5rem;
  font-weight: 500;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-header .text-muted {
  font-size: 0.875rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details {
  font-size: 0.95rem;
  line-height: 1.6;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details .row {
  margin-bottom: 0.5rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details small.text-muted {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6c757d;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details strong {
  color: var(--text-color);
}
.bestellungen-page .bestellungen-liste .bestellung-card .kennzeichen-preview {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.25rem;
  margin-top: 1rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card .kennzeichen-preview small {
  font-size: 0.85rem;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-footer a {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.15s ease;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-footer a:hover {
  color: var(--secondary-color);
  text-decoration: underline !important;
}
.bestellungen-page .bestellungen-liste .bestellung-card .bestellung-footer a i {
  font-size: 0.9rem;
  margin-left: 0.25rem;
}
.bestellung-details-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.bestellung-details-page .page-header {
  margin-bottom: 2rem;
}
.bestellung-details-page .page-header h1 {
  margin: 1rem 0;
  /* font-size: 2rem;*/
  color: var(--primary-color);
}
.bestellung-details-page .page-header .status-badge-large {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
}
.bestellung-details-page .page-header .d-flex.align-items-center.gap-3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bestellung-details-page .details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.bestellung-details-page .card {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.bestellung-details-page .card .card-header {
  padding: 1rem 1.5rem;
  /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bestellung-details-page .card .card-header h3 {
  margin: 0;
  font-size: 1.2rem;
}
.bestellung-details-page .card .card-header .header-actions {
  display: flex;
  gap: 0.5rem;
}
.bestellung-details-page .card .card-body {
  padding: 1.5rem;
}
.bestellung-details-page .card .card-body .detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}
.bestellung-details-page .card .card-body .detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.bestellung-details-page .card .card-body .detail-row .label {
  font-weight: 600;
  color: var(--text-light);
}
.bestellung-details-page .card .card-body .detail-row .value {
  text-align: right;
  color: var(--text-color);
}
.bestellung-details-page .timeline {
  position: relative;
  padding-left: 2rem;
}
.bestellung-details-page .timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}
.bestellung-details-page .timeline .timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.bestellung-details-page .timeline .timeline-item:last-child {
  margin-bottom: 0;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker {
  position: absolute;
  left: -1.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #dee2e6;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-neu {
  background-color: #3498db;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-inbearbeitung {
  background-color: #f39c12;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-produziert {
  background-color: #9b59b6;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-versandbereit {
  background-color: #1abc9c;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-versendet {
  background-color: #27ae60;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-zugestellt {
  background-color: #16a085;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-abgeschlossen {
  background-color: #95a5a6;
}
.bestellung-details-page .timeline .timeline-item .timeline-marker.status-storniert {
  background-color: #e74c3c;
}
.bestellung-details-page .timeline .timeline-item .timeline-content .timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.bestellung-details-page .timeline .timeline-item .timeline-content .timeline-header .timeline-status {
  font-weight: 600;
  color: var(--text-color);
}
.bestellung-details-page .timeline .timeline-item .timeline-content .timeline-header .timeline-date {
  font-size: 0.9rem;
  color: var(--text-light);
}
.bestellung-details-page .timeline .timeline-item .timeline-content .timeline-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}
.bestellung-details-page .kennzeichen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 1rem;
}
.bestellung-details-page .kennzeichen-grid .kennzeichen-item {
  text-align: center;
}
.bestellung-details-page .kennzeichen-grid .kennzeichen-item .kennzeichen-plate {
  background: #fff;
  color: var(--knz-color);
  padding: 0.3rem;
  border-radius: 8px;
  border-color: var(--knz-color);
  border-width: 4px;
  border-style: solid;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.bestellung-details-page .kennzeichen-grid .kennzeichen-item .kennzeichen-status {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}
.bestellung-details-page .versandpaket-item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.bestellung-details-page .versandpaket-item:last-child {
  margin-bottom: 0;
}
.bestellung-details-page .versandpaket-item .paket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}
.bestellung-details-page .versandpaket-item .paket-header .paket-tracking {
  font-size: 0.9rem;
  color: var(--text-light);
}
.bestellung-details-page .versandpaket-item .paket-details .detail-row {
  border-bottom: 1px solid #e9ecef;
}
.bestellungen-page,
.vermittler-page {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}
.bestellungen-page .page-header,
.vermittler-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.bestellungen-page .page-header h1,
.vermittler-page .page-header h1 {
  margin: 0;
  color: var(--primary-color);
}
.bestellungen-page .page-header .header-actions,
.vermittler-page .page-header .header-actions {
  display: flex;
  gap: 0.5rem;
}
.bestellungen-page .admin-filters .filter-info,
.vermittler-page .admin-filters .filter-info {
  font-size: 1rem;
  color: var(--text-color);
}
.bestellungen-page .admin-filters .filter-info strong,
.vermittler-page .admin-filters .filter-info strong {
  color: var(--primary-color);
}
.bestellungen-page .stats-grid,
.vermittler-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 1200px) {
  .bestellungen-page .stats-grid,
  .vermittler-page .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .bestellungen-page .stats-grid,
  .vermittler-page .stats-grid {
    grid-template-columns: 1fr;
  }
}
.bestellungen-page .stats-grid .stat-card,
.vermittler-page .stats-grid .stat-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bestellungen-page .stats-grid .stat-card:hover,
.vermittler-page .stats-grid .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.bestellungen-page .stats-grid .stat-card .stat-icon,
.vermittler-page .stats-grid .stat-card .stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.bestellungen-page .stats-grid .stat-card .stat-icon.neu,
.vermittler-page .stats-grid .stat-card .stat-icon.neu {
  background: linear-gradient(135deg, #3498db, #2980b9);
}
.bestellungen-page .stats-grid .stat-card .stat-icon.bearbeitung,
.vermittler-page .stats-grid .stat-card .stat-icon.bearbeitung {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}
.bestellungen-page .stats-grid .stat-card .stat-icon.versendet,
.vermittler-page .stats-grid .stat-card .stat-icon.versendet {
  background: linear-gradient(135deg, #27ae60, #229954);
}
.bestellungen-page .stats-grid .stat-card .stat-icon.gesamt,
.vermittler-page .stats-grid .stat-card .stat-icon.gesamt {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}
.bestellungen-page .stats-grid .stat-card .stat-icon.aktiv,
.vermittler-page .stats-grid .stat-card .stat-icon.aktiv {
  background: linear-gradient(135deg, #27ae60, #229954);
}
.bestellungen-page .stats-grid .stat-card .stat-icon.inaktiv,
.vermittler-page .stats-grid .stat-card .stat-icon.inaktiv {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}
.bestellungen-page .stats-grid .stat-card .stat-icon.firma,
.vermittler-page .stats-grid .stat-card .stat-icon.firma {
  background: linear-gradient(135deg, #3498db, #2980b9);
}
.bestellungen-page .stats-grid .stat-card .stat-content,
.vermittler-page .stats-grid .stat-card .stat-content {
  flex: 1;
  min-width: 0;
}
.bestellungen-page .stats-grid .stat-card .stat-content .stat-label,
.vermittler-page .stats-grid .stat-card .stat-content .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bestellungen-page .stats-grid .stat-card .stat-content .stat-value,
.vermittler-page .stats-grid .stat-card .stat-content .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1;
}
.bestellungen-page .admin-table,
.vermittler-page .admin-table {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.bestellungen-page .admin-table thead,
.vermittler-page .admin-table thead {
  background: #f8f9fa;
}
.bestellungen-page .admin-table thead th,
.vermittler-page .admin-table thead th {
  font-weight: 600;
  color: var(--text-color);
  border-bottom: 2px solid #dee2e6;
  padding: 1rem 0.75rem;
  white-space: nowrap;
  vertical-align: middle;
}
.bestellungen-page .admin-table tbody tr,
.vermittler-page .admin-table tbody tr {
  transition: background-color 0.2s ease;
}
.bestellungen-page .admin-table tbody tr:hover,
.vermittler-page .admin-table tbody tr:hover {
  background-color: #f8f9fa;
}
.bestellungen-page .admin-table tbody tr.table-secondary,
.vermittler-page .admin-table tbody tr.table-secondary {
  opacity: 0.7;
}
.bestellungen-page .admin-table tbody tr td,
.vermittler-page .admin-table tbody tr td {
  padding: 1rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid #e9ecef;
}
.bestellungen-page .admin-table tbody tr td.text-nowrap,
.vermittler-page .admin-table tbody tr td.text-nowrap {
  white-space: nowrap;
}
.bestellungen-page .admin-table tbody tr td small,
.vermittler-page .admin-table tbody tr td small {
  display: block;
  margin-top: 0.25rem;
}
.bestellungen-page .admin-table .btn-group .btn,
.vermittler-page .admin-table .btn-group .btn {
  padding: 0.375rem 0.75rem;
}
.bestellungen-page .admin-table .btn-group .btn:hover,
.vermittler-page .admin-table .btn-group .btn:hover {
  transform: translateY(-1px);
}
.bestellungen-page .admin-table .btn-group .btn i,
.vermittler-page .admin-table .btn-group .btn i {
  font-size: 0.9rem;
}
.bestellungen-page .section-title,
.vermittler-page .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.show {
  opacity: 1;
}
.modal {
  z-index: 1050;
}
.modal .modal-dialog {
  max-width: 500px;
}
.modal .modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.modal .modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 1.25rem 1.5rem;
}
.modal .modal-header .modal-title {
  font-weight: 600;
  margin: 0;
}
.modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.modal .modal-header .btn-close:hover {
  opacity: 1;
}
.modal .modal-body {
  padding: 1.5rem;
}
.modal .modal-body .form-label {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.modal .modal-body .form-label.fw-bold {
  font-weight: 600;
}
.modal .modal-body .form-control-plaintext {
  padding: 0.375rem 0;
}
.modal .modal-body textarea.form-control {
  resize: vertical;
  min-height: 80px;
}
.modal .modal-footer {
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0 0 8px 8px;
}
.modal .modal-footer .btn {
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}
.modal .modal-footer .btn i {
  margin-right: 0.25rem;
}
.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 1rem;
  text-align: center;
  white-space: nowrap;
}
.status-badge.status-neu {
  background-color: #3498db;
  color: white;
}
.status-badge.status-inbearbeitung {
  background-color: #f39c12;
  color: white;
}
.status-badge.status-produziert {
  background-color: #9b59b6;
  color: white;
}
.status-badge.status-versandbereit {
  background-color: #1abc9c;
  color: white;
}
.status-badge.status-versendet {
  background-color: #16a085;
  color: white;
}
.status-badge.status-zugestellt {
  background-color: #27ae60;
  color: white;
}
.status-badge.status-abgeschlossen {
  background-color: #2ecc71;
  color: white;
}
.status-badge.status-storniert {
  background-color: #e74c3c;
  color: white;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .bestellungen-page {
    padding: 1rem;
  }
  .bestellungen-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    /*  h1 {
                font-size: 1.5rem;
            }*/
  }
  .bestellungen-page .page-header .btn {
    width: 100%;
  }
  .bestellungen-page .bestellungen-filter {
    flex-direction: column;
    align-items: stretch;
  }
  .bestellungen-page .bestellungen-filter .filter-group {
    flex-direction: column;
  }
  .bestellungen-page .bestellungen-filter .filter-group .form-select {
    width: 100%;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card .card-body {
    padding: 1rem;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card .bestellung-header h5 {
    font-size: 1.1rem;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card .bestellung-header h5 .status-badge {
    display: block;
    margin-top: 0.5rem;
    margin-left: 0;
    width: fit-content;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details {
    font-size: 0.9rem;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details .row .col-6 {
    width: 100%;
    margin-bottom: 0.75rem;
  }
  .bestellungen-page .empty-state {
    padding: 3rem 1.5rem;
  }
  .bestellungen-page .empty-state .empty-icon {
    font-size: 3rem;
  }
  .bestellungen-page .empty-state h3 {
    font-size: 1.25rem;
  }
  .bestellung-details-page {
    padding: 1rem;
  }
  .bestellung-details-page .details-grid {
    grid-template-columns: 1fr;
  }
  .bestellung-details-page .kennzeichen-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .admin-bestellungen-page,
  .admin-vermittler-page {
    padding: 1rem;
  }
  .admin-bestellungen-page .page-header,
  .admin-vermittler-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    /* h1 {
                font-size: 1.5rem;
            }*/
  }
}
@media (max-width: 576px) {
  .bestellungen-page {
    padding: 0.5rem;
  }
  .bestellungen-page .page-header {
    /* h1 {
                font-size: 1.25rem;
            }*/
  }
  .bestellungen-page .page-header .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card {
    font-size: 0.85rem;
  }
  .bestellungen-page .bestellungen-liste .bestellung-card .bestellung-details small.text-muted {
    font-size: 0.75rem;
  }
  .bestellung-details-page .card .card-header {
    padding: 0.75rem 1rem;
  }
  .bestellung-details-page .card .card-header h3 {
    font-size: 1rem;
  }
  .bestellung-details-page .card .card-body {
    padding: 1rem;
  }
}
/* ============================================
   Police Wizard Styles
   ============================================ */
/* Police Wizard Container */
.police-wizard {
  max-width: 650px;
  margin: 0 auto 0 0;
  /* Wizard Steps */
}
.police-wizard .wizard-steps {
  background: var(--color-bg-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 15px;
}
.police-wizard .wizard-steps .steps-list {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  flex-wrap: wrap;
}
.police-wizard .wizard-steps .steps-list::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}
.police-wizard .wizard-steps .steps-list .step {
  flex: 1 1 auto;
  min-width: 70px;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 var(--spacing-xs);
}
.police-wizard .wizard-steps .steps-list .step:first-child {
  padding-left: 0px;
}
.police-wizard .wizard-steps .steps-list .step .step-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
  transition: all var(--transition-normal);
}
.police-wizard .wizard-steps .steps-list .step .step-label {
  display: block;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.police-wizard .wizard-steps .steps-list .step.completed .step-circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}
.police-wizard .wizard-steps .steps-list .step.completed .step-label {
  color: var(--color-text-primary);
}
.police-wizard .wizard-steps .steps-list .step.active .step-circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-weight: 700;
  transform: scale(1.1);
}
.police-wizard .wizard-steps .steps-list .step.active .step-label {
  color: var(--color-text-primary);
  font-weight: 600;
}
/* Content Step Styles - Blue Header Sections */
.content-step {
  color: white;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}
.content-step.mb-2 {
  margin-bottom: 2px;
}
.content-step.mt-3 {
  margin-top: 2px;
  background: var(--color-primary);
  color: white;
}
.content-step .question {
  padding: var(--spacing-xs) var(--spacing-xl);
  background: var(--color-primary);
  color: white;
  font-size: var(--font-size-base);
  font-weight: 400;
  margin-bottom: 0;
}
.content-step-header {
  margin-bottom: 0;
}
.content-step-headline {
  padding: var(--spacing-sm) var(--spacing-xl);
  background: var(--color-primary);
  color: white;
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
}
/* Step Container - Vehicle Selection */
.step-container {
  margin-bottom: 0;
  background: transparent;
}
.step-container.step-value-area {
  background: #e8e8e8;
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  transition: background-color var(--transition-fast);
  display: block;
}
.step-container.chkFahrzeugArt {
  cursor: pointer;
}
.step-container.chkFahrzeugArt:hover {
  background-color: #d5d5d5;
}
.step-container.chkFahrzeugArt.active {
  background-color: var(--color-primary);
}
.step-container.chkFahrzeugArt.active .fahrzeug-name {
  color: white !important;
}
.step-container.chkFahrzeugArt.active .fahrzeug-checkbox {
  box-shadow: #fff 0px 0px 1.5px 1.5px;
}
.step-container.chkFahrzeugArt .fahrzeug-selection-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}
.step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-label-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 0 0 auto;
  flex-wrap: nowrap;
}
.step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}
.step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-name {
  color: var(--color-text-primary);
  font-weight: 400;
  font-size: var(--font-size-base);
  white-space: nowrap;
}
.step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-speed {
  width: 180px;
  flex-shrink: 0;
  background-color: white;
  border: 1px solid #ccc;
  padding: 0.375rem 0.75rem;
  font-size: var(--font-size-base);
  margin-top: -7px;
  margin-bottom: -7px;
}
/* Police Step 3: Kunde / Fahrzeug */
.whiteBox {
  background: white;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
h4.blue11 {
  background: var(--color-sidebar-bg);
  margin: -23.5px -23.5px 10px -23.5px;
  padding: 8px 23px;
  font-size: var(--font-size-md);
}
.addressList {
  width: 100%;
}
.rowFirmenName {
  margin-bottom: var(--spacing-md);
}
.hideFirma {
  /* Will be toggled via inline styles based on PrivatFirma selection */
}
.txtCont,
.drpCont {
  position: relative;
}
.ctlCont {
  margin-bottom: var(--spacing-md);
}
.labelCtl {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
}
.labelCtl.colGreen {
  color: #2c5f2d;
}
.sternIsPrivat {
  color: var(--color-danger);
}
.errMsg {
  color: var(--color-danger);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
  display: none;
}
.form-control.is-invalid ~ .errMsg {
  display: block;
}
.mt25 {
  margin-top: 25px;
}
.mr-10 {
  margin-right: 10px;
}
.dPicker {
  /* Date picker specific styles */
}
/* Read-only data display */
.dataLine {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  color: #000;
}
.dataLine:last-child {
  border-bottom: none;
}
.xlable {
  font-weight: 600;
  color: var(--color-text-secondary);
}
/* Fahrzeug section */
.fahrzeug {
  /* Specific styles for vehicle section */
}
.FinFehlerhaft,
.FinWurdeAngepasst {
  margin-top: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
}
.FinFehlerhaft {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}
.FinWurdeAngepasst {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}
.hinweis900 {
  background-color: #e7f3ff;
  border: 1px solid #b8daff;
  color: #222;
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-top: var(--spacing-md);
}
/* Custom Controls */
.custom-control-checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.custom-control-input {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--color-primary);
}
.custom-control-label {
  cursor: pointer;
  user-select: none;
  color: var(--color-text-primary);
}
.custom-control.custom-checkbox > input[type=checkbox] {
  position: absolute;
}
/* Utility Classes */
.dib {
  display: inline-block;
}
.w150 {
  width: 150px;
}
.pl-2 {
  padding-left: var(--spacing-sm);
}
.mt-2 {
  margin-top: var(--spacing-sm);
}
.mt-3 {
  margin-top: var(--spacing-md);
}
.mb10 {
  margin-bottom: 10px;
}
.fr {
  float: right;
}
.clearfix {
  clear: both;
}
.clear {
  clear: both;
}
/* Autocomplete Dropdown */
.dropdown-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: -1px;
}
.dropdown-autocomplete .dropdown-item {
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color var(--transition-fast);
}
.dropdown-autocomplete .dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-autocomplete .dropdown-item:hover,
.dropdown-autocomplete .dropdown-item.active {
  background-color: var(--color-bg-hover);
}
.dropdown-autocomplete .dropdown-item strong {
  color: var(--color-primary);
  font-weight: 600;
}
/* Date Picker */
.dPicker {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
/* Icon Right */
.icon-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
/* Navigation Buttons */
.btnPrevStep,
.btnNextStep {
  min-width: 150px;
}
/* Responsive Styles */
@media (min-width: 767.1px) {
  .police-wizard .wizard-steps {
    margin-top: -20px;
  }
}
/* Responsive Styles */
@media (max-width: 767px) {
  .police-wizard .wizard-steps {
    padding: var(--spacing-md);
    margin-top: 0;
  }
  .police-wizard .wizard-steps .steps-list {
    gap: var(--spacing-sm);
  }
  .police-wizard .wizard-steps .steps-list .step {
    flex: 1 1 auto;
    min-width: 80px;
    max-width: 120px;
    padding: 0 var(--spacing-xs);
  }
  .police-wizard .wizard-steps .steps-list .step .step-circle {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
  .police-wizard .wizard-steps .steps-list .step .step-label {
    font-size: 0.65rem;
    line-height: 1.2;
  }
  .content-step {
    /*padding: var(--spacing-xs) var(--spacing-md);*/
  }
  .content-step .question {
    padding: var(--spacing-xs) var(--spacing-md);
  }
  .content-step-headline {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  .step-container.chkFahrzeugArt {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  .step-container.chkFahrzeugArt .fahrzeug-selection-item {
    gap: var(--spacing-sm);
  }
  .step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-label-group {
    flex: 1 1 100%;
  }
  .step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-name {
    white-space: normal;
  }
  .step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-speed {
    width: 100%;
    max-width: 100%;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
  }
  .btnPrevStep,
  .btnNextStep {
    width: 100%;
  }
  .fr {
    float: none;
  }
  /* Police Step 3 adjustments */
  .whiteBox {
    padding: var(--spacing-md);
  }
  .addressList .row > div {
    margin-bottom: var(--spacing-sm);
  }
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-12,
  .col-lg-3,
  .col-lg-6 {
    width: 100%;
  }
}
/* Medium screens - Tablet */
@media (max-width: 991px) and (min-width: 768px) {
  .police-wizard .wizard-steps .steps-list {
    gap: var(--spacing-xs);
  }
  .police-wizard .wizard-steps .steps-list .step {
    min-width: 90px;
    max-width: 150px;
  }
  .police-wizard .wizard-steps .steps-list .step .step-label {
    font-size: 0.75rem;
  }
  .step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-speed {
    width: 160px;
  }
  /* Police Step 3 adjustments */
  .whiteBox {
    padding: var(--spacing-md);
  }
  .addressList .row > div {
    margin-bottom: var(--spacing-sm);
  }
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-12,
  .col-lg-3,
  .col-lg-6 {
    width: 100%;
  }
}
/* Small Desktop / Large Tablet */
@media (max-width: 1199px) and (min-width: 992px) {
  .police-wizard .wizard-steps .steps-list .step .step-label {
    font-size: 0.8rem;
  }
  .step-container.chkFahrzeugArt .fahrzeug-selection-item .fahrzeug-speed {
    width: 170px;
  }
}
/* Police Detail Styles - �bernommen aus adjCRM.less */
/* Basis-Styles f�r Police-Detail */
.police-detail,
.bestellung-detail {
  background: #fff;
  /* Detail-Tabellen */
  /* Markiere erste Zeile in Status-Tabellen */
  /* Detail-Bl�cke */
  /* Buttons */
  /* Links */
  /* Alert */
  /* Preloader */
}
.police-detail .card-block,
.bestellung-detail .card-block {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.police-detail .card-block.mb-1,
.bestellung-detail .card-block.mb-1 {
  margin-bottom: 0.5rem !important;
}
.police-detail .card-block.pr-0,
.bestellung-detail .card-block.pr-0 {
  padding-right: 0;
}
.police-detail .card-block.pl-05,
.bestellung-detail .card-block.pl-05 {
  padding-left: 0.5rem !important;
}
.police-detail .card-title,
.bestellung-detail .card-title {
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding: 0.2rem 2px 0.3rem 8px;
  margin: 0;
  background: #fff;
}
.police-detail .card-title.mb-05,
.bestellung-detail .card-title.mb-05 {
  margin-bottom: 0.5rem !important;
}
.police-detail .card-title.mr-05,
.bestellung-detail .card-title.mr-05 {
  margin-right: 0.5rem !important;
}
.police-detail .tar,
.bestellung-detail .tar {
  text-align: right;
}
.police-detail .tal,
.bestellung-detail .tal {
  text-align: left;
}
.police-detail .mt-3,
.bestellung-detail .mt-3 {
  margin-top: 1rem !important;
}
.police-detail table.adjDetail,
.bestellung-detail table.adjDetail {
  width: 100%;
  background: #fff;
  font-size: 13px;
  border-top: 1px solid #d3d3d3;
  box-shadow: #00000026 0px 0px 4px 1px;
}
.police-detail table.adjDetail th,
.bestellung-detail table.adjDetail th,
.police-detail table.adjDetail td,
.bestellung-detail table.adjDetail td {
  border-bottom: 1px solid #d3d3d3;
}
.police-detail table.adjDetail b,
.bestellung-detail table.adjDetail b {
  font-weight: 700 !important;
}
.police-detail table.adjDetail thead > tr > th,
.bestellung-detail table.adjDetail thead > tr > th {
  background: #efefef;
  padding: 4px 5px;
  margin: 0;
  text-align: left;
}
.police-detail table.adjDetail thead > tr > th.pl-0,
.bestellung-detail table.adjDetail thead > tr > th.pl-0 {
  padding-left: 0;
}
.police-detail table.adjDetail thead > tr > th:first-child,
.bestellung-detail table.adjDetail thead > tr > th:first-child {
  padding-left: 8px;
}
.police-detail table.adjDetail tbody > tr > td,
.bestellung-detail table.adjDetail tbody > tr > td {
  padding: 4px 5px;
  margin: 0;
  font-weight: bold;
}
.police-detail table.adjDetail tbody > tr > td:first-child,
.bestellung-detail table.adjDetail tbody > tr > td:first-child {
  width: 170px;
  max-width: 170px;
  text-align: left;
  padding-left: 5px;
  padding-right: 4px;
  overflow: hidden;
  border-right: 1px solid #d3d3d3;
  font-weight: normal;
}
.police-detail table.adjDetail tbody > tr:last-child td,
.bestellung-detail table.adjDetail tbody > tr:last-child td {
  border-bottom: 1px solid #d4d5d6;
}
.police-detail table.adjDetail.markFirstRow tbody > tr:first-child > td,
.bestellung-detail table.adjDetail.markFirstRow tbody > tr:first-child > td {
  font-weight: bold;
}
.police-detail table.adjDetail.markFirstRow tbody > tr > td,
.bestellung-detail table.adjDetail.markFirstRow tbody > tr > td {
  font-weight: normal;
}
.police-detail .adjDetailBlock,
.bestellung-detail .adjDetailBlock {
  margin-bottom: 0.3rem;
  padding: 0;
  padding-right: 0.5rem;
  width: 100%;
  position: relative;
}
.police-detail .adjDetailBlock.mt-3,
.bestellung-detail .adjDetailBlock.mt-3 {
  margin-top: 1rem !important;
}
.police-detail .w-100,
.bestellung-detail .w-100 {
  width: 100%;
}
.police-detail .btn,
.bestellung-detail .btn {
  cursor: pointer;
  border-radius: 0;
}
.police-detail .btn.btn-primary,
.bestellung-detail .btn.btn-primary {
  background-color: #4066b3;
  border-color: #4066b3;
  color: white;
}
.police-detail .btn.btn-sm,
.bestellung-detail .btn.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.police-detail a,
.bestellung-detail a {
  color: #4066b3;
}
.police-detail a:hover,
.bestellung-detail a:hover {
  text-decoration: underline;
}
.police-detail .alert,
.bestellung-detail .alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.police-detail .alert.alert-danger,
.bestellung-detail .alert.alert-danger {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}
.police-detail .preloader,
.bestellung-detail .preloader {
  position: absolute;
  background: #fff;
  width: 100%;
  height: 100%;
  z-index: 121;
  opacity: 0.7;
  top: 0;
  left: 0;
}
.police-detail .preloader img,
.bestellung-detail .preloader img {
  position: absolute;
  left: 38%;
  top: 45%;
}
/* Responsive Design */
@media only screen and (max-width: 780px) {
  .police-detail .col-sm-10,
  .police-detail .col-sm-2,
  .police-detail .col-sm-6 {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }
  .police-detail .tar {
    text-align: left;
    margin-top: 10px;
  }
  .police-detail table.adjDetail tbody > tr > td:first-child {
    width: 120px;
    max-width: 120px;
  }
}
/* ============================================
   HSN Custom Dropdown Styles
   ============================================ */
.position-relative {
  position: relative;
}
.hsn-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1050;
  margin-top: -1px;
}
.hsn-dropdown-item {
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.hsn-dropdown-item:last-child {
  border-bottom: none;
}
.hsn-dropdown-item:hover,
.hsn-dropdown-item.active {
  background-color: #e3f2fd;
}
.hsn-dropdown-item strong {
  color: var(--color-primary);
  font-weight: 600;
  min-width: 50px;
}
.hsn-dropdown-info {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-style: italic;
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
}
/* Responsive HSN Dropdown */
@media (max-width: 767px) {
  .hsn-dropdown {
    max-height: 300px;
  }
  .hsn-dropdown-item {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .hsn-dropdown-item strong {
    min-width: auto;
  }
}
.table-matrix td,
.table-matrix th {
  width: 30px;
  padding: 4px 2px;
  text-align: center;
}
.table-matrix td:first-child,
.table-matrix th:first-child {
  width: auto;
  text-align: right;
}
.table-matrix th {
  position: relative;
  height: 108px;
  width: 50px;
}
.table-matrix th > div {
  transform: rotate(-90deg);
  position: absolute;
  bottom: 42px;
  left: -25px;
  height: 25px;
  width: 100px;
  text-align: left;
}
.table-matrix.tarife {
  width: 100%;
  color: #4066b3;
}
.table-matrix.tarife .custom-control.custom-checkbox {
  margin: 0;
  position: relative;
  top: 4px;
}
.table-matrix.tarife td,
.table-matrix.tarife th {
  width: 70px;
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  padding-bottom: 8px;
}
.table-matrix.tarife td i,
.table-matrix.tarife th i {
  font-size: 26px;
  line-height: 26px;
  width: 26px;
  height: 26px;
  padding-top: 0;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
  border-radius: 50%;
  font-style: normal;
  font-weight: bold;
  display: inline-block;
  color: green;
}
.table-matrix.tarife td i.bi-x,
.table-matrix.tarife th i.bi-x {
  color: red;
}
.table-matrix.tarife .preis {
  font-weight: bold;
}
.table-matrix.tarife th > span {
  position: absolute;
  bottom: 0;
}
.table-matrix.tarife th > div {
  transform: rotate(-45deg);
  position: absolute;
  bottom: 50px;
  height: 25px;
  width: 150px;
  text-align: left;
}
@media only screen and (min-width: 100px) {
  .table-matrix.tarife th > div {
    left: 3vw;
  }
}
@media only screen and (min-width: 600px) {
  .table-matrix.tarife th > div {
    left: 4.2vw;
  }
}
@media only screen and (min-width: 780px) {
  .table-matrix.tarife th > div {
    left: 25px;
  }
}
@media only screen and (min-width: 100px) {
  .table-matrix.tarife tr.krankenfahrstuhl th > div {
    left: 5vw;
  }
}
@media only screen and (min-width: 500px) {
  .table-matrix.tarife tr.krankenfahrstuhl th > div {
    left: 6vw;
  }
}
@media only screen and (min-width: 600px) {
  .table-matrix.tarife tr.krankenfahrstuhl th > div {
    left: 7.5vw;
  }
}
@media only screen and (min-width: 780px) {
  .table-matrix.tarife tr.krankenfahrstuhl th > div {
    left: 56px;
  }
}
@media only screen and (min-width: 100px) {
  .table-matrix.tarife tr.krankenfahrstuhl.ot th > div {
    left: 10vw;
  }
}
@media only screen and (min-width: 500px) {
  .table-matrix.tarife tr.krankenfahrstuhl.ot th > div {
    left: 11vw;
  }
}
@media only screen and (min-width: 600px) {
  .table-matrix.tarife tr.krankenfahrstuhl.ot th > div {
    left: 12vw;
  }
}
@media only screen and (min-width: 780px) {
  .table-matrix.tarife tr.krankenfahrstuhl.ot th > div {
    left: 72px;
  }
}
.table-matrix.tarife tr.tarifauswahl {
  cursor: pointer;
}
.table-matrix.tarife tr.tarifauswahl:not(.active):hover {
  background: #cdcdcd;
}
.table-matrix.tarife tr.tarifauswahl.active {
  background-color: #4066b3;
  color: #fff;
}
.table-matrix.tarife tr.tarifauswahl.active .custom-control-input:checked ~ .custom-control-label::before {
  border: 1px solid #fff;
}
.table-matrix.tarife tr.tarifauswahl.active .btn {
  border-color: #fff;
}
.form-section .form-group label,
.form-label,
.form-group > label {
  margin-bottom: 1px;
}
.form-control {
  color: #000;
  font-weight: 500;
}
.form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.2rem;
  background-color: var(--bs-form-check-bg);
  background-image: var(--bs-form-check-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 0.115rem solid var(--bs-primary);
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.25rem;
}
h3,
h4,
h5 {
  font-size: 1.25rem;
}
.cursor-pointer {
  cursor: pointer;
}
.card {
  --radius-md: 0;
  --bs-card-inner-border-radius: 0;
}
.modal .modal-dialog {
  max-width: 800px;
}
.modal .modal-body .form-label {
  margin-bottom: 2px;
  margin-top: 0.5rem;
  color: #888;
}
.modal .modal-body .form-label.fw-bold {
  font-weight: 500 !important;
}
.modal .modal-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 4px 20px;
}
.card-header.bg-light {
  color: #666 !important;
}
.card-header.bg-light strong {
  font-weight: 500;
}
.validation-message {
  list-style: none;
}
.color-black {
  color: black;
}
.color-dark {
  color: #555;
}
select.form-control {
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
}
/* Custom Control for Tarif Selection - Square Checkboxes */
.custom-control {
  position: relative;
  display: inline-block;
  min-height: 1.5rem;
  padding-left: 0;
}
.custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0;
}
.custom-control-label {
  position: relative;
  margin-bottom: 0;
  cursor: pointer;
  padding-left: 30px;
  display: inline-block;
  min-width: 1.25rem;
  min-height: 1.25rem;
}
.custom-control-label::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: 2px solid #4066b3;
  border-radius: 0.25rem;
  box-shadow: #fff 0px 0px 2px 0px;
}
.custom-control-label::after {
  position: absolute;
  top: 1px;
  left: 0;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  content: "";
  background: no-repeat 50% / 70% 70%;
}
.custom-control-input:checked ~ .custom-control-label::before {
  /* background-color: #4066b3;
    border-color: #4066b3;*/
}
.custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='none' stroke='%234066b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M10 3L4.5 8.5L2 6'/%3e%3c/svg%3e");
}
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(64, 102, 179, 0.25);
}
/* Active row in tarif table - white checkbox border */
.table-matrix.tarife tr.tarifauswahl.active .custom-control-input:checked ~ .custom-control-label::before {
  border-color: #fff;
  background-color: #fff;
}
.table-matrix.tarife tr.tarifauswahl.active .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='none' stroke='%234066b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M10 3L4.5 8.5L2 6'/%3e%3c/svg%3e");
}
/* Ensure dib class works correctly */
.dib {
  display: inline-block;
  vertical-align: middle;
}
/* ============================================
   Custom DatePicker Styles
   Based on Screenshot Design
   ============================================ */
.datepicker-wrapper {
  position: relative;
}
.datepicker-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  cursor: pointer;
}
.datepicker-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  min-width: 240px;
  max-width: 280px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
/* Header with Navigation */
.datepicker-header {
  background: #4066b3;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 40px;
  line-height: 40px;
}
.datepicker-nav-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  padding: 0 16px;
  height: 40px;
  line-height: 40px;
  transition: opacity 0.2s;
}
.datepicker-nav-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.datepicker-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  border: none;
  color: white;
  padding: 0;
  height: 40px;
  line-height: 40px;
  width: 100%;
}
.datepicker-title.clickable {
  cursor: pointer;
}
.datepicker-title.clickable:hover {
  text-decoration: underline;
}
/* Year Grid (4x3) */
.datepicker-grid {
  display: grid;
  padding: 0;
  gap: 0;
}
.datepicker-grid.years-grid {
  grid-template-columns: repeat(4, 1fr);
}
.datepicker-grid.months-grid {
  grid-template-columns: repeat(4, 1fr);
}
.datepicker-cell {
  padding: 0;
  text-align: center;
  cursor: pointer;
  border: none;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  color: #4066b3;
  height: 40px;
  line-height: 40px;
  transition: all 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.datepicker-cell:hover:not(.disabled) {
  text-decoration: underline;
}
.datepicker-cell.selected {
  background-color: #eee;
}
.datepicker-cell.disabled {
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}
.datepicker-cell.disabled:hover {
  text-decoration: none;
}
/* Calendar View */
.datepicker-calendar {
  padding: 0;
}
.datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  background: #f5f5f5;
}
.datepicker-weekday {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  padding: 8px 0;
  height: 40px;
  line-height: 24px;
}
.datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.datepicker-day {
  padding: 0;
  text-align: center;
  cursor: pointer;
  border: none;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  color: #4066b3;
  height: 40px;
  line-height: 40px;
  transition: all 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.datepicker-day:hover:not(.disabled):not(.other-month) {
  text-decoration: underline;
}
.datepicker-day.selected {
  background-color: #eee;
}
.datepicker-day.other-month {
  color: #ccc;
  opacity: 0.6;
}
.datepicker-day.disabled {
  color: #eee;
  cursor: not-allowed;
  opacity: 0.3;
}
.datepicker-day.disabled:hover {
  text-decoration: none;
}
/* Error Message */
.datepicker-error {
  padding: 8px 12px;
  background-color: #f8d7da;
  border-top: 1px solid #f5c6cb;
  color: #721c24;
  font-size: 12px;
}
/* Input Field */
.datepicker-wrapper input.form-control {
  cursor: pointer;
}
/* Responsive */
@media (max-width: 767px) {
  .datepicker-dropdown {
    min-width: 260px;
    max-width: 100%;
  }
  .datepicker-cell,
  .datepicker-day {
    font-size: 14px;
    height: 48px;
    line-height: 48px;
  }
  .datepicker-header {
    height: 48px;
    line-height: 48px;
  }
  .datepicker-nav-btn,
  .datepicker-title {
    height: 48px;
    line-height: 48px;
  }
}
.months-grid .datepicker-cell {
  height: 60px;
  line-height: 60px;
}
.suche {
  /* Suche.razor.css - Scoped Styles */
  /* Search Input Enhancements */
  /* Type Filter Buttons */
  /* Table Enhancements */
  /* Clickable Table Rows */
  /* Badge Styling */
  /* Card Borders */
  /* Loading Spinner */
  /* Alert Styling */
  /* Responsive Tables */
  /* Empty State */
  /* Success State Colors */
  /* Info State Colors */
  /* Search Results Summary */
  /* Button Hover Effects */
  /* Filter Section */
}
.suche .input-group-lg .form-control {
  border-radius: 0.5rem 0 0 0.5rem;
}
.suche .input-group-lg .btn {
  border-radius: 0 0.5rem 0.5rem 0;
}
.suche .btn-group .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}
.suche .table-success-subtle {
  background-color: rgba(25, 135, 84, 0.05);
}
.suche .table-success-subtle:hover {
  background-color: rgba(25, 135, 84, 0.1);
}
.suche .table tbody tr.cursor-pointer {
  cursor: pointer;
  transition: all 0.2s ease;
}
.suche .table tbody tr.cursor-pointer:hover {
  background-color: rgba(0, 0, 0, 0.05);
  /* transform: translateX(2px);*/
}
.suche .table tbody tr.table-success-subtle.cursor-pointer:hover {
  background-color: rgba(25, 135, 84, 0.15);
}
.suche .badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}
.suche .card.border-success {
  border-width: 2px;
}
.suche .spinner-border {
  border-width: 0.3rem;
}
.suche .alert {
  border-radius: 0.5rem;
}
@media (max-width: 768px) {
  .suche .table-responsive {
    font-size: 0.875rem;
  }
  .suche .btn-group .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
.suche .alert-info {
  background-color: #e7f3ff;
  border-color: #b3d9ff;
  color: #004085;
}
.suche .text-success {
  color: #198754 !important;
}
.suche .bg-success {
  background-color: #198754 !important;
}
.suche .border-success {
  border-color: #198754 !important;
}
.suche .text-info {
  color: #0dcaf0 !important;
}
.suche .bg-info {
  background-color: #0dcaf0 !important;
}
.suche .alert-light {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}
.suche .btn-outline-primary:hover,
.suche .btn-outline-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.suche .form-select {
  border-radius: 0.375rem;
}
.suche .form-label {
  font-weight: 500;
  color: #495057;
}