.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.flash-messages {
  margin-bottom: 1.5rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  animation: slideIn 0.3s ease-out;
}

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

.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.alert i {
  font-size: 1.2rem;
}

.required {
  color: #e53e3e;
  margin-left: 2px;
}

.char-counter {
  display: block;
  text-align: right;
  color: #718096;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.char-count-warning {
  color: #dd6b20;
}

.char-count-danger {
  color: #e53e3e;
}

.submit-btn:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:disabled:hover {
  background: #cbd5e0;
  transform: none;
}

.refresh-captcha:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
  transform: none;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #f6f8fa 0%, #e9ecef 100%);
  padding: 3rem;
  border-radius: 1rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.contact-header .subtitle {
  font-size: 1.2rem;
  color: #4a5568;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.contact-info,
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h2,
.social-links h2,
.contact-form h2 {
  color: #2d3748;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.info-section h2 i,
.contact-form h2 i {
  color: #3182ce;
}

.info-section p {
  color: #4a5568;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3182ce;
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: #3182ce;
  color: white;
  transform: translateY(-2px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: #2d3748;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.captcha-group {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.captcha-question {
  background: white;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-weight: bold;
  color: #2d3748;
  min-width: 120px;
  text-align: center;
  font-size: 1.1rem;
}

.captcha-container input {
  flex: 1;
  max-width: 150px;
}

.refresh-captcha {
  background: #3182ce;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-captcha:hover {
  background: #2c5282;
  transform: translateY(-1px);
}

.captcha-help {
  color: #718096;
  font-size: 0.875rem;
  font-style: italic;
}

.submit-btn {
  background: #3182ce;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: #2c5282;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-header {
    padding: 2rem 1rem;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .social-icons {
    justify-content: center;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }

  .captcha-container {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-container input {
    max-width: none;
  }
}
