/* contact.css - Page-specific styles for contact.html */

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(51, 154, 240, 0.08);
  border-radius: 16px;
  border: 1px solid #94a3b8 !important;
  padding: 2.5rem 2rem !important;
  background: #ffffff;
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .field:last-of-type {
  margin-bottom: 2rem;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-bold);
}

.contact-form label span {
  color: #ef4444;
}

.contact-form input,
.contact-form textarea {
  width: 100% !important;
  padding: 0.75rem !important;
  border-radius: 8px !important;
  border: 1px solid #94a3b8 !important;
  background-color: #ffffff !important;
  display: block !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.form-actions {
  text-align: center !important;
  width: 100% !important;
  margin-top: 2rem !important;
  display: block !important;
}

.form-actions button,
.form-actions .button {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
}

.contact-content-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-content-title i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.contact-info-sidebar {
  background: var(--color-info-bg);
  padding: 1.5rem;
  border-radius: 12px;
  height: 100%;
  border: 1px solid var(--color-border-soft);
}

.sidebar-title {
  margin-bottom: 1rem;
}

.sidebar-title i {
  margin-right: 0.5rem;
}

.sidebar-text {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.sidebar-response-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.sidebar-response-time i {
  color: var(--color-primary);
}

.contact-bottom-note {
  margin-top: 2rem;
  font-size: 0.9em;
  color: #666;
}

/* Flash Message Alerts */
.modern-alert {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  align-items: flex-start;
}

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

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

.modern-alert.info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

@media screen and (max-width: 768px) {
  .contact-form {
    padding: 1.5rem 1.25rem !important;
  }
}