/**
 * フォーム送信メッセージのスタイル
 */

.form-message {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  gap: 15px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message .message-icon {
  font-size: 24px;
  font-weight: bold;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-message .message-content h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.form-message .message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* 成功メッセージ */
.success-message {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.success-message .message-icon {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* エラーメッセージ */
.error-message {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.error-message .message-icon {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* 送信ボタンの無効化時のスタイル */
.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
