/* 认证组件基础样式 */
.auth-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 按钮样式 */
.auth-widget.logged-out,
.auth-widget-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login,
.btn-register,
.btn-logout {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-login {
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.btn-login:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* 已登录状态 */
.auth-widget.logged-in .user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-widget.logged-in .user-name {
    font-size: 14px;
    color: #333;
}

.btn-logout {
    background: #f5f5f5;
    color: #666;
}

.btn-logout:hover {
    background: #e5e5e5;
}
