html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  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;
}

/* Card Styling */
.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

/* Table Styling */
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
  cursor: pointer;
}

/* Navbar */
.navbar-brand {
  font-size: 1.3rem;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* Custom Badge Colors */
.badge {
  padding: 0.5em 0.8em;
  font-weight: 500;
}

/* Code blocks */
code {
  font-size: 0.95em;
  color: #d63384;
}

/* Input Groups */
.input-group-text {
  background-color: #e9ecef;
  border: 1px solid #ced4da;
}

/* Animation for alerts */
.alert {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading State */
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}