* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 90px;
    margin-bottom: 15px;
}

h1 {
    color: #333;
    font-size: 24px;
    font-weight: 500;
}

.error-message {
    color: #ff4444;
    background-color: rgba(255, 68, 68, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    /*display: none;*/
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    background: transparent;
    transition: 0.3s;
}

label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #666;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s;
}

input:focus ~ label,
input:valid ~ label {
    top: -20px;
    font-size: 12px;
    color: #1a2a6c;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a2a6c;
    transition: 0.4s;
}

input:focus ~ .focus-border {
    width: 100%;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.remember-me label {
    position: static;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    pointer-events: auto;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #1a2a6c, #b21f1f);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.input-group.error input {
    border-bottom-color: #ff4444;
}

.input-group.error label {
    color: #ff4444;
}

.input-group.error .focus-border {
    background: #ff4444;
}

.wechat-login {
    /*display: none;*/
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.divider {
    display: flex;
    align-items: center;
    width: 100%;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 10px;
}

.wechat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #07C160;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.wechat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wechat-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.links {
    display: flex;
    justify-content: space-between;
}

.links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.links a:hover {
    color: #1a2a6c;
} 