@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --vanilla-custard: #f6f7c2;
}

.btn-info {
  color: #fff;
}

body {
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
}

.form-control,
.form-select {
  border: 0;
  background-color: #f8f9fa;
}

.form-inline {
  display: inline;
}

.card {
  background-color: var(--vanilla-custard);
}

.floating-alert {
  padding: 1rem;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: floatIn 0.4s ease-out, fadeOut 0.5s ease-in 2.5s forwards;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ===== Responsive typography (mobile-first) ===== */
body {
  font-size: 0.9375rem;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* ===== Mobile: bigger touch targets for icon-only buttons ===== */
@media (max-width: 767.98px) {
  .btn:not([class*=" m-"]) {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===== Floating alert — mobile full-width ===== */
@media (max-width: 575.98px) {
  .floating-alert {
    right: 10px;
    left: 10px;
    min-width: unset;
    top: 10px;
  }
}

