/* GXUAI Casdoor Login Branding v2 — 品牌色统一为 #6c63ff */
/* Injected via Nginx sub_filter into auth.gxuai.cn */

/* ===== Page Background ===== */
body {
  background: linear-gradient(135deg, #6c63ff 0%, #a78bfa 100%) !important;
  min-height: 100vh;
}

/* ===== Login Panel ===== */
.login-panel,
.ant-card.login-panel {
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden;
}

/* ===== GXUAI Branded Header ===== */
.login-panel::before {
  content: "GXUAI 智慧平台 · 统一认证";
  display: block;
  text-align: center;
  padding: 20px 16px 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edf5 100%);
  border-bottom: 1px solid #e2e8f0;
}

/* ===== Primary Button ===== */
.ant-btn-primary,
button.ant-btn-primary {
  background: #6c63ff !important;
  border-color: #6c63ff !important;
  border-radius: 8px !important;
  height: 42px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3) !important;
  transition: all 0.2s !important;
}

.ant-btn-primary:hover,
button.ant-btn-primary:hover {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4) !important;
}

/* ===== Input Fields ===== */
.ant-input,
.ant-input-affix-wrapper {
  border-radius: 8px !important;
  height: 42px !important;
}

/* ===== "Powered by Casdoor" Footer ===== */
.powered-by,
div[style*="margin"][style*="text-align: center"] > span:last-child,
footer {
  opacity: 0.4 !important;
  font-size: 11px !important;
}

/* ===== Logo Area ===== */
.login-logo-box img,
.login-panel img[alt] {
  max-height: 48px !important;
  border-radius: 8px;
}

/* ===== Provider Buttons (SSO shortcuts) ===== */
.provider-button,
.social-login-button,
.ant-btn-default {
  border-radius: 8px !important;
  transition: all 0.2s !important;
}

/* ===== Links ===== */
a {
  color: #6c63ff !important;
}

a:hover {
  color: #4f46e5 !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .login-panel::before {
    font-size: 16px;
    padding: 14px 12px 10px;
  }
}

