body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
    max-width: 720px;
}

h2, h4, h5 {
    color: #c8102e;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-body {
    background-color: #fff;
}

form .form-control {
    border-radius: 6px;
}

.btn-primary {
    background-color: #c8102e;
    border-color: #c8102e;
}

.btn-primary:hover {
    background-color: #a60d25;
    border-color: #a60d25;
}

ul {
    padding-left: 1.2rem;
}

ul li {
    margin-bottom: 5px;
}

.text-danger {
    font-weight: bold;
    margin-left: 5px;
}

.add-link {
    color: gray;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
  }
  .variant-row {
    margin-top: 0.5rem;
  }
  .hidden {
    display: none;
  }

/* Tabellenlayout für bessere Lesbarkeit */
.table {
    font-size: 0.9rem;
    border-collapse: collapse;
    border: 1px solid #dee2e6; /* äußerer Rahmen */
  }
  
/* Tabellenzellen: nur horizontale Linien, rechtsbündige Zahlen */
.table th,
.table td {
    border-right: none !important; /* vertikale Linien entfernen */
    border-left: none !important;
    vertical-align: middle;
    padding: 0.5rem 0.75rem;
  }
  
/* Nur untere Linie für Header */
.table thead th {
    border-bottom: 2px solid #dee2e6;
  }
  
/* Horizontale Linien innerhalb der Tabelle */
.table tbody tr {
    border-bottom: 1px solid #f0f0f0;
  }
  
/* Rechtsbündige Zahlendarstellung */
td.text-end {
    text-align: right !important;
  }

.text-success {
    color: #198754;
}

.text-danger {
    color: #dc3545;
}

.text-muted {
    color: #6c757d;
}

/* Positionierung und Stil des "Variante entfernen"-Buttons */
.variant-row {
    position: relative;
    margin-top: 0.5rem;
}

.remove-variant {
    font-size: 1.25rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    color: #999;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.remove-variant:hover {
    color: #c8102e;
}

/* Optional: Variante verstecken (per JavaScript) */
.hidden {
    display: none;
}