/* Global Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1f2937;
  background-color: #f9fafb;
  line-height: 1.5;
}

/* Modern UI Enhancements */
.btn {
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #4f46e5;
  border-color: #4f46e5;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #4338ca;
  border-color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-outline-primary {
  color: #4f46e5;
  border-color: #4f46e5;
}

.btn-outline-primary:hover {
  background-color: #4f46e5;
  border-color: #4f46e5;
}

.form-control {
  border-radius: 0.5rem;
  border-color: #e5e7eb;
  padding: 0.625rem 1rem;
}

.form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.card {
  border-radius: 0.75rem;
  border-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Component-specific styles */
.alert {
  border-radius: 0.5rem;
}

.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}

/* Elara Container Styles - Will only apply to pages with this class */
.elara-container {
  background: linear-gradient(165deg, #ffffff, #f8fafc);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  padding: 3rem;
  border: 1px solid rgba(99, 102, 241, 0.08);
  max-width: 900px;
  margin: 2rem auto;
  min-height: calc(100vh - 180px);
  transition: all 0.3s ease;
}

.input-group.elara-search {
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.input-group.elara-search .form-control {
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  background: transparent;
}

.input-group.elara-search .form-control:focus {
  box-shadow: none;
}

.btn-elara {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-elara:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  color: white;
}

.btn-outline-elara {
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 0.75rem 1.5rem;
  border-radius: 30px !important;
  font-weight: 500;
  background: white;
  transition: all 0.2s ease;
}

.btn-outline-elara:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
  transform: translateY(-1px);
}

.elara-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 1rem;
}