/* Responsive fixes */
@media (max-width: 576px) {
  .d-flex.justify-content-between {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .btn-group .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
  }
}/* Main Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-bottom: 60px;
}

/* Dashboard Cards */
.card {
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
  font-weight: bold;
}

/* Tables */
.table th {
  background-color: #f8f9fa;
}

/* Status Badges */
.badge {
  font-size: 0.85rem;
  padding: 0.35em 0.65em;
}

/* Buttons */
.btn-group .btn {
  margin-right: 5px;
}

/* Form Styles */
.form-label {
  font-weight: 500;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #eee;
}

/* Alert Animations */
.alert {
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Dashboard stats */
.display-4 {
  font-size: 2.5rem;
  font-weight: 500;
}

/* Detail view */
dl.row dt {
  font-weight: 600;
}

/* Loading overlay */
body.loading {
  overflow: hidden;
}

#loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

#loading-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}

.fs-3.fw-bold {
  white-space: nowrap;
}