html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 #0d6efd;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
}

/* Transaction Page Enhancements */
.font-monospace {
  font-family: 'Courier New', Courier, monospace;
}

.badge {
  padding: 0.35em 0.65em;
  font-weight: 500;
  font-size: 0.875rem;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Custom scrollbar for tables */
.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Button enhancements */
.btn {
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Card shadows */
.card, .results-section, .search-section {
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

/* Form inputs */
.form-control, .form-select {
  border-color: #e0e0e0;
  transition: border-color 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Dropdown menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Pagination */
.pagination .page-link {
  color: #0d6efd;
  border-color: #dee2e6;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.pagination .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Toast notifications */
.toast {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Status badges */
.bg-warning {
  background-color: #ffc107 !important;
}

.bg-success {
  background-color: #198754 !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.bg-info {
  background-color: #0dcaf0 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

/* Navbar enhancements */
.navbar {
  padding: 0.75rem 1rem;
}

.navbar-brand {
  font-size: 1.25rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .transaction-table {
    font-size: 0.75rem;
  }
  
  .transaction-table th,
  .transaction-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .one80-logo {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}