html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", sans-serif;
    overflow: hidden; /* 禁止默认滚动，交给 Swiper 控制 */
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

body::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

form {
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="file"],
form select {
    width: 100%;
    height: 40px;
    border: 2px solid rgba(15, 13, 13, 0.2);
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 0px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* 登录 */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('../../images/images/loginbg.jpg') no-repeat center center/cover;
}

.login-form {
    background: rgba(255, 255, 255, 0.5); /* 半透明白色背景 */
    backdrop-filter: blur(3px);          /* 磨砂模糊效果 */
    -webkit-backdrop-filter: blur(15px);  /* 兼容 Safari */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* 加深阴影，让玻璃感更明显 */
    text-align: center;
    padding: 20px 80px 60px;
    width: 350px;
    border: 4px solid rgba(255, 255, 255, 0.3); /* 微弱的白色边框增强玻璃感 */
    position: relative; /* 为返回按钮提供定位参考 */
}

/* 返回按钮样式 */
.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0); /* 透明背景 */
    border: 2px solid black;      /* 加黑色边框 */
    border-radius: 50%;           /* 圆形 */
    color: black;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}


.back-button:hover {
    background: rgba(255, 123, 0, 0.8);
    transform: scale(1.1);
}

.back-button:active {
    transform: scale(0.95);
}

.reset-password-form .back-button:hover {
    background: rgba(255, 123, 0, 0.8);
    transform: scale(1.1);
}

.reset-password-form .back-button:active {
    transform: scale(0.95);
}

.login-form label.input-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
}

.login-form h2 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    color: black;
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 8px;
    margin-top: 20px;
    background: linear-gradient(to right, #ff8c00 20%, #ffd700);
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(223, 121, 5, 0.8);
    font-size: 18px;
    cursor: pointer;
}

.login-form button[type="submit"]:hover {
    background: linear-gradient(to right, #FF5C00, #ffcc00);
}

.login-form .link {
    text-align: center;
    margin-top: 3px;
    font-size: 14px;
}

.login-form .link a {
    color: black; /* 文字颜色 */
    text-decoration: none;
    border: 1px solid #ff8c00; /* 橙色边框 */
    padding: 4px 24px;            /* 内边距，让边框和文字有间距 */
    border-radius: 5px;         /* 圆角边框，可调整 */
    transition: all 0.3s ease;  /* 添加过渡动画 */
    font-size: 14px;
}

.login-form .link a:hover {
    color: white; /* 文字颜色 */
    background-color: #ff8c00;
    border: 1px solid #ff8c00; /* 橙色边框 */  
}

.form-links {
    display: flex;
    justify-content: space-between; /* 左右分开 */
    align-items: center;
    margin-top: 0px;
}

.form-links .link {
    text-align: left; /* 左边文字靠左 */
}

.form-links .forgot-password {
    text-align: right; /* 右边文字靠右 */
}

.form-links a {
    color: #FF5C00;
    text-decoration: none;
    font-size: 14px;
}

.form-divider {
    border: none; /* 去掉默认边框 */
    height: 2px;  /* 横线整体高度 */
    background: linear-gradient(to right, 
        transparent,          /* 左边透明 */
        #001F54 50%,          /* 中间深蓝色 */
        transparent);         /* 右边透明 */
    margin: 20px 0;           /* 上下留白 */
    border-radius: 3px;       /* 让渐变线圆润 */
}

/* 记住我 */
.remember-me {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  gap: 6px;
  line-height: 1;
  cursor: pointer;
  margin: 0px;
}

.remember-me input[type="checkbox"] {
  appearance: none !important;
  width: 34px !important;
  height: 18px !important;
  background-color: #ccc;
  border-radius: 16px !important;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0;
  vertical-align: middle;
  padding: 0 !important;
}

.remember-me input[type="checkbox"]:checked {
  background-color: #007bff;
}

.remember-me input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: white;
  top: 1.5px;
  left: 3px;
  transition: transform 0.3s;
}

.remember-me input[type="checkbox"]:checked::before {
  transform: translateX(13px);
}

/* 忘记密码 */
.forgot-password a {
  font-size: 14px;
  color: black;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* 密码容器 */
.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    height: 40px;
    border: 2px solid rgba(15, 13, 13, 0.2);
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 0px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.password-container input:focus {
    border-radius: 6px;
    outline: none; /* 可选：去掉蓝色外边框 */
}

.login-form .eye-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 14px;     /* 更小的尺寸 */
    height: 10px;
    cursor: pointer;
    opacity: 0.7;
}

.eye-icon:hover {
    opacity: 1;
    border-radius: 10px;
}

/* form-options：让"记住我"和"忘记密码"在一行两侧 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 0 0;
    padding: 0;
}