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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Custom styles for modern table design */
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05) !important;
  transition: background-color 0.2s ease;
}

.card {
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.table th {
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
}

.table td {
  border-bottom: 1px solid #f8f9fa;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
}

/* Enhanced spacing */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

/* Loading spinner */
.spin {
  animation: spin 1s linear infinite;
}

.navbar-nav .nav-link:hover {
    text-decoration: underline;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.custom-navbar {
    background: #f8f9fa;
    border-bottom: 1px solid #e3e7fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.custom-nav-link {
    color: #343a40 !important;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: background 0.15s, color 0.15s;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .custom-nav-link:hover, .custom-nav-link:focus {
        background: #e3e7fa;
        color: #4a4a6a !important;
        text-decoration: none;
    }

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color: #6c63ff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
