@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: linear-gradient(145deg, #e9eef2, #f6f9fc);
  margin: 0;
  padding: 0;
  color: #1e1e1e;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  animation: fadeIn 0.6s ease-in;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

h1, h2 {
  color: #2e2e2e;
  margin-top: 0;
  font-weight: 600;
}

p {
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #005fa3;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  background-color: #0077cc;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.back-link:hover {
  background-color: #005fa3;
}

/* ZACHOWANE STYLI FORMULARZY */
form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #2e2e2e;
  background-color: #fff;
}

button {
  padding: 12px 20px;
  font-size: 1em;
  background-color: #2e2e2e;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #444;
}

/* ANIMACJA */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 600px) {
  body {
    padding: 20px;
    height: auto;
  }

  .container {
    margin: 20px auto;
    padding: 30px 20px;
  }

  button {
    width: 100%;
  }
}
