html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Modern Cards */
.modern-card {
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.modern-card-header {
  border-radius: 12px 12px 0 0 !important;
  border: none;
  font-weight: 600;
}

/* Modern Buttons */
.btn-modern {
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-modern-primary {
  background-color: #0d6efd;
  color: white;
  border: none;
}

.btn-modern-primary:hover {
  background-color: #0b5ed7;
  color: white;
}

.btn-modern-success {
  background-color: #198754;
  color: white;
  border: none;
}

.btn-modern-success:hover {
  background-color: #157347;
  color: white;
}

.btn-modern-info {
  background-color: #0dcaf0;
  color: white;
  border: none;
}

.btn-modern-info:hover {
  background-color: #0aa2c0;
  color: white;
}

/* Modern Form Controls */
.form-control-modern {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 10px 14px;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.form-label-modern {
  font-weight: 600;
  color: #212529;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Modern Navbar */
.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link i {
  font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

/* Modern Table */
.table-modern {
  border-radius: 8px;
  overflow: hidden;
}

.table-modern thead {
  background-color: #0d6efd;
  color: white;
}

.table-modern tbody tr {
  transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
  background-color: #f8f9fa;
}

/* Focus Styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}