body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}
.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 200px;
  box-sizing: border-box;
  background: url('../assets/bg.png') no-repeat center center fixed;
  background-size: 100% 100%;
}
.logo {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  border-radius: 10px;
  /* 禁用右键保存和拖拽 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}
.feedback{
    color: #aaa;
}
.input-container {
  width: 400px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
textarea {
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
input[type="submit"] {
  width: 100%;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  font-size: 1rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2rem;
  /* 添加过渡效果 */
  transition: background-color 0.3s;
}
input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Loading状态样式 */
input[type="submit"].loading {
  background-color: #6c757d;
  cursor: not-allowed;
  position: relative;
}

/* Loading动画 */
input[type="submit"].loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

/* 旋转动画 */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 禁用图片右键菜单 */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* 如果需要允许某些操作，可以为特定类添加例外 */
img.allow-interaction {
  pointer-events: auto;
}