html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  background-color: #f4f7f6;
}

/* Custom Nav */
.navbar.bg-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
}
.nav-link:hover, .nav-link.active {
  color: #fff !important;
}

/* Make tables look modern */
.table {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.table thead th {
  background-color: #f8f9fc;
  border-bottom: 2px solid #eaedf1;
  color: #4a5568;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 1rem;
}

.table tbody td {
  vertical-align: middle;
  padding: 1rem;
  border-bottom: 1px solid #eaedf1;
}

/* Cards customization */
.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid #eaedf1;
  font-weight: 600;
  border-top-left-radius: 0.75rem !important;
  border-top-right-radius: 0.75rem !important;
  padding: 1rem 1.25rem;
}

/* Buttons styling */
.btn {
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  box-shadow: 0 4px 6px rgba(13, 110, 253, 0.25);
  transform: translateY(-1px);
}

/* Forms styling */
.form-control, .form-select {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  padding: 0.6rem 1rem;
}

.form-control:focus, .form-select:focus, .btn:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

html {
  position: relative;
  min-height: 100%;
}

.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;
}