/* Google Fonts - Poppins */

* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background-color: #eff0f4;
}

.container {
  position: relative;
  justify-content: center;
  align-items: center;
}

/* 移除原"泡泡"登录背景：无固定宽高、无圆形内阴影、无韧性圆角、无白色高光盘 */
.container .drop {
  position: relative;
  box-shadow: none;
  transition: 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.container .drop:hover {
  border-radius: 0;
}

.container .drop::before {
  content: none;
}

.container .drop::after {
  content: none;
}

/* 内容容器：透明无框，让页面内联样式主导 */
.container .drop .content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* 通讯后台标题样式：纯白清晰文字（覆盖原渐变） */
.company-title {
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  padding: 10px 0;
  color: #ffffff;
}

.login-target-hint {
  text-align: center;
  font-size: 12px;
  color: #fff;
  opacity: .85;
  margin: -6px 0 4px;
  letter-spacing: 2px;
}

/* 频道/作者按钮样式（仅依赖页面内联可见） */
.btns {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.1em;
  transition: 0.25s;
  text-align: center;
  background: #333333;
  border: 2px solid #ffffff;
  border-radius: 12px;
}

.btns:hover {
  background: #000000;
  color: #fff;
}

.btns.signup {
  background: #444444;
}

/* 联系作者按钮：放在登录按钮下方，比登录按钮小、比太小大 */
.contact-author {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 34px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 2px;
  background: rgba(17, 17, 17, .72);
  border: 1.5px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  cursor: pointer;
  transition: .2s;
  font-family: "KaiTi", "STKaiti", "SimSun", "Microsoft YaHei", serif;
}

.contact-author:hover {
  background: #000000;
  transform: translateY(-1px);
  border-color: #ffffff;
}

.copyright {
  position: relative;
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

/* 弹窗样式 */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.toast {
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 15px;
  min-width: 300px;
  max-width: 350px;
  opacity: 0;
  overflow: hidden;
  padding: 16px;
  pointer-events: auto;
  text-align: center;
  transform: translateY(-20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.toast.success {
  background: linear-gradient(45deg, #2ecc71, #4cd964);
}

.toast.error {
  background: linear-gradient(45deg, #ff3b30, #ff6482);
}

.toast.info {
  background: linear-gradient(45deg, #007aff, #5ac8fa);
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
}

/* 状态通知弹窗样式 */
.status-toast {
  position: fixed;
  top: -100px;
  right: 20px;
  min-width: 250px;
  max-width: 350px;
  background: linear-gradient(145deg, #4CAF50, #2E7D32);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: flex;
  align-items: center;
  font-size: 15px;
  transform: translateY(0);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.status-toast.error {
  background: linear-gradient(145deg, #f44336, #d32f2f);
}

.status-toast.warning {
  background: linear-gradient(145deg, #ff9800, #ed6c02);
}

.status-toast.show {
  transform: translateY(120px);
  opacity: 1;
}

.status-toast-icon {
  font-size: 24px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-toast-content {
  flex: 1;
}

.status-toast-title {
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
  font-size: 16px;
}

.status-toast-message {
  opacity: 0.95;
  font-size: 14px;
}

.status-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.status-toast-progress-bar {
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 0 8px 8px;
  animation: toast-progress 3s linear forwards;
}

@keyframes toast-progress {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}