/* GXUAI Casdoor Login Branding v1 */
/* Injected via Nginx sub_filter into auth.huaqingliu.com */

/* ===== Page Background ===== */
body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 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 ===== */
/* Add branded banner above the login form */
.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: #2563eb !important;
  border-color: #2563eb !important;
  border-radius: 8px !important;
  height: 42px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.2s !important;
}

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

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

/* ===== "Powered by Casdoor" Footer ===== */
/* Make it subtle instead of hiding (preserve attribution) */
.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: #2563eb !important;
}

a:hover {
  color: #1d4ed8 !important;
}

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

