/* 內聯錯誤訊息樣式 */
.inline-error {
  display: none;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.inline-error.show {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-error::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M8 1L15 14H1L8 1Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3Cpath d="M8 6V9" stroke="white" stroke-width="1.5" stroke-linecap="round"/%3E%3Ccircle cx="8" cy="11.5" r="0.5" fill="white"/%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

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

/* 響應式設計 */
@media (max-width: 768px) {
  .inline-error {
    font-size: 13px;
    padding: 10px 14px;
  }
}
