/* static/css/styles.css */

/* Simple glow and card vibe for CampusHub */
.card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  background: rgba(51, 65, 85, 0.6);
}

/* Headings */
h1, h2, h3, h4 {
  color: #f1f5f9;
}

/* Inputs and forms */
input, select, textarea {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.6);
  color: #f8fafc;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: #14b8a6;
  outline: none;
  background-color: rgba(30, 41, 59, 0.9);
}

/* Buttons */
button {
  background: linear-gradient(to right, #14b8a6, #6366f1);
  border: none;
  color: white;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
button:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

/* Links */
a {
  transition: color 0.2s ease;
}
a:hover {
  color: #14b8a6;
}

/* Fade animation */
.fade-in {
  animation: fadeIn 0.5s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
