body {
  background: #f8f9fa;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  color: #333;
  font-size: 1rem;
  min-height: 100vh;
}
.card, .table, .form-control, .btn, .navbar-modern, .modal-content {
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card {
  border: 1px solid #dee2e6;
  background: #fff;
  margin-bottom: 1.5rem;
}
.card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  font-weight: 500;
  font-size: 1.1rem;
  color: #333;
  border-radius: 8px 8px 0 0 !important;
}
.table {
  background: #fff;
  border: 1px solid #dee2e6;
  width: auto;
  max-width: 1100px;
  margin: 1rem auto;
  border-radius: 6px;
  overflow: hidden;
}
.table th {
  background: #f8f9fa !important;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  padding: 1rem;
  white-space: nowrap;
}
.table td {
  border: none;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
  padding: 1rem;
}
.table tbody tr:hover {
  background-color: #f1f1f1;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f8f9fa;
}
.table-striped tbody tr:nth-of-type(odd):hover {
  background-color: #e9ecef;
}
.table-bordered {
  border: 1px solid #ddd;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #ddd;
}
.table-light {
  background-color: #f8f9fa;
}
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
}
.btn-primary, .btn-outline-primary, .btn-danger, .btn-outline-danger {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover, .btn-outline-primary:hover, .btn-danger:hover, .btn-outline-danger:hover {
  background: #0056b3;
  border-color: #0056b3;
  color: #fff;
}
.btn-outline-light {
  border-radius: 4px;
  color: #333;
  border-color: #ddd;
  background: #fff;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-light:hover {
  background: #f1f1f1;
  color: #333;
}
.form-control, .form-select {
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #fff;
  transition: border 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}
label, .form-label {
  font-weight: 500;
  color: #333;
}
.nav-tabs .nav-link {
  border-radius: 4px 4px 0 0;
  color: #555;
  font-weight: 500;
}
.nav-tabs .nav-link.active {
  background: #fff;
  color: #007bff;
  border-bottom: 2px solid #007bff;
}
input[type="file"] {
  background: #fff;
  border-radius: 4px;
}
.swal2-popup {
  border-radius: 8px !important;
}
footer.footer {
  background: #fff;
  border-top: 1px solid #dee2e6;
  color: #333;
  font-size: 0.9rem;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
  border-radius: 6px 6px 0 0;
}
::-webkit-scrollbar {
  width: 8px;
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.table-responsive, .center-table-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 60vh;
}
@media (max-width: 767px) {
  .card, .table, .form-control, .btn, .navbar-modern, .modal-content {
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }
  .card-header {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
  .table th, .table td {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
  .footer {
    font-size: 0.85rem;
  }
}
@media (max-width: 991px) {
  .table, .table-responsive, .center-table-wrapper {
    width: 100%;
    max-width: 100vw;
    min-width: unset;
  }
  .table {
    font-size: 0.9rem;
    width: 100%;
    max-width: 100vw;
  }
} 