/* ==========================================================================
   登录界面样式
   ========================================================================== */
/**
 * 微信风格登录界面样式
 * @selector #login - 登录界面容器
 * @selector .login-container - 登录内容容器
 * @selector .login-header - 登录头部区域
 * @selector .app-logo - 应用logo样式
 * @selector .app-name - 应用名称样式
 * @selector .login-form - 登录表单容器
 * @selector .nickname-input - 昵称输入框
 * @selector .login-button - 登录按钮
 * @selector .login-footer - 登录页脚
 */

#login {
    display: none;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #07c160 0%, #38d186 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 60px;
}

.app-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: white;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.05);
}

.app-name {
    color: white;
    font-size: 28px;
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 2px;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.nickname-input {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nickname-input:focus,
.password-input:focus {
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.nickname-input::placeholder,
.password-input::placeholder {
    color: #999;
}

.password-input {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-button {
    width: 100%;
    height: 50px;
    background: white;
    border: none;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

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

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}