/* General Styles */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Table Styles */
.table th {
  background-color: #f8f9fa;
}

.table td {
  vertical-align: middle;
}

/* Badge Styles */
.badge {
  font-size: 0.9rem;
  padding: 0.5em 0.8em;
}

/* Button Styles */
.btn {
  margin-right: 0.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

/* Card Styles */
.card {
  margin-bottom: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Alert Styles */
.alert {
  margin-bottom: 1.5rem;
}

/* Status Badge Colors */
.badge-success {
  background-color: #28a745;
}

.badge-warning {
  background-color: #ffc107;
  color: #212529;
}

.badge-danger {
  background-color: #dc3545;
}

.badge-info {
  background-color: #17a2b8;
}

/* Custom Container */
.container {
  max-width: 1200px;
}

/* Responsive Table */
@media (max-width: 768px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Form Validation */
.field-validation-error {
  color: #dc3545;
  font-size: 0.875rem;
}

.input-validation-error {
  border-color: #dc3545;
}

/* Custom Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  background-color: #f8f9fa;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}