/* Page background */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: linear-gradient(135deg, #eef2f7, #dfe9f3);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Form card */
.form-container {
  background: #ffffff;
  padding: 30px 35px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 440px;
  animation: fadeIn 0.4s ease-in-out;
}

/* Title */
h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  color: #1f2d3d;
}

/* Labels */
label {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 13px;
  color: #2c3e50;
}

/* Inputs */
input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  margin-top: 6px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 14px;
  background: #fafbfc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Focus state */
input:focus,
textarea:focus,
select:focus {
  border-color: #4a90e2;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 110px;
}

/* Confirmation */
.confirmation {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #2c3e50;
}

.confirmation input {
  width: auto;
  margin-right: 6px;
}

/* Button */
button {
  width: 100%;
  margin-top: 22px;
  padding: 12px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(53, 122, 189, 0.25);
}

/* Popup */
#popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4a90e2;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  display: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}