* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-image: url(./img/20220408003707_94a54.gif);
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

img{
    margin-top: 10px;
    width: 200px;
    height: 240px;
    border-radius: 75px;
    
}

.container {
    width: 100%;
    max-width: 1000px;
}

.login-box {
    background: rgb(255, 255, 255,0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    overflow: hidden;
    min-height: 600px;
    
}

/* 左侧样式 */
.left-section {
    flex: 1;
    background: linear-gradient(135deg, #70cee0ca 10%, #39dc85 90%);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.illustration {
    width: 250px;
    height: 250px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 右侧样式 */
.right-section {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 10px;
    color: #4776E6;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5ee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #4776E6;
    background: white;
    box-shadow: 0 0 0 3px rgba(71, 118, 230, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
}

.toggle-password:hover {
    color: #4776E6;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #555;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #4776E6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #8E54E9;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #a3f9d1ca 10%, #71ebaa 90%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(71, 118, 230, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #999;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid #e1e5ee;
    border-radius: 10px;
    background: white;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-btn:hover {
    border-color: #4776E6;
    transform: translateY(-1px);
}

.social-btn.google:hover {
    background: #f8f9fa;
}

.social-btn.github:hover {
    background: #f8f9fa;
}

.register-link {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.register-link a {
    color: #4776E6;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

.notification {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .login-box {
        flex-direction: column;
        min-height: auto;
    }
    
    .left-section {
        padding: 30px 20px;
    }
    
    .right-section {
        padding: 30px 20px;
    }
    
    .illustration {
        font-size: 6rem;
    }
    
    .social-login {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}