/* contact.css — dopasowane do istniejącej palety */
.section-contact .section-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}

#contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
  align-items: center;
}

#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  background: rgba(18,16,43,0.85);
  color: #eafbf5;
  border: 2px solid rgba(0,255,204,0.12);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
  resize: vertical;
  min-height: 48px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35) inset;
}

#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #00ffcc;
  box-shadow: 0 0 18px rgba(0,255,204,0.18);
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

#contact-send {
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,255,204,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#contact-send:active { transform: translateY(1px) scale(.998); }

#contact-send[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-feedback {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  min-height: 1.2rem;
  color: #b9ffd9;
  transition: opacity 0.18s ease;
}

.contact-feedback.error {
  color: #ff9b9b;
}

.contact-feedback.success {
  color: #bfffbf;
}

.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (max-width: 520px) {
  #contact-form input[type="email"],
  #contact-form textarea { font-size: 0.95rem; padding: 10px; }
  #contact-send { width: 100%; }
}
