:root {
  --bs-body-bg: #1a1d21;
  --bs-body-color: #e9ecef;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] {
  --bs-body-bg: #1a1d21;
  --bs-body-color: #e9ecef;
}

[data-bs-theme="light"] {
  --bs-body-bg: #ffffff;
  --bs-body-color: #212529;
}

/* Card enhancements */
.card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Navbar styling */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
  font-size: 1.25rem;
}

/* Button enhancements */
.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Table styling */
.table > :not(caption) > * > * {
  padding: 1rem 0.75rem;
}

/* Alert styling */
.alert {
  border-radius: 0.5rem;
}

/* Code styling */
code {
  color: #e83e8c;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
}

[data-bs-theme="light"] code {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Icon sizing */
.bi {
  vertical-align: middle;
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
