/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at 50% 50%, #1a2434 0%, #0f172a 100%);
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景粒子效果 - 添加 pointer-events: none */
.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none; /* 确保粒子不干扰点击事件 */
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    25% { transform: translateY(-50px) translateX(20px) scale(1.1); }
    50% { transform: translateY(0) translateX(50px) scale(0.9); }
    75% { transform: translateY(50px) translateX(20px) scale(1.05); }
}

.system-title {
    width: 650px;
    margin: 0 auto;
    margin-top: 10%;
    text-align: center;
}

.system-title p {
    font-size: 26px;
    color: #e6e8f0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(12, 192, 223, 0.3);
}

.system-title p::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0CC0DF, transparent);
}

/* 毛玻璃效果容器 */
.login_container {
    width: 500px;
    margin: 0 auto;
    padding: 10px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10; /* 提高容器层级 */
}

.login_container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: slide 6s infinite linear;
    pointer-events: none; /* 确保背景动画不干扰点击 */
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.login_container:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 15px rgba(12, 192, 223, 0.3);
}

/* 按钮样式 */
.btn {
    height: 40px;
    margin: 0;
    padding: 0 60px;
    vertical-align: middle;
    background: linear-gradient(90deg, #165DFF, #0CC0DF);
    border: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 40px;
    color: #fff;
    border-radius: 4px;
    text-shadow: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(12, 192, 223, 0.2);
    z-index: 1; /* 确保按钮在顶层 */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 192, 223, 0.4);
}

.btn:active {
    transform: translateY(1px);
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
    pointer-events: none; /* 确保按钮光效不干扰点击 */
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* 标题和输入区域 */
.login-title span {
    font-size: 16px;
    display: inline-block;
    color: white;
    padding: 15px 20px 20px 20px;
    position: relative;
}

.login-title span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: 0;
    height: 2px;
    background: #0CC0DF;
    transition: width 0.3s ease;
}

.login-title span:hover::after,
.login-title span.active::after {
    width: calc(100% - 40px);
}

.login-input {
    padding: 0 20px 20px 20px;
}

/* 输入框样式 */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-size: 14px !important;
    transition: all 0.3s ease;
    z-index: 1; /* 确保输入框在顶层 */
}

.input-group input:focus {
    outline: none;
    border-color: #0CC0DF;
    box-shadow: 0 0 8px rgba(12, 192, 223, 0.3);
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 10px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.8);
    padding: 0 5px;
    color: #0CC0DF;
}

/* 链接样式 */
.a-link, .fot-a-link {
    margin: 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block; /* 确保链接可点击 */
}

.fot-a-link {
    margin-right: 30px;
    margin-top: 10px;
}

.a-link:hover, .fot-a-link:hover {
    color: #0CC0DF;
}

.a-link::after, .fot-a-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0CC0DF;
    transition: width 0.3s ease;
}

.a-link:hover::after, .fot-a-link:hover::after {
    width: 100%;
}

/* 验证码按钮 */
.sms-btnGet, .btnGet {
    position: absolute;
    right: 20px;
    top: 3px;
    display: inline-block;
    background: linear-gradient(90deg, #165DFF, #0CC0DF);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2; /* 确保按钮在顶层 */
}

.sms-btnGet:hover, .btnGet:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 微信登录 */
.wxStyle {
    color: #e8e8e8;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 50px;
    transition: all 0.3s ease;
    display: inline-block; /* 确保链接可点击 */
}

.wxStyle:hover {
    color: #21b351;
    text-shadow: 0 0 8px rgba(33, 179, 81, 0.3);
}

/* 底部信息 */
.footer {
    position: fixed;
    width: 100%;
    bottom: 0px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 36px;
    line-height: 36px;
    text-align: center;
}

/* 记住我复选框 */
.checkbox-remember {
    font-size: 14px;
    line-height: 20px;
    float: right;
    margin-top: 10px;
    margin-right: 60px;
    z-index: 1; /* 确保复选框在顶层 */
}

.checkbox-remember input[type=checkbox] {
    display: none;
}

.checkbox-remember input[type=checkbox] + label {
    display: flex;
    cursor: pointer;
    align-items: center;
}

.checkbox-remember input[type=checkbox] + label:before {
    line-height: 1;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    content: '';
    -webkit-transition: all .2s;
    transition: all .2s;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.05);
}

.checkbox-remember input[type=checkbox]:checked + label:before {
    border: 1px solid #0CC0DF;
    background-color: #0CC0DF;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="10"><path d="M4.5 8.5L1 5l1.5-1.5L4.5 5.5 8.5 1.5 10 3z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: center center;
}    