/*@import 'yourcssfile.css';*/
/*
@tailwind base;
@tailwind components;
@tailwind utilities;
*/
/* Робимо так, щоб body займав мінімум всю висоту вікна браузера */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column; /* Елементи йдуть один під одним */
    min-height: 100vh;      /* 100% висоти видимого екрана */
    background-color: #f4f8f8;
    font-family: Montserrat, serif;
    font-style: normal;
}

/* Наш новий клас для контенту */
.main-content {
    flex: 1 0 auto; /* Цей блок забирає ВСЕ вільне місце, виштовхуючи футер вниз */
}

/* Футер просто займає своє місце і не стискається */
.footer {
    flex-shrink: 0;
}

/* ─── 404 Error Page ─── */
.err404 {
  background: #f4f8f8;
  padding: 120px 32px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.err404__wrap {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.err404__icon {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
}

.err404__code {
  font-family: "Montserrat", sans-serif;
  font-size: 120px;
  font-weight: 700;
  color: #124651;
  line-height: 1;
  letter-spacing: -4px;
  display: inline-block;
  margin-bottom: 8px;
}

.err404__code::after {
  content: '';
  display: block;
  height: 4px;
  background: #42796c;
  border-radius: 2px;
  margin-top: 8px;
}

.err404__title {
  font-family: "Philosopher", serif;
  font-size: 28px;
  color: #124651;
  margin: 24px 0 16px;
  line-height: 1.3;
  font-weight: 400;
}

.err404__text {
  font-family: "Philosopher", serif;
  font-size: 18px;
  color: #5a7a7d;
  line-height: 1.7;
  margin: 0 0 40px;
}

.err404__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.err404__btn {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.err404__btn:hover {
  opacity: 0.85;
}

.err404__btn--primary {
  background: #124651;
  color: #fff;
}

.err404__btn--secondary {
  background: #fff;
  color: #124651;
  border: 2px solid #42796c;
}

@media (max-width: 480px) {
  .err404__code { font-size: 80px; }
  .err404__title { font-size: 22px; }
  .err404__text { font-size: 16px; }
  .err404__actions { flex-direction: column; align-items: center; }
}