/*!
 * DargwaDict — contact page
 */

.contact-container {
  padding-top: 10%;
}

.contact-header {
  margin-bottom: 30px;
}

.contact-header h1 {
  color: black;
  margin-bottom: 10px;
}

.contact-header p {
  color: #666;
  font-size: 16px;
}

.contact-form label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.contact-form textarea {
  min-height: 250px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-submit-btn {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #4dadb0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.contact-submit-btn:hover {
  background-color: #3d8a8c;
  transform: translateY(-2px);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Алерты */
.contact-alert {
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
}

.contact-alert.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.contact-alert.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-alert .close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.contact-alert .close:hover {
  opacity: 0.8;
}

/* ---------------- Мобильная адаптация ---------------- */
@media (max-width: 768px) {
  .contact-container {
    padding-top: 60px;
  }

  .contact-header h1 {
    font-size: 28px;
  }

  .contact-submit-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding-top: 40px;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-alert {
    padding: 12px;
    font-size: 14px;
  }
}
