* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cyber-login {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    z-index: 1;
}

.login-container {
    background: rgba(23, 23, 23, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.login-header h1 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cyber-line {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.2), 
        rgba(0, 255, 255, 0.5), 
        rgba(0, 255, 255, 0.2), 
        transparent
    );
    position: relative;
    overflow: hidden;
}

.cyber-line::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.8), 
        transparent
    );
    animation: cyber-line 2s linear infinite;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group .layui-input {
    background: rgba(23, 23, 23, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.1);
    height: 50px;
    color: #fff;
    padding-left: 45px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-group .layui-input:focus {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.input-group .layui-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 255, 255, 0.5);
    font-size: 20px;
    z-index: 1;
}

.remember-group {
    margin: 20px 0;
}

.layui-form-checkbox[lay-skin=primary] span {
    color: rgba(255, 255, 255, 0.7);
}

.layui-form-checkbox[lay-skin=primary]:hover i {
    border-color: rgba(0, 255, 255, 0.8);
}

.login-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(45deg, #006064, #00BCD4);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(45deg, #00838F, #00E5FF);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cyber-btn-border {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    animation: btn-shine 3s linear infinite;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: rgba(0, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: rgba(0, 255, 255, 1);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cyber-circles div {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.1);
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    animation: rotate 25s linear infinite reverse;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -75px;
    animation: rotate 15s linear infinite;
}

@keyframes cyber-line {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes btn-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 移动端适配 */
@media (max-width: 480px) {
    .cyber-login {
        padding: 10px;
    }

    .login-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.8em;
    }

    .cyber-circles div {
        display: none;
    }
} 