/* Skeleton Loading Animation */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}

.skeleton-text:last-child { width: 60%; }

.skeleton-image {
  height: 200px;
  border-radius: 0.5rem;
}

.skeleton-card {
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top-color: #007bff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Modern Button Styles */
.btn-modern {
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Card Hover Effects */
.hover-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Modern Form Styles */
.form-floating > label { padding-left: 1rem; }

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Badge Styles */
.badge-modern {
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 500;
  font-size: 0.75rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .mobile-hidden { display: none !important; }
  .mobile-center { text-align: center !important; }
}

/* Force light theme for form elements */
.form-control, .form-select, .form-check-input, input, select, textarea {
  background-color: #ffffff !important;
  color: #212529 !important;
  border: 1px solid #ced4da !important;
}

.form-control:focus, .form-select:focus {
  background-color: #ffffff !important;
  color: #212529 !important;
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}
