/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #FFB6D9 0%, #D4A5F8 25%, #B8E6FF 50%, #FFE5B4 75%, #FFC5E0 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
  position: relative;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 背景装饰 */
.bg-decoration {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* 浮动气泡 */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  animation: float 20s infinite ease-in-out;
}

.bubble-1 {
  width: 100px;
  height: 100px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.bubble-2 {
  width: 150px;
  height: 150px;
  right: 15%;
  top: 40%;
  animation-delay: 2s;
}

.bubble-3 {
  width: 80px;
  height: 80px;
  left: 20%;
  bottom: 30%;
  animation-delay: 4s;
}

.bubble-4 {
  width: 120px;
  height: 120px;
  right: 25%;
  bottom: 20%;
  animation-delay: 6s;
}

.bubble-5 {
  width: 90px;
  height: 90px;
  left: 50%;
  top: 10%;
  animation-delay: 8s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  25% {
    transform: translateY(-30px) translateX(20px) scale(1.1);
  }
  50% {
    transform: translateY(-60px) translateX(-20px) scale(0.9);
  }
  75% {
    transform: translateY(-30px) translateX(30px) scale(1.05);
  }
}

/* 飘动的爱心 */
.heart {
  position: absolute;
  font-size: 30px;
  animation: heartFloat 15s infinite ease-in-out;
  opacity: 0.6;
}

.heart-1 {
  left: 5%;
  top: 60%;
  animation-delay: 0s;
}

.heart-2 {
  right: 10%;
  top: 15%;
  animation-delay: 5s;
}

.heart-3 {
  left: 80%;
  bottom: 25%;
  animation-delay: 10s;
}

@keyframes heartFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-50px) rotate(10deg);
  }
  50% {
    transform: translateY(-100px) rotate(-10deg);
  }
  75% {
    transform: translateY(-50px) rotate(5deg);
  }
}

.container {
  position: relative;
  justify-content: center;
  align-items: center;
  left: -80px;
  z-index: 1;
}

.container .drop {
  position: relative;
  width: 400px;
  height: 480px;
  box-shadow: inset 20px 20px 20px rgba(255, 154, 207, 0.15),
              25px 35px 20px rgba(0, 0, 0, 0.05),
              25px 30px 30px rgba(0, 0, 0, 0.05),
              inset -20px -20px 25px rgba(255, 255, 255, 0.9);
  transition: 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 52% 48% 33% 67% / 38% 45% 55% 62%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.container .drop:hover {
  border-radius: 50%;
}

.container .drop::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 85px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}

.container .drop::after {
  content: '';
  position: absolute;
  top: 90px;
  left: 110px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}

.container .drop .content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  gap: 15px;
}

/* Logo区域 */
.logo-section {
  text-align: center;
  margin-bottom: 20px;
}

.logo-icon {
  font-size: 60px;
  margin-bottom: 10px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* OurLogs标题样式 */
.company-title {
  background: linear-gradient(135deg, #FF9ACF, #B685FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-size: 28px;
  text-align: center;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
  font-weight: 300;
}

.container .drop .content form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.container .drop .content form .inputBox {
  position: relative;
  width: 225px;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .1),
  inset -2px -5px 10px rgba(255, 255, 255, 1),
  15px 15px 10px rgba(0, 0, 0, .05),
  15px 10px 15px rgba(0, 0, 0, .05);
  border-radius: 25px;
}

.container .drop .content form .inputBox::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

/* 验证码样式 */
.captchaBox {
  position: relative;
  width: 225px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  justify-content: space-between;
}

.captchaBox input {
  flex: 1;
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 1em;
  padding: 10px 15px;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .1),
  inset -2px -5px 10px rgba(255, 255, 255, 1),
  15px 15px 10px rgba(0, 0, 0, .05),
  15px 10px 15px rgba(0, 0, 0, .05);
  border-radius: 25px;
  width: 55%;
}

.captchaBox input::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 25%;
  transform: translateX(-50%);
  width: 30%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.captchaBox img {
  height: 36px;
  width: 80px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, .1);
  transition: all 0.3s;
  background-color: white;
  padding: 2px;
  margin-right: 2px;
}

.captchaBox img:hover {
  transform: scale(1.05);
}

.container .drop .content form .inputBox input {
  border: none;
  outline: none;
  background-color: transparent;
  width: 100%;
  font-size: 1em;
  padding: 10px 15px;
}

/* 登录按钮样式 */
#login-btn-container {
  width: 140px;
  background: linear-gradient(135deg, #FF9ACF, #B685FF);
  box-shadow: 0 8px 20px rgba(255, 154, 207, 0.3),
              inset 2px 5px 10px rgba(255, 255, 255, 0.3);
  transition: 0.5s;
  border-radius: 25px;
}

#login-btn-container:hover {
  width: 170px;
  background: linear-gradient(135deg, #FFB4C2, #C084FC);
  box-shadow: 0 12px 25px rgba(255, 154, 207, 0.4);
  transform: translateY(-2px);
}

#login-btn-container input[type="submit"] {
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.1em;
  font-weight: 500;
  border: none;
  outline: none;
  background-color: transparent;
  width: 100%;
  font-size: 1em;
  padding: 10px 15px;
}

.copyright {
  position: absolute;
  bottom: -70px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.love-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

/* 状态通知弹窗样式 */
.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;
  }
}

/* TP后台管理系统 */
