/* Grundlegende Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
  }
  #app {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  h1, h2, h3, h4 {
    color: #333;
  }
  
  /* Formulare */
  form input, form button, .form-module input, .form-module select, .form-module button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    max-width: 300px;
  }
  
  /* Buttons */
  .btn {
    background-color: #007BFF;
    border: none;
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    margin: 5px 0;
  }
  .btn:hover {
    background-color: #0056b3;
  }
  
  /* Data Lists */
  .data-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }
  .data-list li {
    padding: 8px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
  }
  
  /* Module */
  .module {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }
  
  /* Tab Navigation */
  .tab-container {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
  }
  .tablink {
    background-color: #f1f1f1;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex: 1;
  }
  .tablink.active {
    background-color: #ddd;
    font-weight: bold;
  }
  .tabcontent {
    display: none;
    padding: 10px 0;
  }
  
  /* Modal-Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 0.5rem;
    position: relative;
  }
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  .close:hover, .close:focus {
    color: #000;
    text-decoration: none;
  }
  
  /* SVG-Zahnplan */
  #teeth-svg {
    width: 100%;
    max-width: 600px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin: 10px 0;
  }
  #teeth-svg rect {
    cursor: pointer;
    transition: fill 0.2s;
  }
  #teeth-svg rect.selected {
    fill: #ffc107 !important;
  }
  
  /* Fehleranzeige */
  .error {
    color: red;
    font-weight: bold;
  }
  
  /* Custom styles to enhance Bootstrap */
  body {
    background-color: #f8f9fa;
  }
  
  /* List items in data lists */
  .list-group-item {
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .list-group-item:hover {
    background-color: #f8f9fa;
  }
  
  /* Tab styling */
  .nav-tabs .nav-link {
    cursor: pointer;
  }
  
  /* Card enhancements */
  .card {
    transition: transform 0.2s;
    border: none;
  }
  
  .card:hover {
    transform: translateY(-2px);
  }
  
  /* Button group spacing */
  .btn-group .btn + .btn {
    margin-left: 0.5rem;
  }
  
  /* Form controls */
  .form-control:focus, .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
  }
  
  /* Custom utility classes */
  .cursor-pointer {
    cursor: pointer;
  }
  
  .shadow-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
  
  /* Loading spinner */
  .loading-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Modern card enhancements */
  .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  /* List item enhancements */
  .list-group-item {
    border-left: 0;
    border-right: 0;
    transition: all 0.2s ease;
  }
  
  .list-group-item:first-child {
    border-top: 0;
  }
  
  .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
  }
  
  /* Modern form controls */
  .form-control {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
  }
  
  .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52,152,219,0.25);
  }
  
  /* Badge enhancements */
  .badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
    border-radius: 0.5rem;
  }
  
  /* Modal enhancements */
  .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .modal-header {
    border-bottom: 1px solid #f8f9fa;
  }
  
  .modal-footer {
    border-top: 1px solid #f8f9fa;
  }
  
  /* Tab navigation enhancements */
  .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 1rem 1.5rem;
    transition: all 0.2s ease;
  }
  
  .nav-tabs .nav-link.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
  }
  
  .nav-tabs .nav-link:hover {
    color: #3498db;
    border-bottom: 2px solid #e9ecef;
  }
  