/* ログイン - login.css */
.header-login-inner {
  background: linear-gradient(90deg, #ffe2cf 10%, #fb5f00 65%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.header-login-top .header-phone { color: #fff; }
.header-login-top .btn-login { background: #000; color: #fff; padding: 7px 12px; border-radius: 6px; font-weight: 700; }
.header-login-top .btn-login.active { background: #fb5f00; }
.header-login-top .btn-cart-nav {
  background: #000;
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 17px;
}
.main-nav-login { background: #fff; border-bottom: 1px solid #ddd; }
.nav-list-login .nav-item a.active { border-bottom: 4px solid #fb5f00; }

.login-main {
  padding: 60px 0 80px;
  background: #fff;
  min-height: 60vh;
}
.login-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #1e1e1e;
  margin: 0 0 40px;
}

.login-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.login-form {
  background: rgba(126,126,126,0.08);
  padding: 32px;
  border-radius: 4px;
}
.login-form .form-row {
  margin-bottom: 24px;
}
.login-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #3c3c3c;
  margin-bottom: 8px;
}
.login-form .required { color: #3c3c3c; }
.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
}
.password-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}
.password-wrap input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  border: none !important;
  border-radius: 0 !important;
  padding-right: 4px;
}
.btn-toggle-password {
  flex: 0 0 48px;
  width: 48px;
  height: 100%;
  min-height: 42px;
  background: transparent;
  border: none;
  border-left: 1px solid #eee;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s ease;
  position: relative;
}
.btn-toggle-password:hover {
  color: #fb5f00;
}
.btn-toggle-password:focus {
  outline: none;
}
.btn-toggle-password:focus-visible {
  outline: 2px solid #fb5f00;
  outline-offset: -2px;
}
/* 两个图标重叠在同一位置，仅切换显示，避免按钮尺寸变化导致输入框被挤压 */
.password-wrap .icon-password-hide,
.password-wrap .icon-password-show {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 0;
}
.password-wrap .icon-password-show {
  visibility: hidden;
  pointer-events: none;
}
.password-wrap.is-visible .icon-password-hide {
  visibility: hidden;
  pointer-events: none;
}
.password-wrap.is-visible .icon-password-show {
  visibility: visible;
  pointer-events: auto;
}
.btn-toggle-password svg {
  width: 22px;
  height: 22px;
  display: block;
}

.btn-login-submit {
  width: 100%;
  background: #fb5f00;
  color: #fff;
  border: 1px solid #fb5f00;
  padding: 12px;
  font-size: 14px;
  border-radius: 99px;
  cursor: pointer;
  margin-bottom: 12px;
}
.btn-login-submit:hover { opacity: 0.9; }

.login-forgot {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #000;
  text-decoration: underline;
  margin-bottom: 20px;
}
.login-forgot:hover { color: #fb5f00; }

.btn-register {
  display: block;
  width: 100%;
  text-align: center;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
  padding: 12px;
  font-size: 14px;
  border-radius: 99px;
  cursor: pointer;
}
.btn-register:hover { opacity: 0.9; }
