.login-page {
  min-height: 100vh;
  display: flex;
  background: #004D40;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 150, 136, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 121, 107, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(38, 166, 154, 0.15) 0%, transparent 50%);
  animation: bgFloat 20s ease-in-out infinite;
}

.login-page::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 150, 136, 0.08) 0%, transparent 70%);
  animation: bgFloat2 25s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, -1%); }
}

@keyframes bgFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-3%, 2%) rotate(2deg); }
}

.login-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  position: relative;
  z-index: 1;
}

.login-brand {
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 60px;
}

.login-brand .brand-logo {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.login-brand h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.login-brand p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.6;
}

.login-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 500px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.feature-item .feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 150, 136, 0.3);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item .feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item .feature-text {
  font-size: 14px;
  line-height: 1.4;
}

.feature-item .feature-text small {
  opacity: 0.6;
  font-size: 12px;
}

.login-right {
  width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 0;
  padding: 44px 40px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: #263238;
  margin-bottom: 8px;
}

.login-card .login-subtitle {
  font-size: 14px;
  color: #90A4AE;
  margin-bottom: 32px;
}

.demo-credentials {
  background: #E0F2F1;
  border: 1px solid #B2DFDB;
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #00695C;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-credentials svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.demo-credentials strong {
  font-weight: 600;
}

.login-tabs {
  display: flex;
  margin-bottom: 28px;
  border-bottom: 2px solid #ECEFF1;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
  color: #90A4AE;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.25s ease;
  font-weight: 500;
}

.login-tab.active {
  color: #009688;
  border-bottom-color: #009688;
}

.login-tab:hover {
  color: #009688;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-input {
  height: 46px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 0;
}

.sms-row {
  display: flex;
  gap: 12px;
}

.sms-row .form-input {
  flex: 1;
}

.sms-btn {
  white-space: nowrap;
  padding: 0 16px;
  height: 46px;
  background: #FFFFFF;
  border: 1px solid #CFD8DC;
  border-radius: 0;
  color: #009688;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sms-btn:hover {
  border-color: #009688;
  background: #E0F2F1;
}

.sms-btn:disabled {
  color: #B0BEC5;
  cursor: not-allowed;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #546E7A;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  accent-color: #009688;
}

.forgot-link {
  color: #009688;
}

.forgot-link:hover {
  color: #26A69A;
}

.login-btn {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #009688, #00796B);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 2px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #26A69A, #009688);
  box-shadow: 0 6px 20px rgba(0, 150, 136, 0.4);
}

.login-btn:active {
  transform: translateY(1px);
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #B0BEC5;
  font-size: 12px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ECEFF1;
}

.login-divider span {
  padding: 0 12px;
}

.wechat-login {
  width: 100%;
  height: 46px;
  background: #07C160;
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.wechat-login:hover {
  background: #06AD56;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: #90A4AE;
}

.login-footer a {
  color: #009688;
  font-weight: 500;
}

.qrcode-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.qrcode-box {
  width: 200px;
  height: 200px;
  border: 2px dashed #CFD8DC;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #ECEFF1;
  color: #90A4AE;
  font-size: 14px;
}

.qrcode-tip {
  font-size: 13px;
  color: #90A4AE;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 960px) {
  .login-left {
    display: none;
  }
  .login-right {
    width: 100%;
  }
}
