*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Noto Sans SC", "Segoe UI",
    "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #f5f6fa;
  color: #1a1a1a;
}

.login-page {
  display: flex;
  min-height: 100vh;
}

/* 左侧面板 */

.intro-panel {
  position: relative;
  width: 40%;
  min-width: 360px;
  background-color:#000000 ;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 58px;
  overflow: hidden;
  background-image: url("assets/矩形 467@1x.png");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.intro-inner {
  max-width: 460px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.intro-header {
  margin-bottom: 106px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 30px;
  display: block;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff4b6a, #ffb24b);
  box-shadow: 0 4px 18px rgba(255, 75, 106, 0.8);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.logo-name {
  font-weight: 600;
}

.logo-subtitle {
  font-size: 12px;
  opacity: 0.8;
}

.intro-content{
  padding-left: 10px;
  box-sizing: border-box;
}


.intro-title {
  font-size: 46px;
  margin: 0 0 74px;
  font-weight: 600;
}

.intro-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 56px;
}

.intro-list li {
  display: flex;
  align-items: flex-start;
}

.intro-item {
  padding: 2px 0;
}

.intro-icon {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.intro-text {
  flex: 1;
}

.icon-circle {
  font-size: 10px;
  margin-top: 6px;
  color: #ffb24b;
}

.item-title {
  line-height: 1;
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 500;
  padding-left: 20px;
  box-sizing: border-box;
}
.item-desc{
  display: flex;
  flex-direction: column;
}
.item-desc p {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1;
  opacity: 0.9;
  margin-bottom: 0;
}



/* 右侧表单 */

.form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  position: relative;
}

.form-inner {
  width: 480px;
  max-width: 90%;
}

.welcome-title {
  margin: 0 0 106px;
  font-size: 38px;
  font-weight: 600;
  color: #1f2933;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-item {
  display: flex;
  flex-direction: column;
  /* gap: 6px; */
}

.form-item label {
  font-size: 16px;
  color: #000000;
  margin-bottom: 6px;
}

.form-item input {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  height: 42px;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
  line-height: 1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-item input:focus {
  border-color: #047857;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.input-password-wrapper {
  position: relative;
}

.input-password-wrapper input {
  width: 100%;
  padding-right: 34px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle img {
  width: 16px;
  height: 10px;
}

/* 验证码行 */

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  align-items: center;
}

.captcha-left {
  display: flex;
  flex-direction: column;
}

.captcha-row .captcha-left-bottom input {
  border-radius: 8px;
  border: none;
  height: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  flex: 1;
  line-height: 1;
}

.captcha-left-yzm{
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 42px;
  display: flex;
  align-items: center;
  flex: 1;
}

.captcha-left-bottom{
  display: flex;
  align-items: center;
}

.captcha-image-wrapper {
  min-width: 100px;
  height: 38px;
  border-radius: 4px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.captcha-image {
  max-height: 100%;
}

.captcha-refresh {
  color: #6b7280;
  font-size: 13px;
  margin-left: 32px;
}

/* 登录按钮 */

.primary-btn {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  border-radius: 8px;
  border: none;
  background: #065f46;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease,
    transform 0.05s ease;
}

.primary-btn:hover {
  background: #047857;
  box-shadow: 0 8px 20px rgba(4, 120, 87, 0.25);
}

.primary-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
}

/* 页脚 */

.page-footer {
  margin-top: 32px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
}

/* 响应式 */

@media (max-width: 960px) {
  .intro-panel {
    display: none;
  }

  .form-panel {
    padding: 40px 16px;
    background: linear-gradient(135deg, #f5f6fa, #e5e7eb);
  }

  .form-inner {
    background: #ffffff;
    padding: 24px 20px 28px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }
}

@media (max-width: 480px) {
  .captcha-row {
    grid-template-columns: 1fr;
  }

  .captcha-box {
    width: 100%;
  }

  .captcha-refresh {
    justify-self: flex-end;
  }
}
