.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url(/backimage.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  .login-page {
    flex-direction: row;
  }
}

.login-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,244,255,0.9) 0%, rgba(232,236,248,0.85) 40%, rgba(240,240,255,0.9) 70%, rgba(248,249,255,0.95) 100%);
  z-index: 0;
}

.login-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.login-decoration-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.login-decoration-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  filter: blur(50px);
}

.login-left-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 16px;
  z-index: 1;
}

@media (min-width: 900px) {
  .login-left-section {
    padding: 0 80px;
  }
}

.login-left-content {
  width: 100%;
}

.login-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .login-logo-row {
    justify-content: center;
    margin-bottom: 16px;
  }
}

.login-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  objectFit: contain;
}

.login-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25);
}

.login-site-name {
  color: #1e293b;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

@media (max-width: 480px) {
  .login-site-name {
    font-size: 24px;
  }
}

.login-desc {
  color: #64748b !important;
  font-size: 17px !important;
  max-width: 480px;
  line-height: 1.8 !important;
  margin: 0 !important;
}

@media (max-width: 899px) {
  .login-desc {
    display: none !important;
  }
}

.login-features-list {
  display: none;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .login-features-list {
    display: flex;
  }
}

.login-feature-card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.login-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  font-size: 20px;
}

.login-feature-title {
  color: #1e293b !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.login-feature-desc {
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.login-right-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 16px 16px 32px;
}

@media (min-width: 900px) {
  .login-right-section {
    padding: 40px 24px;
  }
}

.login-card {
  width: 100%;
  max-width: 440px;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08) !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
}

@media (max-width: 480px) {
  .login-card {
    border-radius: 16px !important;
  }
  .login-card .ant-card-body {
    padding: 24px 20px !important;
  }
}

.login-card-title {
  text-align: center !important;
  margin-bottom: 6px !important;
  color: #1e293b !important;
  font-weight: 700 !important;
}

.login-card-subtitle {
  display: block;
  text-align: center;
  margin-bottom: 28px;
  color: #94a3b8;
  font-size: 14px;
}

.login-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.login-tab-active {
  font-weight: 600 !important;
  color: #6366f1 !important;
  background: #fff !important;
  border: 1px solid rgba(99,102,241,0.2) !important;
  box-shadow: 0 2px 8px rgba(99,102,241,0.1) !important;
}

.login-submit-btn {
  height: 48px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25) !important;
}

.login-code-btn {
  height: 48px !important;
  border-radius: 0 10px 10px 0 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-left: none !important;
  font-weight: 600 !important;
  min-width: 100px !important;
}

.login-agreement {
  margin-bottom: 16px;
}

.login-agreement-text {
  font-size: 13px;
  color: #64748b;
}

.login-link {
  color: #6366f1;
  cursor: pointer;
}

.login-footer {
  display: flex;
  justify-content: center;
}

@media (min-width: 480px) {
  .login-footer {
    justify-content: flex-start;
  }
}

.login-switch-btn {
  font-size: 13px !important;
  color: #6366f1 !important;
  cursor: pointer;
}

.login-page .ant-input-affix-wrapper {
  padding: 0 11px !important;
  height: 48px !important;
}

.login-page .ant-input-affix-wrapper .ant-input-prefix {
  margin-right: 10px !important;
  margin-left: 0 !important;
}

.login-page .ant-input {
  padding-left: 11px !important;
  height: 48px !important;
}

.login-code-btn {
  height: 48px !important;
}

@media (max-width: 767px) {
  .login-left-section {
    padding: 28px 16px 12px;
  }

  .login-right-section {
    padding: 12px 16px 32px;
  }

  .login-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .login-left-section {
    padding: 24px 12px 8px;
    text-align: center;
  }
  
  .login-right-section {
    padding: 8px 12px 24px;
  }
  
  .shiny-text-container {
    text-align: center;
  }

  .login-page .ant-input,
  .login-page .ant-input-affix-wrapper {
    height: 44px !important;
    font-size: 14px !important;
  }

  .login-page .ant-input-affix-wrapper .ant-input {
    height: 100% !important;
  }

  .login-code-btn {
    height: 44px !important;
    min-width: 90px !important;
    font-size: 13px !important;
  }

  .login-submit-btn {
    height: 44px !important;
    font-size: 15px !important;
  }
}
