/* Main site styles */
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;
}

/* Card styles */
.card {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Badge styles */
.badge {
  font-weight: 500;
  padding: 0.5em 0.75em;
}

/* Button enhancements */
.btn {
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Form controls */
.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-shadow {
  transition: box-shadow 0.3s ease-in-out;
}

.hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Card enhancement styles */
.enhancement-card {
  border-left: 4px solid #0d6efd;
  transition: all 0.3s ease;
}

.enhancement-card:hover {
  border-left-color: #0a58ca;
  background-color: #f8f9fa;
}

/* Navbar enhancements */
.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Alert improvements */
.alert {
  border-left: 4px solid;
}

.alert-success {
  border-left-color: #198754;
}

.alert-danger {
  border-left-color: #dc3545;
}

.alert-info {
  border-left-color: #0dcaf0;
}

.alert-warning {
  border-left-color: #ffc107;
}

/* Loading spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Responsive images */
.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Breadcrumb improvements */
.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
}

/* Feature icons */
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Validation styles */
.field-validation-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.input-validation-error {
  border-color: #dc3545 !important;
}

/* Dropdown menu improvements */
.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Logout button in dropdown - make it look like other dropdown items */
.dropdown-item form {
  margin: 0;
}

.dropdown-item .btn-link {
  color: #212529;
  text-decoration: none;
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 400;
}

.dropdown-item .btn-link:hover {
  color: #1e2125;
  background-color: transparent;
  box-shadow: none;
  transform: none;
}
