/* Grundlegende Styles für Übersichtsseiten */
body {
  background-color: #f5f7fa;
  color: #343a40;
}

.bg-container {
  min-height: 100vh;
  background-color: rgba(245, 247, 250, 0.8);
}

.overview-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #3f51b5;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.8rem;
  font-weight: 600;
}

/* Milchglas-Effekt für alle Karten */
.overview-card, .card {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
  margin-bottom: 1.5rem;
}

.overview-card:hover, .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Kartenköpfe stilisieren */
.overview-card .card-header, .card .card-header {
  border-bottom: none;
  padding: 15px 20px;
  font-weight: 600;
}

.overview-card .card-header h4, .card .card-header h4 {
  margin: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.overview-card .card-body, .card .card-body {
  padding: 1.5rem;
}

/* Spezielle Stile für Kartenköpfe verschiedener Farben */
.card-header.bg-primary {
  background-color: rgba(63, 81, 181, 0.9) !important;
  color: white;
}

.card-header.bg-secondary {
  background-color: rgba(108, 117, 125, 0.9) !important;
  color: white;
}

.card-header.bg-success {
  background-color: rgba(40, 167, 69, 0.9) !important;
  color: white;
}

.card-header.bg-info {
  background-color: rgba(23, 162, 184, 0.9) !important;
  color: white;
}

.card-header.bg-warning {
  background-color: rgba(255, 193, 7, 0.9) !important;
  color: #212529;
}

.card-header.bg-danger {
  background-color: rgba(220, 53, 69, 0.9) !important;
  color: white;
}

/* Icons in den Kartenköpfen */
.overview-card .card-header h4 i, .card .card-header h4 i {
  margin-right: 12px;
  font-size: 1.1em;
}

/* Tabellen in Karten */
.overview-card .table, .card .table {
  margin-bottom: 0;
}

.overview-card .table th, .card .table th {
  font-weight: 600;
  border-top: none;
  background-color: rgba(0, 0, 0, 0.03);
  color: #495057;
}

.overview-card .table td, .card .table td {
  vertical-align: middle;
  padding: 0.75rem 1rem;
}

/* Tabellenzeilen Hover-Effekt */
.table tbody tr:hover {
  background-color: rgba(63, 81, 181, 0.05);
}

/* Badges für Status */
.badge {
  font-size: 0.85em;
  padding: 0.4em 0.8em;
  font-weight: 500;
  border-radius: 4px;
}

.badge.bg-warning.text-dark {
  background-color: #ffc107 !important;
  color: #212529 !important;
}

.badge.bg-info {
  background-color: #17a2b8 !important;
  color: white !important;
}

.badge.bg-success {
  background-color: #28a745 !important;
}

.badge.bg-primary {
  background-color: #3f51b5 !important;
}

/* Buttons */
.btn {
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn i {
  margin-right: 6px;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.15);
  color: #155724;
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.15);
  color: #856404;
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.15);
  color: #0c5460;
}

/* Formulare */
.form-control {
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.6rem 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #3f51b5;
  box-shadow: 0 0 0 0.2rem rgba(63, 81, 181, 0.25);
}

/* QR-Code Container */
#qrcode {
  background-color: white !important;
  padding: 1rem !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Signature Pad */
#signature-pad {
  width: 100%;
  height: 300px;
  background-color: white !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* PDF-Container */
.pdf-page {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ausklappelemente */
.collapse .card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive Anpassungen */
@media (max-width: 767.98px) {
  .overview-title {
    font-size: 1.5rem;
  }
  
  .overview-card .card-header h4, .card .card-header h4 {
    font-size: 1.1rem;
  }
  
  .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .table th, .table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Verbesserte Footer-Icons */
.footer-icon {
  margin: 0 10px;
  color: #6c757d;
  transition: color 0.2s;
}

.footer-icon:hover {
  color: #3f51b5;
} 