/* 레이아웃 */
.search-order-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* 공통 카드 */
.search-order-card {
  align-content: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  flex: 1;
  max-width: 440px;
  padding: 20px;
  box-sizing: border-box;
}

/* 안내사항 카드 */
.search-order-tip-card .search-order-card-header {
  background: #f8f9fa;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
}

.search-order-tip-card ul {
  margin: 0;
  padding: 10px 18px;
  line-height: 1.6;
  font-size: 14px;
}

.search-order-tip-card li {
  margin-bottom: 4px;
}

#order-editor-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 12px; /* 인풋과 버튼 간 간격 */
}

#order-editor-form label {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

#order-editor-form input[type="text"] {
  font-size: 0.875rem; /* 14px */
  padding: 8px 16px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}
#order-editor-form #btn-custom,
#order-editor-form #btn-order-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border-radius: 4px;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}
#order-editor-message {
  margin-top: 8px;
  font-size: var(--everythings-font-size);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .search-order-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .search-order-card {
    width: 400px; /* ✅ 고정폭 유지 */
    max-width: 100%; /* ✅ 작은 화면에서는 자동으로 줄어듦 */
  }
}
