/* =============================================================
 * 商家登录页美化 · 狮子鱼社区团购 v19.6
 * 风格：品牌青绿 #00b894 / 渐变背景 / 卡片化登录框
 * ============================================================= */

:root {
  --lf-primary: #00b894;
  --lf-primary-dark: #00a884;
  --lf-primary-gradient: linear-gradient(135deg, #00d6a4 0%, #00b894 100%);
  --lf-primary-gradient-deep: linear-gradient(135deg, #00b894 0%, #009e7a 100%);
}

html,
body.login-layout {
  height: 100%;
}

/* 渐变背景覆盖原图 */
body.login-layout {
  background: linear-gradient(135deg, #0fb98a 0%, #00b894 50%, #009e7a 100%) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  position: relative;
}
/* 背景装饰光斑 */
body.login-layout:before {
  content: "";
  position: fixed;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
body.login-layout:after {
  content: "";
  position: fixed;
  bottom: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* 登录主卡片 */
.login-layout .main-content {
  position: relative;
  z-index: 2;
}
.login-layout .panel.panel-default {
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  padding: 60px 50px !important;
  margin: 0 auto;
  max-width: 880px;
}
.login-layout .panel-body {
  padding: 0 !important;
}

/* 左侧品牌图区域 */
.login-layout .col-md-6 img {
  max-width: 100%;
  border-radius: 12px;
}

/* 右侧表单区域 */
.login-layout .col-md-6[class*="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 标题区 */
.login-layout .page-header {
  border: none !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  text-align: center;
}
.login-layout .nav_logo {
  width: 220px;
  height: 56px;
  background-size: contain !important;
  background-position: center !important;
  margin: 0 auto 14px;
}
.login-layout .page-header h1:after {
  content: "商家管理系统";
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 输入框 */
.login-layout .form-group {
  margin-bottom: 22px;
}
.login-layout .input-group {
  width: 100%;
}
.login-layout .input-group .form-control {
  height: 46px;
  border-radius: 10px !important;
  border: 1px solid #dfe4ea !important;
  box-shadow: none !important;
  font-size: 15px;
  padding-left: 48px;
  transition: all 0.2s ease;
}
.login-layout .input-group .form-control:focus {
  border-color: var(--lf-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.12) !important;
}
/* 输入框左侧图标按钮 */
.login-layout .input-group-btn:first-child > .btn {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  width: 46px;
  z-index: 3;
  background: transparent !important;
  border: none !important;
  color: #9aa7b5 !important;
  font-size: 16px;
  border-radius: 10px 0 0 10px !important;
}
.login-layout .input-group-btn:first-child > .btn:hover {
  color: var(--lf-primary) !important;
}

/* 登录按钮 */
.login-layout .btn-block.btn {
  height: 48px;
  border: none !important;
  border-radius: 10px !important;
  background: var(--lf-primary-gradient) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  box-shadow: 0 6px 18px rgba(0, 184, 148, 0.3);
  transition: all 0.2s ease;
  margin-bottom: 0;
}
.login-layout .btn-block.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 184, 148, 0.4);
}
.login-layout .btn-block.btn:active {
  transform: translateY(0);
}

/* 错误提示 */
.login-layout .check-tips {
  text-align: center;
  font-size: 13px;
}

/* 底部备案信息 */
.login-layout > div[style*="text-align:center"] {
  position: relative;
  z-index: 2;
}
.login-layout a[style*="color:#ffffff"] {
  text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
  .login-layout .panel.panel-default {
    padding: 36px 24px !important;
    margin: 0 16px;
  }
  .login-layout .col-md-6:first-child {
    display: none;
  }
}
