/* web/css/login.css */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FDF8F0 0%, #F5E8C8 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 105, 20, 0.15), transparent 70%);
}

.bg-circle-1 {
  width: 480px;
  height: 480px;
  top: -200px;
  left: -150px;
  animation: float 8s ease-in-out infinite;
}

.bg-circle-2 {
  width: 360px;
  height: 360px;
  bottom: -150px;
  right: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.bg-circle-3 {
  width: 240px;
  height: 240px;
  top: 50%;
  right: 20%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(139, 105, 20, 0.18);
  border: 1px solid rgba(232, 199, 122, 0.3);
}

.login-logo {
  text-align: center;
  margin-bottom: 36px;
}

.logo-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 300;
  box-shadow: 0 8px 24px rgba(139, 105, 20, 0.32);
}

.login-logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-hint);
  letter-spacing: 2px;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form .form-group {
  margin-bottom: 18px;
}

.login-form label {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
  font-weight: 500;
}

.login-form input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-base);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  transition: all 0.2s;
}

.login-form input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

.btn-login {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.32);
  transition: all 0.2s;
}

.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139, 105, 20, 0.4); }
.btn-login:active { transform: translateY(0); }
.btn-login:disabled { opacity: 0.6; cursor: not-allowed; }

.login-tip {
  margin-top: 20px;
  padding: 12px;
  background: var(--bg-base);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-hint);
  text-align: center;
  border: 1px dashed var(--border);
}