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 */
}


/* 重设密码 */
.reset-password-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('../../images/images/loginbg.jpg') no-repeat center center/cover;
}

.reset-password-form {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(15px);
    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);
}

form.reset-password-form input[type="text"],
form select {
    width: 100%;
    height: 40px;
    padding: clamp(4px, 0.42vw, 8px) clamp(6px, 0.625vw, 12px);
    border: 2px solid rgba(15, 13, 13, 0.2);
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.reset-password-form h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px; /* 减少标题下边距 */
    color: black;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.reset-password-form input {
    width: 100%;
    padding: clamp(4px, 0.42vw, 8px) clamp(6px, 0.625vw, 12px);
    border: 2px solid rgba(15, 13, 13, 0.2);
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 10px; /* 减少上边距，从20px改为10px */
    margin-bottom: 0px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.reset-password-form button[type="submit"] {
    width: 100%;
    padding: 8px;
    margin-top: 15px; /* 减少按钮上边距 */
    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: clamp(14px, 0.94vw, 18px);
    cursor: pointer;
}

.reset-password-form button:hover {
    background-color: #e65400;
}

.reset-password-form .hidden {
    display: none;
}

.password-note {
    font-size: 10px;
    color: black;
    margin: 5px 0 5px 0;
    text-align: left;
    line-height: 1.4;
}

.code-input-container {
    margin-top: 10px; /* 减少上边距，从16px改为10px */
    display: flex;
    border: 2px solid rgba(15, 13, 13, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0px;
    background: white;
    width: 100%;
    box-sizing: border-box;
    height: 40px;
}

.code-input-container input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 0 16px; /* 移除上下内边距 */
    outline: none;
    margin: 0; /* 移除所有外边距 */
    background: transparent;
    box-sizing: border-box;
    height: 100%; /* 让输入框高度填满容器 */
}

.code-input-container input:focus {
    outline: none;
}

.code-input-container #sendCodeBtn {
    background: linear-gradient(to right, #ff8c00 35%, #ffd700) !important;
    color: white !important;
    border: none !important;
    border-left: 1px solid #ddd !important;
    padding: 0 16px !important; /* 移除上下内边距 */
    font-size: 14px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    min-width: 100px !important;
    border-radius: 0 !important;
    width: auto !important;
    margin: 0 !important; /* 移除所有外边距 */
    height: 100% !important; /* 让按钮高度填满容器 */
}

.code-input-container #sendCodeBtn:hover {
    background: linear-gradient(to right, #FF5C00, #ffcc00) !important;
}

.code-input-container #sendCodeBtn:disabled {
    background: #f0f0f0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border-left: 1px solid #ddd !important;
}

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

.password-container input {
    width: 100%;
    height: 40px;
    padding: clamp(4px, 0.42vw, 8px) clamp(6px, 0.625vw, 12px);
    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; /* 可选：去掉蓝色外边框 */
}

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

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

/* 提示消息 */
#message {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

form h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: clamp(16px, 1.15vw, 22px);
    text-align: center;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

form label {
    margin-top: 8px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #444;
    font-size: clamp(10px, 0.8vw, 16px);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="file"],
form select {
    width: 100%;
    height: 40px;
    padding: clamp(4px, 0.42vw, 8px) clamp(6px, 0.625vw, 12px);
    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;
}

form input:focus,
form select:focus {
    outline: none;
    border-color: #fab259;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
    background: rgba(255, 255, 255, 0.95);
}